Home
last modified time | relevance | path

Searched refs:rdma_ah_get_dlid (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v4.19/include/rdma/
Dopa_addr.h121 if (!rdma_ah_get_dlid(attr) || in rdma_is_valid_unicast_lid()
122 rdma_ah_get_dlid(attr) >= in rdma_is_valid_unicast_lid()
126 if (!rdma_ah_get_dlid(attr) || in rdma_is_valid_unicast_lid()
127 rdma_ah_get_dlid(attr) >= in rdma_is_valid_unicast_lid()
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_ud.c100 cpu_to_be16(rdma_ah_get_dlid(ah_attr))); in qib_ud_loopback()
215 wc.dlid_path_bits = rdma_ah_get_dlid(ah_attr) & ((1 << ppd->lmc) - 1); in qib_ud_loopback()
280 if (rdma_ah_get_dlid(ah_attr) >= be16_to_cpu(IB_MULTICAST_LID_BASE)) { in qib_make_ud_req()
281 if (rdma_ah_get_dlid(ah_attr) != in qib_make_ud_req()
288 lid = rdma_ah_get_dlid(ah_attr) & ~((1 << ppd->lmc) - 1); in qib_make_ud_req()
356 cpu_to_be16(rdma_ah_get_dlid(ah_attr)); /* DEST LID */ in qib_make_ud_req()
376 ohdr->bth[1] = rdma_ah_get_dlid(ah_attr) >= in qib_make_ud_req()
378 rdma_ah_get_dlid(ah_attr) != be16_to_cpu(IB_LID_PERMISSIVE) ? in qib_make_ud_req()
Dqib_ruc.c120 rdma_ah_get_dlid(&qp->alt_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()
531 cpu_to_be16(rdma_ah_get_dlid(&qp->remote_ah_attr)); in qib_make_ruc_header()
574 (rdma_ah_get_dlid(&qp->remote_ah_attr) & in qib_do_send()
Dqib_qp.c454 rdma_ah_get_dlid(&qp->remote_ah_attr)); in qib_qp_iter_print()
Dqib_uc.c395 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr); in qib_uc_rcv()
Dqib_verbs.c1343 if (rdma_ah_get_dlid(ah_attr) == 0) in qib_check_ah()
1345 if (rdma_ah_get_dlid(ah_attr) >= in qib_check_ah()
1347 rdma_ah_get_dlid(ah_attr) != in qib_check_ah()
Dqib_rc.c659 hdr.lrh[1] = cpu_to_be16(rdma_ah_get_dlid(&qp->remote_ah_attr)); in qib_send_rc_ack()
1907 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr); in qib_rc_rcv()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Druc.c111 if (slid != rdma_ah_get_dlid(&qp->alt_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()
620 hfi1_check_mcast(rdma_ah_get_dlid(&qp->remote_ah_attr))) { in hfi1_make_ruc_header_16B()
668 opa_get_lid(rdma_ah_get_dlid(&qp->remote_ah_attr), in hfi1_make_ruc_header_16B()
738 opa_get_lid(rdma_ah_get_dlid(&qp->remote_ah_attr), 9B), in hfi1_make_ruc_header_9B()
858 if (!loopback && ((rdma_ah_get_dlid(&qp->remote_ah_attr) & in hfi1_do_send()
868 if (!loopback && ((rdma_ah_get_dlid(&qp->remote_ah_attr) & in hfi1_do_send()
Dud.c124 slid, rdma_ah_get_dlid(ah_attr)); in ud_loopback()
274 wc.dlid_path_bits = rdma_ah_get_dlid(ah_attr) & ((1 << ppd->lmc) - 1); in ud_loopback()
370 dlid = opa_get_lid(rdma_ah_get_dlid(ah_attr), 9B); in hfi1_make_ud_req_9B()
433 hfi1_check_mcast(rdma_ah_get_dlid(ah_attr))) { in hfi1_make_ud_req_16B()
463 dlid = opa_get_lid(rdma_ah_get_dlid(ah_attr), 16B); in hfi1_make_ud_req_16B()
539 if ((!hfi1_check_mcast(rdma_ah_get_dlid(ah_attr))) || in hfi1_make_ud_req()
540 (rdma_ah_get_dlid(ah_attr) == be32_to_cpu(OPA_LID_PERMISSIVE))) { in hfi1_make_ud_req()
541 lid = rdma_ah_get_dlid(ah_attr) & ~((1 << ppd->lmc) - 1); in hfi1_make_ud_req()
Duc.c106 (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()
Dhfi.h2253 u32 dlid = rdma_ah_get_dlid(attr); in hfi1_update_ah_attr()
2330 u32 dlid = rdma_ah_get_dlid(attr); in hfi1_make_opa_lid()
2375 if (rdma_ah_get_dlid(attr) == be32_to_cpu(OPA_LID_PERMISSIVE)) in hfi1_get_hdr_type()
2383 if (hfi1_get_packet_type(rdma_ah_get_dlid(attr)) == HFI1_PKT_TYPE_16B) in hfi1_get_hdr_type()
Drc.c288 (hfi1_check_mcast(rdma_ah_get_dlid(&qp->remote_ah_attr)))) in hfi1_make_rc_req()
792 opa_get_lid(rdma_ah_get_dlid(&qp->remote_ah_attr), 9B), in hfi1_make_rc_ack_9B()
827 hfi1_check_mcast(rdma_ah_get_dlid(&qp->remote_ah_attr))) { in hfi1_make_rc_ack_16B()
845 opa_get_lid(rdma_ah_get_dlid(&qp->remote_ah_attr), in hfi1_make_rc_ack_16B()
2217 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr) & U16_MAX; in hfi1_rc_rcv()
Dverbs.c1587 if (hfi1_check_mcast(rdma_ah_get_dlid(ah_attr)) && in hfi1_check_ah()
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()
Ddriver.c478 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()
Dqp.c594 rdma_ah_get_dlid(&qp->remote_ah_attr), in qp_iter_print()
/Linux-v4.19/drivers/infiniband/core/
Duverbs_marshall.c58 rdma_ah_set_interface_id(ib, OPA_MAKE_ID(rdma_ah_get_dlid(opa))); in rdma_ah_conv_opa_to_ib()
72 (rdma_ah_get_dlid(ah_attr) > be16_to_cpu(IB_LID_PERMISSIVE)) && in ib_copy_ah_attr_to_user()
76 dst->dlid = rdma_ah_get_dlid(src); in ib_copy_ah_attr_to_user()
Dmad_rmpp.c873 if (rmpp_recv->slid == rdma_ah_get_dlid(&ah_attr)) { in init_newwin()
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dah.c66 ah->av.rlid = cpu_to_be16(rdma_ah_get_dlid(ah_attr)); in create_ib_ah()
/Linux-v4.19/drivers/infiniband/hw/ocrdma/
Docrdma_ah.c200 ahid_addr = pd->uctx->ah_tbl.va + rdma_ah_get_dlid(attr); in ocrdma_create_ah()
/Linux-v4.19/drivers/infiniband/hw/mlx4/
Dah.c66 ah->av.ib.dlid = cpu_to_be16(rdma_ah_get_dlid(ah_attr)); in create_ib_ah()
Dmcg.c247 wc.slid = rdma_ah_get_dlid(&ah_attr); /* opensm lid */ in send_mad_to_slave()
/Linux-v4.19/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_misc.c298 dst->dlid = rdma_ah_get_dlid(src); in rdma_ah_attr_to_pvrdma()
/Linux-v4.19/drivers/infiniband/hw/mthca/
Dmthca_av.c202 av->dlid = cpu_to_be16(rdma_ah_get_dlid(ah_attr)); in mthca_create_ah()
/Linux-v4.19/drivers/infiniband/sw/rdmavt/
Dqp.c1191 if (rdma_ah_get_dlid(&attr->ah_attr) >= in rvt_modify_qp()
1195 if (rdma_ah_get_dlid(&attr->ah_attr) >= in rvt_modify_qp()
1206 if (rdma_ah_get_dlid(&attr->alt_ah_attr) >= in rvt_modify_qp()
1210 if (rdma_ah_get_dlid(&attr->alt_ah_attr) >= in rvt_modify_qp()
/Linux-v4.19/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_vema.c784 rdma_ah_get_dlid(&ah_attr), rdma_ah_get_sl(&ah_attr), in opa_vnic_vema_send_trap()

12