Home
last modified time | relevance | path

Searched refs:slid (Results 1 – 25 of 52) sorted by relevance

123

/kernel/linux/linux-5.10/include/rdma/
Dib_sa.h135 __be16 slid; member
153 __be32 slid; member
222 (be32_to_cpu(opa->opa.slid) >= in path_conv_opa_to_ib()
230 = OPA_MAKE_ID(be32_to_cpu(opa->opa.slid)); in path_conv_opa_to_ib()
235 ib->ib.slid = 0; in path_conv_opa_to_ib()
238 ib->ib.slid = htons(ntohl(opa->opa.slid)); in path_conv_opa_to_ib()
247 __be32 slid, dlid; in path_conv_ib_to_opa() local
251 slid = htonl(opa_get_lid_from_gid(&ib->sgid)); in path_conv_ib_to_opa()
254 slid = htonl(ntohs(ib->ib.slid)); in path_conv_ib_to_opa()
257 opa->opa.slid = slid; in path_conv_ib_to_opa()
[all …]
Dopa_addr.h58 static inline bool opa_is_extended_lid(__be32 dlid, __be32 slid) in opa_is_extended_lid() argument
62 (be32_to_cpu(slid) >= in opa_is_extended_lid()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dud.c113 u32 slid; in ud_loopback() local
117 slid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) & in ud_loopback()
121 slid, false))) { in ud_loopback()
125 slid, rdma_ah_get_dlid(ah_attr)); in ud_loopback()
249 wc.slid = (ppd->lid | (rdma_ah_get_path_bits(ah_attr) & in ud_loopback()
252 if (wc.slid == 0 && sqp->ibqp.qp_type == IB_QPT_GSI) in ud_loopback()
253 wc.slid = be16_to_cpu(IB_LID_PERMISSIVE); in ud_loopback()
307 u16 len, slid, dlid, pkey; in hfi1_make_ud_req_9B() local
353 slid = be16_to_cpu(IB_LID_PERMISSIVE); in hfi1_make_ud_req_9B()
360 slid = lid; in hfi1_make_ud_req_9B()
[all …]
Druc.c76 u32 slid = packet->slid; in hfi1_ruc_check_hdr() local
105 sc5, slid))) { in hfi1_ruc_check_hdr()
107 slid, dlid); in hfi1_ruc_check_hdr()
111 if (slid != rdma_ah_get_dlid(&qp->alt_ah_attr) || in hfi1_ruc_check_hdr()
142 sc5, slid))) { in hfi1_ruc_check_hdr()
144 slid, dlid); in hfi1_ruc_check_hdr()
148 if ((slid != rdma_ah_get_dlid(&qp->remote_ah_attr)) || in hfi1_ruc_check_hdr()
281 u32 slid; in hfi1_make_ruc_header_16B() local
332 slid = be32_to_cpu(OPA_LID_PERMISSIVE); in hfi1_make_ruc_header_16B()
334 slid = ppd->lid | in hfi1_make_ruc_header_16B()
[all …]
Dtrace_ibhdrs.h121 u16 *len, u32 *dlid, u32 *slid);
130 u32 *dlid, u32 *slid);
136 u16 len, u16 pkey, u32 dlid, u32 slid);
185 __field(u32, slid)
211 &__entry->slid);
237 &__entry->slid);
281 __entry->slid),
344 __field(u32, slid)
371 &__entry->slid);
402 &__entry->slid);
[all …]
Dhfi.h388 u32 slid; member
1021 u32 slid; member
1750 u16 pkey, u32 slid, u32 dlid, u8 sc5,
1753 u32 remote_qpn, u16 pkey, u32 slid, u32 dlid,
1756 u32 remote_qpn, u16 pkey, u32 slid, u32 dlid,
1760 int egress_pkey_check(struct hfi1_pportdata *ppd, u32 slid, u16 pkey,
1842 u32 slid) in ingress_pkey_table_fail() argument
1849 dd->err_info_rcv_constraint.slid = slid; in ingress_pkey_table_fail()
1863 u8 sc5, u8 idx, u32 slid, bool force) in ingress_pkey_check() argument
1885 ingress_pkey_table_fail(ppd, pkey, slid); in ingress_pkey_check()
[all …]
Dtrace.c194 u16 *len, u32 *dlid, u32 *slid) in hfi1_trace_parse_9b_hdr() argument
202 *slid = ib_get_slid(hdr); in hfi1_trace_parse_9b_hdr()
209 u32 *dlid, u32 *slid) in hfi1_trace_parse_16b_hdr() argument
221 *slid = hfi1_16B_get_slid(hdr); in hfi1_trace_parse_16b_hdr()
232 u16 len, u16 pkey, u32 dlid, u32 slid) in hfi1_trace_fmt_lrh() argument
236 trace_seq_printf(p, LRH_PRN, len, sc, dlid, slid); in hfi1_trace_fmt_lrh()
Dipoib_tx.c295 u16 slid; in hfi1_ipoib_build_ib_tx_headers() local
333 slid = be16_to_cpu(IB_LID_PERMISSIVE); in hfi1_ipoib_build_ib_tx_headers()
340 slid = lid; in hfi1_ipoib_build_ib_tx_headers()
342 slid = be16_to_cpu(IB_LID_PERMISSIVE); in hfi1_ipoib_build_ib_tx_headers()
351 hfi1_make_ib_hdr(&sdma_hdr->hdr.ibh, lrh0, dwords, dlid, slid); in hfi1_ipoib_build_ib_tx_headers()
Ddriver.c457 u32 rlid, slid, dlid = 0; in hfi1_process_ecn_slowpath() local
467 slid = hfi1_16B_get_slid(pkt->hdr); in hfi1_process_ecn_slowpath()
478 slid = ib_get_slid(pkt->hdr); in hfi1_process_ecn_slowpath()
489 rlid = slid; in hfi1_process_ecn_slowpath()
495 rlid = slid; in hfi1_process_ecn_slowpath()
1496 if ((!packet->slid) || (!packet->dlid)) in hfi1_bypass_ingress_pkt_check()
1550 packet->slid = ib_get_slid(hdr); in hfi1_setup_9B_packet()
1631 packet->slid = hfi1_16B_get_slid(packet->hdr); in hfi1_setup_bypass_packet()
Dverbs.c492 packet->slid, true); in hfi1_do_pkey_check()
1158 int egress_pkey_check(struct hfi1_pportdata *ppd, u32 slid, u16 pkey, in egress_pkey_check() argument
1202 dd->err_info_xmit_constraint.slid = slid; in egress_pkey_check()
1263 u32 slid; in hfi1_verbs_send() local
1276 slid = hfi1_16B_get_slid(hdr); in hfi1_verbs_send()
1286 slid = ib_get_slid(hdr); in hfi1_verbs_send()
1296 ret = egress_pkey_check(dd->pport, slid, pkey, in hfi1_verbs_send()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Duverbs_marshall.c143 dst->slid = htons(ntohl(sa_path_get_slid(src))); in __ib_copy_path_rec_to_user()
178 u32 slid, dlid; in ib_copy_path_rec_from_user() local
184 slid = opa_get_lid_from_gid((union ib_gid *)src->sgid); in ib_copy_path_rec_from_user()
188 slid = ntohs(src->slid); in ib_copy_path_rec_from_user()
195 sa_path_set_slid(dst, slid); in ib_copy_path_rec_from_user()
Dmad_rmpp.c66 u32 slid; member
311 rmpp_recv->slid = mad_recv_wc->wc->slid; in create_rmpp_recv()
332 rmpp_recv->slid == mad_recv_wc->wc->slid && in find_rmpp_recv()
865 if (rmpp_recv->slid == rdma_ah_get_dlid(&ah_attr)) { in init_newwin()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_mad.c205 u16 slid = in_wc ? ib_lid_cpu16(in_wc->slid) : be16_to_cpu(IB_LID_PERMISSIVE); in mthca_process_mad() local
210 if (in->mad_hdr.method == IB_MGMT_METHOD_TRAP && !slid) { in mthca_process_mad()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Dib_user_sa.h40 __be16 slid; member
Dvmw_pvrdma-abi.h235 __u16 slid; member
/kernel/linux/linux-5.10/include/uapi/rdma/
Dib_user_sa.h59 __be16 slid; member
Dvmw_pvrdma-abi.h301 __u16 slid; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Dib_user_sa.h27 __be16 slid; member
Dvmw_pvrdma-abi.h218 __u16 slid; member
/kernel/linux/linux-5.10/include/trace/events/
Dib_mad.h205 __field(u32, slid)
224 __entry->slid = wc->slid;
247 __entry->slid, __entry->src_qp, __entry->sl, __entry->pkey
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmad.c233 u16 slid; in mlx5_ib_process_mad() local
236 slid = in_wc ? ib_lid_cpu16(in_wc->slid) : in mlx5_ib_process_mad()
239 if (method == IB_MGMT_METHOD_TRAP && !slid) in mlx5_ib_process_mad()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_encap.c73 static inline void opa_vnic_make_header(u8 *hdr, u32 slid, u32 dlid, u16 len, in opa_vnic_make_header() argument
85 h[0] |= (slid & OPA_16B_LID_MASK); in opa_vnic_make_header()
86 h[2] |= ((slid >> (20 - OPA_16B_SLID_HIGH_SHFT)) & OPA_16B_SLID_MASK); in opa_vnic_make_header()
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_cq.c362 wc->slid = cqe->slid; in pvrdma_poll_one()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dcq.c596 wc->slid = 0; in use_tunnel_data()
602 wc->slid = be16_to_cpu(hdr->tun.slid_mac_47_32); in use_tunnel_data()
856 wc->slid = 0; in mlx4_ib_poll_one()
868 wc->slid = be16_to_cpu(cqe->rlid); in mlx4_ib_poll_one()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dcq.c132 uqueue[head].slid = ib_lid_cpu16(entry->slid); in rvt_cq_enter()

123