Searched refs:remote_ah_attr (Results 1 – 12 of 12) sorted by relevance
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | ruc.c | 74 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; in hfi1_ruc_check_hdr() 120 if ((rdma_ah_get_ah_flags(&qp->remote_ah_attr) & in hfi1_ruc_check_hdr() 127 if (!(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & in hfi1_ruc_check_hdr() 130 grh = rdma_ah_read_grh(&qp->remote_ah_attr); in hfi1_ruc_check_hdr() 148 if ((slid != rdma_ah_get_dlid(&qp->remote_ah_attr)) || in hfi1_ruc_check_hdr() 401 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr) & U16_MAX; in ruc_loopback() 402 wc.sl = rdma_ah_get_sl(&qp->remote_ah_attr); in ruc_loopback() 619 if (unlikely(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) && in hfi1_make_ruc_header_16B() 620 hfi1_check_mcast(rdma_ah_get_dlid(&qp->remote_ah_attr))) { in hfi1_make_ruc_header_16B() 623 rdma_ah_retrieve_grh(&qp->remote_ah_attr); in hfi1_make_ruc_header_16B() [all …]
|
D | qp.c | 247 hfi1_update_ah_attr(qp->ibqp.device, &qp->remote_ah_attr); in qp_set_16b() 250 hfi1_make_opa_lid(&qp->remote_ah_attr); in qp_set_16b() 252 if (!(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH)) in qp_set_16b() 257 priv->hdr_type = hfi1_get_hdr_type(ppd->lid, &qp->remote_ah_attr); in qp_set_16b() 267 priv->s_sc = ah_to_sc(ibqp->device, &qp->remote_ah_attr); in hfi1_modify_qp() 277 priv->s_sc = ah_to_sc(ibqp->device, &qp->remote_ah_attr); in hfi1_modify_qp() 594 rdma_ah_get_dlid(&qp->remote_ah_attr), in qp_iter_print() 595 rdma_ah_get_sl(&qp->remote_ah_attr), in qp_iter_print() 717 qp->remote_ah_attr = qp->alt_ah_attr; in hfi1_migrate_qp() 721 priv->s_sc = ah_to_sc(qp->ibqp.device, &qp->remote_ah_attr); in hfi1_migrate_qp() [all …]
|
D | uc.c | 98 if (rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) in hfi1_make_uc_req() 105 if ((rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) && in hfi1_make_uc_req() 106 (hfi1_check_mcast(rdma_ah_get_dlid(&qp->remote_ah_attr)))) in hfi1_make_uc_req() 459 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr) & U16_MAX; in hfi1_uc_rcv() 471 wc.sl = rdma_ah_get_sl(&qp->remote_ah_attr); in hfi1_uc_rcv()
|
D | rc.c | 280 if (rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) in hfi1_make_rc_req() 287 if ((rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) && in hfi1_make_rc_req() 288 (hfi1_check_mcast(rdma_ah_get_dlid(&qp->remote_ah_attr)))) in hfi1_make_rc_req() 774 if (unlikely(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH)) { in hfi1_make_rc_ack_9B() 776 rdma_ah_read_grh(&qp->remote_ah_attr), in hfi1_make_rc_ack_9B() 788 (rdma_ah_get_sl(&qp->remote_ah_attr) & IB_SL_MASK) << in hfi1_make_rc_ack_9B() 792 opa_get_lid(rdma_ah_get_dlid(&qp->remote_ah_attr), 9B), in hfi1_make_rc_ack_9B() 793 ppd->lid | rdma_ah_get_path_bits(&qp->remote_ah_attr)); in hfi1_make_rc_ack_9B() 826 if (unlikely(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) && in hfi1_make_rc_ack_16B() 827 hfi1_check_mcast(rdma_ah_get_dlid(&qp->remote_ah_attr))) { in hfi1_make_rc_ack_16B() [all …]
|
D | driver.c | 478 rlid = rdma_ah_get_dlid(&qp->remote_ah_attr); in hfi1_process_ecn_slowpath() 483 rlid = rdma_ah_get_dlid(&qp->remote_ah_attr); in hfi1_process_ecn_slowpath()
|
D | verbs.c | 2025 rlid = rdma_ah_get_dlid(&qp->remote_ah_attr); in hfi1_cnp_rcv() 2030 rlid = rdma_ah_get_dlid(&qp->remote_ah_attr); in hfi1_cnp_rcv()
|
/Linux-v4.19/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() 394 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr); in qib_ruc_loopback() 395 wc.sl = rdma_ah_get_sl(&qp->remote_ah_attr); in qib_ruc_loopback() 520 if (unlikely(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH)) { in qib_make_ruc_header() 523 rdma_ah_read_grh(&qp->remote_ah_attr), in qib_make_ruc_header() 527 lrh0 |= ibp->sl_to_vl[rdma_ah_get_sl(&qp->remote_ah_attr)] << 12 | in qib_make_ruc_header() [all …]
|
D | qib_uc.c | 76 if (rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) in qib_make_uc_req() 395 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr); in qib_uc_rcv() 396 wc.sl = rdma_ah_get_sl(&qp->remote_ah_attr); in qib_uc_rcv()
|
D | qib_rc.c | 237 if (rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) in qib_make_rc_req() 638 if (unlikely(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & in qib_send_rc_ack() 641 rdma_ah_read_grh(&qp->remote_ah_attr), in qib_send_rc_ack() 656 lrh0 |= ibp->sl_to_vl[rdma_ah_get_sl(&qp->remote_ah_attr)] << 12 | in qib_send_rc_ack() 657 rdma_ah_get_sl(&qp->remote_ah_attr) << 4; in qib_send_rc_ack() 659 hdr.lrh[1] = cpu_to_be16(rdma_ah_get_dlid(&qp->remote_ah_attr)); in qib_send_rc_ack() 662 rdma_ah_get_path_bits(&qp->remote_ah_attr)); in qib_send_rc_ack() 1907 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr); in qib_rc_rcv() 1908 wc.sl = rdma_ah_get_sl(&qp->remote_ah_attr); in qib_rc_rcv()
|
D | qib_qp.c | 454 rdma_ah_get_dlid(&qp->remote_ah_attr)); in qib_qp_iter_print()
|
/Linux-v4.19/include/rdma/ |
D | rdmavt_qp.h | 276 struct rdma_ah_attr remote_ah_attr; member
|
/Linux-v4.19/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 1340 rdma_replace_ah_attr(&qp->remote_ah_attr, &attr->ah_attr); in rvt_modify_qp() 1353 qp->remote_ah_attr = qp->alt_ah_attr; in rvt_modify_qp() 1463 rdma_destroy_ah_attr(&qp->remote_ah_attr); in rvt_destroy_qp() 1499 attr->ah_attr = qp->remote_ah_attr; in rvt_query_qp()
|