Home
last modified time | relevance | path

Searched refs:remote_ah_attr (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_ruc.c49 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()
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()
235 rdma_ah_get_path_bits(&qp->remote_ah_attr)); in qib_make_ruc_header()
[all …]
H A Dqib_uc.c77 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()
H A Dqib_rc.c233 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()
H A Dqib_qp.c451 rdma_ah_get_dlid(&qp->remote_ah_attr)); in qib_qp_iter_print()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Druc.c32 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()
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()
340 rdma_ah_read_grh(&qp->remote_ah_attr), in hfi1_make_ruc_header_9B()
346 (rdma_ah_get_sl(&qp->remote_ah_attr) & 0xf) << 4; in hfi1_make_ruc_header_9B()
[all …]
H A Dqp.c209 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()
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()
812 sc = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; in mtu_from_qp()
[all …]
H A Duc.c57 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()
H A Drc.c418 if (rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) in hfi1_make_rc_req()
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()
1299 rdma_ah_read_grh(&qp->remote_ah_attr), in hfi1_make_rc_ack_16B()
1313 (rdma_ah_get_path_bits(&qp->remote_ah_attr) & in hfi1_make_rc_ack_16B()
1315 opa_get_lid(rdma_ah_get_dlid(&qp->remote_ah_attr), in hfi1_make_rc_ack_16B()
1351 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; in hfi1_send_rc_ack()
1855 u8 sl = rdma_ah_get_sl(&qp->remote_ah_attr); in do_rc_completion()
[all …]
H A Ddriver.c453 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()
H A Dverbs.c1924 rlid = rdma_ah_get_dlid(&qp->remote_ah_attr); in hfi1_cnp_rcv()
1929 rlid = rdma_ah_get_dlid(&qp->remote_ah_attr); in hfi1_cnp_rcv()
H A Dtid_rdma.c3291 if ((rdma_ah_get_dlid(&qp->remote_ah_attr) & ~((1 << ppd->lmc) - 1)) == in setup_tid_rdma_wqe()
/openbmc/linux/drivers/infiniband/sw/rdmavt/
H A Dqp.c1585 rdma_replace_ah_attr(&qp->remote_ah_attr, &attr->ah_attr); in rvt_modify_qp()
1598 qp->remote_ah_attr = qp->alt_ah_attr; in rvt_modify_qp()
1702 rdma_destroy_ah_attr(&qp->remote_ah_attr); in rvt_destroy_qp()
1739 attr->ah_attr = qp->remote_ah_attr; in rvt_query_qp()
3123 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr) & U16_MAX; in rvt_ruc_loopback()
3124 wc.sl = rdma_ah_get_sl(&qp->remote_ah_attr); in rvt_ruc_loopback()
/openbmc/linux/include/rdma/
H A Drdmavt_qp.h336 struct rdma_ah_attr remote_ah_attr; member