Searched refs:remote_ah_attr (Results 1 – 13 of 13) sorted by relevance
/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_ruc.c | 49 qp->remote_ah_attr = qp->alt_ah_attr; in qib_migrate_qp() 129 if (rdma_ah_get_ah_flags(&qp->remote_ah_attr) & in qib_ruc_check_hdr() 135 if (!(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & in qib_ruc_check_hdr() 138 grh = rdma_ah_read_grh(&qp->remote_ah_attr); in qib_ruc_check_hdr() 159 rdma_ah_get_dlid(&qp->remote_ah_attr) || in qib_ruc_check_hdr() 219 if (unlikely(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH)) { in qib_make_ruc_header() 222 rdma_ah_read_grh(&qp->remote_ah_attr), in qib_make_ruc_header() 226 lrh0 |= ibp->sl_to_vl[rdma_ah_get_sl(&qp->remote_ah_attr)] << 12 | in qib_make_ruc_header() 227 rdma_ah_get_sl(&qp->remote_ah_attr) << 4; in qib_make_ruc_header() 230 cpu_to_be16(rdma_ah_get_dlid(&qp->remote_ah_attr)); in qib_make_ruc_header() [all …]
|
D | qib_uc.c | 77 if (rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) in qib_make_uc_req() 396 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr); in qib_uc_rcv() 397 wc.sl = rdma_ah_get_sl(&qp->remote_ah_attr); in qib_uc_rcv()
|
D | qib_rc.c | 233 if (rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) in qib_make_rc_req() 628 if (unlikely(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & in qib_send_rc_ack() 631 rdma_ah_read_grh(&qp->remote_ah_attr), in qib_send_rc_ack() 646 lrh0 |= ibp->sl_to_vl[rdma_ah_get_sl(&qp->remote_ah_attr)] << 12 | in qib_send_rc_ack() 647 rdma_ah_get_sl(&qp->remote_ah_attr) << 4; in qib_send_rc_ack() 649 hdr.lrh[1] = cpu_to_be16(rdma_ah_get_dlid(&qp->remote_ah_attr)); in qib_send_rc_ack() 652 rdma_ah_get_path_bits(&qp->remote_ah_attr)); in qib_send_rc_ack() 1883 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr); in qib_rc_rcv() 1884 wc.sl = rdma_ah_get_sl(&qp->remote_ah_attr); in qib_rc_rcv()
|
D | qib_qp.c | 451 rdma_ah_get_dlid(&qp->remote_ah_attr)); in qib_qp_iter_print()
|
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | ruc.c | 32 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; in hfi1_ruc_check_hdr() 78 if ((rdma_ah_get_ah_flags(&qp->remote_ah_attr) & in hfi1_ruc_check_hdr() 85 if (!(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & in hfi1_ruc_check_hdr() 88 grh = rdma_ah_read_grh(&qp->remote_ah_attr); in hfi1_ruc_check_hdr() 106 if ((slid != rdma_ah_get_dlid(&qp->remote_ah_attr)) || in hfi1_ruc_check_hdr() 250 if (unlikely(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) && in hfi1_make_ruc_header_16B() 251 hfi1_check_mcast(rdma_ah_get_dlid(&qp->remote_ah_attr))) { in hfi1_make_ruc_header_16B() 254 rdma_ah_retrieve_grh(&qp->remote_ah_attr); in hfi1_make_ruc_header_16B() 294 (rdma_ah_get_path_bits(&qp->remote_ah_attr) & in hfi1_make_ruc_header_16B() 299 opa_get_lid(rdma_ah_get_dlid(&qp->remote_ah_attr), in hfi1_make_ruc_header_16B() [all …]
|
D | qp.c | 209 hfi1_update_ah_attr(qp->ibqp.device, &qp->remote_ah_attr); in qp_set_16b() 212 hfi1_make_opa_lid(&qp->remote_ah_attr); in qp_set_16b() 214 if (!(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH)) in qp_set_16b() 219 priv->hdr_type = hfi1_get_hdr_type(ppd->lid, &qp->remote_ah_attr); in qp_set_16b() 229 priv->s_sc = ah_to_sc(ibqp->device, &qp->remote_ah_attr); in hfi1_modify_qp() 239 priv->s_sc = ah_to_sc(ibqp->device, &qp->remote_ah_attr); in hfi1_modify_qp() 642 rdma_ah_get_dlid(&qp->remote_ah_attr), in qp_iter_print() 643 rdma_ah_get_sl(&qp->remote_ah_attr), in qp_iter_print() 780 qp->remote_ah_attr = qp->alt_ah_attr; in hfi1_migrate_qp() 784 priv->s_sc = ah_to_sc(qp->ibqp.device, &qp->remote_ah_attr); in hfi1_migrate_qp() [all …]
|
D | uc.c | 57 if (rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) in hfi1_make_uc_req() 64 if ((rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) && in hfi1_make_uc_req() 65 (hfi1_check_mcast(rdma_ah_get_dlid(&qp->remote_ah_attr)))) in hfi1_make_uc_req() 414 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr) & U16_MAX; in hfi1_uc_rcv() 426 wc.sl = rdma_ah_get_sl(&qp->remote_ah_attr); in hfi1_uc_rcv()
|
D | rc.c | 418 if (rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) in hfi1_make_rc_req() 425 if ((rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) && in hfi1_make_rc_req() 426 (hfi1_check_mcast(rdma_ah_get_dlid(&qp->remote_ah_attr)))) in hfi1_make_rc_req() 1239 if (unlikely(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH)) { in hfi1_make_rc_ack_9B() 1241 rdma_ah_read_grh(&qp->remote_ah_attr), in hfi1_make_rc_ack_9B() 1253 (rdma_ah_get_sl(&qp->remote_ah_attr) & IB_SL_MASK) << in hfi1_make_rc_ack_9B() 1257 opa_get_lid(rdma_ah_get_dlid(&qp->remote_ah_attr), 9B), in hfi1_make_rc_ack_9B() 1258 ppd->lid | rdma_ah_get_path_bits(&qp->remote_ah_attr)); in hfi1_make_rc_ack_9B() 1296 if (unlikely(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) && in hfi1_make_rc_ack_16B() 1297 hfi1_check_mcast(rdma_ah_get_dlid(&qp->remote_ah_attr))) { in hfi1_make_rc_ack_16B() [all …]
|
D | driver.c | 453 rlid = rdma_ah_get_dlid(&qp->remote_ah_attr); in hfi1_process_ecn_slowpath() 458 rlid = rdma_ah_get_dlid(&qp->remote_ah_attr); in hfi1_process_ecn_slowpath()
|
D | verbs.c | 1941 rlid = rdma_ah_get_dlid(&qp->remote_ah_attr); in hfi1_cnp_rcv() 1946 rlid = rdma_ah_get_dlid(&qp->remote_ah_attr); in hfi1_cnp_rcv()
|
D | tid_rdma.c | 3291 if ((rdma_ah_get_dlid(&qp->remote_ah_attr) & ~((1 << ppd->lmc) - 1)) == in setup_tid_rdma_wqe()
|
/linux-6.1.9/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 1587 rdma_replace_ah_attr(&qp->remote_ah_attr, &attr->ah_attr); in rvt_modify_qp() 1600 qp->remote_ah_attr = qp->alt_ah_attr; in rvt_modify_qp() 1704 rdma_destroy_ah_attr(&qp->remote_ah_attr); in rvt_destroy_qp() 1741 attr->ah_attr = qp->remote_ah_attr; in rvt_query_qp() 3125 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr) & U16_MAX; in rvt_ruc_loopback() 3126 wc.sl = rdma_ah_get_sl(&qp->remote_ah_attr); in rvt_ruc_loopback()
|
/linux-6.1.9/include/rdma/ |
D | rdmavt_qp.h | 336 struct rdma_ah_attr remote_ah_attr; member
|