Home
last modified time | relevance | path

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

12

/openbmc/linux/include/rdma/
H A Dib_sa.h135 __be16 slid; member
153 __be32 slid; member
223 (be32_to_cpu(opa->opa.slid) >= in path_conv_opa_to_ib()
236 ib->ib.slid = 0; in path_conv_opa_to_ib()
239 ib->ib.slid = htons(ntohl(opa->opa.slid)); in path_conv_opa_to_ib()
248 __be32 slid, dlid; in path_conv_ib_to_opa() local
255 slid = htonl(ntohs(ib->ib.slid)); in path_conv_ib_to_opa()
258 opa->opa.slid = slid; in path_conv_ib_to_opa()
542 rec->ib.slid = cpu_to_be16(slid); in sa_path_set_slid()
544 rec->opa.slid = cpu_to_be32(slid); in sa_path_set_slid()
[all …]
H A 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()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dud.c71 u32 slid; in ud_loopback() local
79 slid, false))) { in ud_loopback()
83 slid, rdma_ah_get_dlid(ah_attr)); in ud_loopback()
265 u16 len, slid, dlid, pkey; in hfi1_make_ud_req_9B() local
311 slid = be16_to_cpu(IB_LID_PERMISSIVE); in hfi1_make_ud_req_9B()
318 slid = lid; in hfi1_make_ud_req_9B()
329 lrh0, len, dlid, slid); in hfi1_make_ud_req_9B()
340 u32 dlid, slid, nwords, extra_bytes; in hfi1_make_ud_req_16B() local
825 u32 slid = packet->slid; in hfi1_ud_rcv() local
884 slid, dlid); in hfi1_ud_rcv()
[all …]
H A Druc.c34 u32 slid = packet->slid; in hfi1_ruc_check_hdr() local
63 sc5, slid))) { in hfi1_ruc_check_hdr()
65 slid, dlid); in hfi1_ruc_check_hdr()
69 if (slid != rdma_ah_get_dlid(&qp->alt_ah_attr) || in hfi1_ruc_check_hdr()
100 sc5, slid))) { in hfi1_ruc_check_hdr()
102 slid, dlid); in hfi1_ruc_check_hdr()
106 if ((slid != rdma_ah_get_dlid(&qp->remote_ah_attr)) || in hfi1_ruc_check_hdr()
240 u32 slid; in hfi1_make_ruc_header_16B() local
291 slid = be32_to_cpu(OPA_LID_PERMISSIVE); in hfi1_make_ruc_header_16B()
293 slid = ppd->lid | in hfi1_make_ruc_header_16B()
[all …]
H A Dtrace_ibhdrs.h80 u16 *len, u32 *dlid, u32 *slid);
89 u32 *dlid, u32 *slid);
95 u16 len, u16 pkey, u32 dlid, u32 slid);
144 __field(u32, slid)
170 &__entry->slid);
196 &__entry->slid);
240 __entry->slid),
303 __field(u32, slid)
330 &__entry->slid);
361 &__entry->slid);
[all …]
H A Dhfi.h347 u32 slid; member
970 u32 slid; member
1698 u16 pkey, u32 slid, u32 dlid, u8 sc5,
1790 u32 slid) in ingress_pkey_table_fail() argument
1797 dd->err_info_rcv_constraint.slid = slid; in ingress_pkey_table_fail()
1833 ingress_pkey_table_fail(ppd, pkey, slid); in ingress_pkey_check()
1844 u8 sc5, u16 slid) in rcv_pkey_check() argument
2572 struct ib_grh *grh, u32 slid, in hfi1_make_ext_grh() argument
2609 u16 dlid, u16 slid) in hfi1_make_ib_hdr() argument
2614 hdr->lrh[3] = cpu_to_be16(slid); in hfi1_make_ib_hdr()
[all …]
H A Dtrace.c157 u16 *len, u32 *dlid, u32 *slid) in hfi1_trace_parse_9b_hdr() argument
165 *slid = ib_get_slid(hdr); in hfi1_trace_parse_9b_hdr()
172 u32 *dlid, u32 *slid) in hfi1_trace_parse_16b_hdr() argument
184 *slid = hfi1_16B_get_slid(hdr); in hfi1_trace_parse_16b_hdr()
195 u16 len, u16 pkey, u32 dlid, u32 slid) in hfi1_trace_fmt_lrh() argument
199 trace_seq_printf(p, LRH_PRN, len, sc, dlid, slid); in hfi1_trace_fmt_lrh()
H A Dipoib_tx.c267 u16 slid; in hfi1_ipoib_build_ib_tx_headers() local
305 slid = be16_to_cpu(IB_LID_PERMISSIVE); in hfi1_ipoib_build_ib_tx_headers()
312 slid = lid; in hfi1_ipoib_build_ib_tx_headers()
314 slid = be16_to_cpu(IB_LID_PERMISSIVE); in hfi1_ipoib_build_ib_tx_headers()
323 hfi1_make_ib_hdr(&sdma_hdr->hdr.ibh, lrh0, dwords, dlid, slid); in hfi1_ipoib_build_ib_tx_headers()
H A Ddriver.c410 u32 rlid, slid, dlid = 0; in hfi1_process_ecn_slowpath() local
420 slid = hfi1_16B_get_slid(pkt->hdr); in hfi1_process_ecn_slowpath()
431 slid = ib_get_slid(pkt->hdr); in hfi1_process_ecn_slowpath()
442 rlid = slid; in hfi1_process_ecn_slowpath()
448 rlid = slid; in hfi1_process_ecn_slowpath()
1449 if ((!packet->slid) || (!packet->dlid)) in hfi1_bypass_ingress_pkt_check()
1503 packet->slid = ib_get_slid(hdr); in hfi1_setup_9B_packet()
1584 packet->slid = hfi1_16B_get_slid(packet->hdr); in hfi1_setup_bypass_packet()
H A Dverbs.c450 packet->slid, true); in hfi1_do_pkey_check()
1116 int egress_pkey_check(struct hfi1_pportdata *ppd, u32 slid, u16 pkey, in egress_pkey_check() argument
1160 dd->err_info_xmit_constraint.slid = slid; in egress_pkey_check()
1221 u32 slid; in hfi1_verbs_send() local
1234 slid = hfi1_16B_get_slid(hdr); in hfi1_verbs_send()
1244 slid = ib_get_slid(hdr); in hfi1_verbs_send()
1254 ret = egress_pkey_check(dd->pport, slid, pkey, in hfi1_verbs_send()
/openbmc/linux/drivers/infiniband/core/
H A 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()
H A 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()
/openbmc/linux/drivers/infiniband/hw/mthca/
H A 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()
/openbmc/linux/include/uapi/rdma/
H A Dib_user_sa.h59 __be16 slid; member
H A Dvmw_pvrdma-abi.h301 __u16 slid; member
/openbmc/openpower-debug-collector/dump/
H A Dcreate_pel.cpp129 for (const auto& [slid, ffdcTuple] : ffdcFileList) in processFFDCPackets()
156 slid); in processFFDCPackets()
/openbmc/linux/include/trace/events/
H A Dib_mad.h204 __field(u32, slid)
222 __entry->slid = wc->slid;
242 __entry->slid, __entry->src_qp, __entry->sl
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dmad.c255 u16 slid; in mlx5_ib_process_mad() local
258 slid = in_wc ? ib_lid_cpu16(in_wc->slid) : in mlx5_ib_process_mad()
261 if (method == IB_MGMT_METHOD_TRAP && !slid) in mlx5_ib_process_mad()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbtf_dump_test_case_padding.c183 int slid; member
/openbmc/linux/drivers/infiniband/ulp/opa_vnic/
H A 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()
/openbmc/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_cq.c365 wc->slid = cqe->slid; in pvrdma_poll_one()
/openbmc/linux/drivers/infiniband/hw/mlx4/
H A 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()
/openbmc/linux/drivers/infiniband/sw/rdmavt/
H A Dcq.c90 uqueue[head].slid = ib_lid_cpu16(entry->slid); in rvt_cq_enter()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dsbe_ffdc_handler.cpp66 uint32_t slid:16; member
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_ud.c208 wc.slid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) & in qib_ud_loopback()
568 wc.slid = be16_to_cpu(hdr->lrh[3]); in qib_ud_rcv()

12