Home
last modified time | relevance | path

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

12

/linux-6.6.21/include/rdma/
Dopa_addr.h79 if (!rdma_ah_get_dlid(attr) || in rdma_is_valid_unicast_lid()
80 rdma_ah_get_dlid(attr) >= in rdma_is_valid_unicast_lid()
84 if (!rdma_ah_get_dlid(attr) || in rdma_is_valid_unicast_lid()
85 rdma_ah_get_dlid(attr) >= in rdma_is_valid_unicast_lid()
/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_ud.c101 cpu_to_be16(rdma_ah_get_dlid(ah_attr))); in qib_ud_loopback()
211 wc.dlid_path_bits = rdma_ah_get_dlid(ah_attr) & ((1 << ppd->lmc) - 1); in qib_ud_loopback()
276 if (rdma_ah_get_dlid(ah_attr) >= be16_to_cpu(IB_MULTICAST_LID_BASE)) { in qib_make_ud_req()
277 if (rdma_ah_get_dlid(ah_attr) != in qib_make_ud_req()
284 lid = rdma_ah_get_dlid(ah_attr) & ~((1 << ppd->lmc) - 1); in qib_make_ud_req()
352 cpu_to_be16(rdma_ah_get_dlid(ah_attr)); /* DEST LID */ in qib_make_ud_req()
372 ohdr->bth[1] = rdma_ah_get_dlid(ah_attr) >= in qib_make_ud_req()
374 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()
230 cpu_to_be16(rdma_ah_get_dlid(&qp->remote_ah_attr)); in qib_make_ruc_header()
273 (rdma_ah_get_dlid(&qp->remote_ah_attr) & in qib_do_send()
Dqib_qp.c451 rdma_ah_get_dlid(&qp->remote_ah_attr)); in qib_qp_iter_print()
Dqib_uc.c396 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr); in qib_uc_rcv()
Dqib_verbs.c1308 if (rdma_ah_get_dlid(ah_attr) == 0) in qib_check_ah()
1310 if (rdma_ah_get_dlid(ah_attr) >= in qib_check_ah()
1312 rdma_ah_get_dlid(ah_attr) != in qib_check_ah()
Dqib_rc.c649 hdr.lrh[1] = cpu_to_be16(rdma_ah_get_dlid(&qp->remote_ah_attr)); in qib_send_rc_ack()
1883 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr); in qib_rc_rcv()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Druc.c69 if (slid != rdma_ah_get_dlid(&qp->alt_ah_attr) || in hfi1_ruc_check_hdr()
106 if ((slid != rdma_ah_get_dlid(&qp->remote_ah_attr)) || in hfi1_ruc_check_hdr()
251 hfi1_check_mcast(rdma_ah_get_dlid(&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()
370 opa_get_lid(rdma_ah_get_dlid(&qp->remote_ah_attr), 9B), in hfi1_make_ruc_header_9B()
509 if (!loopback && ((rdma_ah_get_dlid(&qp->remote_ah_attr) & in hfi1_do_send()
519 if (!loopback && ((rdma_ah_get_dlid(&qp->remote_ah_attr) & in hfi1_do_send()
Dud.c83 slid, rdma_ah_get_dlid(ah_attr)); in ud_loopback()
213 wc.dlid_path_bits = rdma_ah_get_dlid(ah_attr) & ((1 << ppd->lmc) - 1); in ud_loopback()
309 dlid = opa_get_lid(rdma_ah_get_dlid(ah_attr), 9B); in hfi1_make_ud_req_9B()
372 hfi1_check_mcast(rdma_ah_get_dlid(ah_attr))) { in hfi1_make_ud_req_16B()
402 dlid = opa_get_lid(rdma_ah_get_dlid(ah_attr), 16B); in hfi1_make_ud_req_16B()
479 if ((!hfi1_check_mcast(rdma_ah_get_dlid(ah_attr))) || in hfi1_make_ud_req()
480 (rdma_ah_get_dlid(ah_attr) == be32_to_cpu(OPA_LID_PERMISSIVE))) { in hfi1_make_ud_req()
481 lid = rdma_ah_get_dlid(ah_attr) & ~((1 << ppd->lmc) - 1); in hfi1_make_ud_req()
Duc.c65 (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()
Dhfi.h2435 u32 dlid = rdma_ah_get_dlid(attr); in hfi1_update_ah_attr()
2512 u32 dlid = rdma_ah_get_dlid(attr); in hfi1_make_opa_lid()
2557 if (rdma_ah_get_dlid(attr) == be32_to_cpu(OPA_LID_PERMISSIVE)) in hfi1_get_hdr_type()
2565 if (hfi1_get_packet_type(rdma_ah_get_dlid(attr)) == HFI1_PKT_TYPE_16B) in hfi1_get_hdr_type()
Drc.c426 (hfi1_check_mcast(rdma_ah_get_dlid(&qp->remote_ah_attr)))) in hfi1_make_rc_req()
1257 opa_get_lid(rdma_ah_get_dlid(&qp->remote_ah_attr), 9B), in hfi1_make_rc_ack_9B()
1297 hfi1_check_mcast(rdma_ah_get_dlid(&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()
2947 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr) & U16_MAX; in hfi1_rc_rcv()
Dverbs.c1486 if (hfi1_check_mcast(rdma_ah_get_dlid(ah_attr)) && in hfi1_check_ah()
1924 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()
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()
Dqp.c642 rdma_ah_get_dlid(&qp->remote_ah_attr), in qp_iter_print()
Dipoib_tx.c303 dlid = opa_get_lid(rdma_ah_get_dlid(ah_attr), 9B); in hfi1_ipoib_build_ib_tx_headers()
/linux-6.6.21/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.c865 if (rmpp_recv->slid == rdma_ah_get_dlid(&ah_attr)) { in init_newwin()
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dah.c87 ah->av.rlid = cpu_to_be16(rdma_ah_get_dlid(ah_attr)); in create_ib_ah()
/linux-6.6.21/drivers/infiniband/hw/ocrdma/
Docrdma_ah.c197 ahid_addr = pd->uctx->ah_tbl.va + rdma_ah_get_dlid(attr); in ocrdma_create_ah()
/linux-6.6.21/drivers/infiniband/hw/mlx4/
Dah.c65 ah->av.ib.dlid = cpu_to_be16(rdma_ah_get_dlid(ah_attr)); in create_ib_ah()
/linux-6.6.21/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_misc.c292 dst->dlid = rdma_ah_get_dlid(src); in rdma_ah_attr_to_pvrdma()
/linux-6.6.21/drivers/infiniband/hw/mthca/
Dmthca_av.c202 av->dlid = cpu_to_be16(rdma_ah_get_dlid(ah_attr)); in mthca_create_ah()
/linux-6.6.21/drivers/infiniband/sw/rdmavt/
Dqp.c1436 if (rdma_ah_get_dlid(&attr->ah_attr) >= in rvt_modify_qp()
1440 if (rdma_ah_get_dlid(&attr->ah_attr) >= in rvt_modify_qp()
1451 if (rdma_ah_get_dlid(&attr->alt_ah_attr) >= in rvt_modify_qp()
1455 if (rdma_ah_get_dlid(&attr->alt_ah_attr) >= in rvt_modify_qp()
3123 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr) & U16_MAX; in rvt_ruc_loopback()
/linux-6.6.21/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_vema.c782 rdma_ah_get_dlid(&ah_attr), rdma_ah_get_sl(&ah_attr), in opa_vnic_vema_send_trap()

12