Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
275 if (rdma_ah_get_dlid(ah_attr) >= be16_to_cpu(IB_MULTICAST_LID_BASE)) { in qib_make_ud_req()
276 if (rdma_ah_get_dlid(ah_attr) != in qib_make_ud_req()
283 lid = rdma_ah_get_dlid(ah_attr) & ~((1 << ppd->lmc) - 1); in qib_make_ud_req()
351 cpu_to_be16(rdma_ah_get_dlid(ah_attr)); /* DEST LID */ in qib_make_ud_req()
371 ohdr->bth[1] = rdma_ah_get_dlid(ah_attr) >= in qib_make_ud_req()
373 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.c395 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.c648 hdr.lrh[1] = cpu_to_be16(rdma_ah_get_dlid(&qp->remote_ah_attr)); in qib_send_rc_ack()
1880 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr); in qib_rc_rcv()
/kernel/linux/linux-5.10/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()
292 hfi1_check_mcast(rdma_ah_get_dlid(&qp->remote_ah_attr))) { in hfi1_make_ruc_header_16B()
340 opa_get_lid(rdma_ah_get_dlid(&qp->remote_ah_attr), in hfi1_make_ruc_header_16B()
410 opa_get_lid(rdma_ah_get_dlid(&qp->remote_ah_attr), 9B), in hfi1_make_ruc_header_9B()
550 if (!loopback && ((rdma_ah_get_dlid(&qp->remote_ah_attr) & in hfi1_do_send()
560 if (!loopback && ((rdma_ah_get_dlid(&qp->remote_ah_attr) & in hfi1_do_send()
Dud.c125 slid, rdma_ah_get_dlid(ah_attr)); in ud_loopback()
255 wc.dlid_path_bits = rdma_ah_get_dlid(ah_attr) & ((1 << ppd->lmc) - 1); in ud_loopback()
351 dlid = opa_get_lid(rdma_ah_get_dlid(ah_attr), 9B); in hfi1_make_ud_req_9B()
414 hfi1_check_mcast(rdma_ah_get_dlid(ah_attr))) { in hfi1_make_ud_req_16B()
444 dlid = opa_get_lid(rdma_ah_get_dlid(ah_attr), 16B); in hfi1_make_ud_req_16B()
520 if ((!hfi1_check_mcast(rdma_ah_get_dlid(ah_attr))) || in hfi1_make_ud_req()
521 (rdma_ah_get_dlid(ah_attr) == be32_to_cpu(OPA_LID_PERMISSIVE))) { in hfi1_make_ud_req()
522 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()
460 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr) & U16_MAX; in hfi1_uc_rcv()
Dhfi.h2488 u32 dlid = rdma_ah_get_dlid(attr); in hfi1_update_ah_attr()
2565 u32 dlid = rdma_ah_get_dlid(attr); in hfi1_make_opa_lid()
2610 if (rdma_ah_get_dlid(attr) == be32_to_cpu(OPA_LID_PERMISSIVE)) in hfi1_get_hdr_type()
2618 if (hfi1_get_packet_type(rdma_ah_get_dlid(attr)) == HFI1_PKT_TYPE_16B) in hfi1_get_hdr_type()
Drc.c467 (hfi1_check_mcast(rdma_ah_get_dlid(&qp->remote_ah_attr)))) in hfi1_make_rc_req()
1298 opa_get_lid(rdma_ah_get_dlid(&qp->remote_ah_attr), 9B), in hfi1_make_rc_ack_9B()
1338 hfi1_check_mcast(rdma_ah_get_dlid(&qp->remote_ah_attr))) { in hfi1_make_rc_ack_16B()
1356 opa_get_lid(rdma_ah_get_dlid(&qp->remote_ah_attr), in hfi1_make_rc_ack_16B()
2988 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr) & U16_MAX; in hfi1_rc_rcv()
Dverbs.c1531 if (hfi1_check_mcast(rdma_ah_get_dlid(ah_attr)) && in hfi1_check_ah()
1988 rlid = rdma_ah_get_dlid(&qp->remote_ah_attr); in hfi1_cnp_rcv()
1993 rlid = rdma_ah_get_dlid(&qp->remote_ah_attr); in hfi1_cnp_rcv()
Ddriver.c500 rlid = rdma_ah_get_dlid(&qp->remote_ah_attr); in hfi1_process_ecn_slowpath()
505 rlid = rdma_ah_get_dlid(&qp->remote_ah_attr); in hfi1_process_ecn_slowpath()
Dipoib_tx.c331 dlid = opa_get_lid(rdma_ah_get_dlid(ah_attr), 9B); in hfi1_ipoib_build_ib_tx_headers()
Dqp.c683 rdma_ah_get_dlid(&qp->remote_ah_attr), in qp_iter_print()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dah.c87 ah->av.rlid = cpu_to_be16(rdma_ah_get_dlid(ah_attr)); in create_ib_ah()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dah.c65 ah->av.ib.dlid = cpu_to_be16(rdma_ah_get_dlid(ah_attr)); in create_ib_ah()
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma_ah.c197 ahid_addr = pd->uctx->ah_tbl.va + rdma_ah_get_dlid(attr); in ocrdma_create_ah()
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_misc.c292 dst->dlid = rdma_ah_get_dlid(src); in rdma_ah_attr_to_pvrdma()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_av.c202 av->dlid = cpu_to_be16(rdma_ah_get_dlid(ah_attr)); in mthca_create_ah()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dqp.c1491 if (rdma_ah_get_dlid(&attr->ah_attr) >= in rvt_modify_qp()
1495 if (rdma_ah_get_dlid(&attr->ah_attr) >= in rvt_modify_qp()
1506 if (rdma_ah_get_dlid(&attr->alt_ah_attr) >= in rvt_modify_qp()
1510 if (rdma_ah_get_dlid(&attr->alt_ah_attr) >= in rvt_modify_qp()
3174 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr) & U16_MAX; in rvt_ruc_loopback()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_vema.c781 rdma_ah_get_dlid(&ah_attr), rdma_ah_get_sl(&ah_attr), in opa_vnic_vema_send_trap()

12