Home
last modified time | relevance | path

Searched refs:slid (Results 1 - 25 of 104) sorted by relevance

12345

/kernel/linux/linux-5.10/include/rdma/
H A 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 in path_conv_ib_to_opa()
565 sa_path_set_slid(struct sa_path_rec *rec, u32 slid) sa_path_set_slid() argument
[all...]
H A Dopa_addr.h52 * opa_is_extended_lid: Returns true if dlid or slid are
56 * @slid: The SLID
58 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-6.6/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()
231 = OPA_MAKE_ID(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
252 slid = htonl(opa_get_lid_from_gid(&ib->sgid)); in path_conv_ib_to_opa()
255 slid in path_conv_ib_to_opa()
539 sa_path_set_slid(struct sa_path_rec *rec, u32 slid) sa_path_set_slid() argument
[all...]
H A Dopa_addr.h52 * opa_is_extended_lid: Returns true if dlid or slid are
56 * @slid: The SLID
58 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/
H A 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 in hfi1_make_ud_req_9B()
382 u32 dlid, slid, nwords, extra_bytes; hfi1_make_ud_req_16B() local
632 return_cnp_16B(struct hfi1_ibport *ibp, struct rvt_qp *qp, u32 remote_qpn, u16 pkey, u32 slid, u32 dlid, u8 sc5, const struct ib_grh *old_grh) return_cnp_16B() argument
694 return_cnp(struct hfi1_ibport *ibp, struct rvt_qp *qp, u32 remote_qpn, u16 pkey, u32 slid, u32 dlid, u8 sc5, const struct ib_grh *old_grh) return_cnp() argument
767 opa_smp_check(struct hfi1_ibport *ibp, u16 pkey, u8 sc5, struct rvt_qp *qp, u16 slid, struct opa_smp *smp) opa_smp_check() argument
871 u32 slid = packet->slid; hfi1_ud_rcv() local
[all...]
H A 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 in hfi1_make_ruc_header_16B()
[all...]
H A 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...]
H A 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()
1849 dd->err_info_rcv_constraint.slid = slid; in ingress_pkey_table_fail()
1863 u8 sc5, u8 idx, u32 slid, boo in ingress_pkey_check()
1841 ingress_pkey_table_fail(struct hfi1_pportdata *ppd, u16 pkey, u32 slid) ingress_pkey_table_fail() argument
1862 ingress_pkey_check(struct hfi1_pportdata *ppd, u16 pkey, u8 sc5, u8 idx, u32 slid, bool force) ingress_pkey_check() argument
1895 rcv_pkey_check(struct hfi1_pportdata *ppd, u16 pkey, u8 sc5, u16 slid) rcv_pkey_check() argument
2624 hfi1_make_ext_grh(struct hfi1_packet *packet, struct ib_grh *grh, u32 slid, u32 dlid) hfi1_make_ext_grh() argument
2660 hfi1_make_ib_hdr(struct ib_header *hdr, u16 lrh0, u16 len, u16 dlid, u16 slid) hfi1_make_ib_hdr() argument
2670 hfi1_make_16b_hdr(struct hfi1_16b_header *hdr, u32 slid, u32 dlid, u16 len, u16 pkey, bool becn, bool fecn, u8 l4, u8 sc) hfi1_make_16b_hdr() argument
[all...]
H A Dtrace.c194 u16 *len, u32 *dlid, u32 *slid) in hfi1_trace_parse_9b_hdr()
202 *slid = ib_get_slid(hdr); in hfi1_trace_parse_9b_hdr()
209 u32 *dlid, u32 *slid) in hfi1_trace_parse_16b_hdr()
221 *slid = hfi1_16B_get_slid(hdr); in hfi1_trace_parse_16b_hdr()
224 #define LRH_PRN "len:%d sc:%d dlid:0x%.4x slid:0x%.4x "
232 u16 len, u16 pkey, u32 dlid, u32 slid) in hfi1_trace_fmt_lrh()
236 trace_seq_printf(p, LRH_PRN, len, sc, dlid, slid); in hfi1_trace_fmt_lrh()
192 hfi1_trace_parse_9b_hdr(struct ib_header *hdr, bool sc5, u8 *lnh, u8 *lver, u8 *sl, u8 *sc, u16 *len, u32 *dlid, u32 *slid) hfi1_trace_parse_9b_hdr() argument
205 hfi1_trace_parse_16b_hdr(struct hfi1_16b_header *hdr, u8 *age, bool *becn, bool *fecn, u8 *l4, u8 *rc, u8 *sc, u16 *entropy, u16 *len, u16 *pkey, u32 *dlid, u32 *slid) hfi1_trace_parse_16b_hdr() argument
228 hfi1_trace_fmt_lrh(struct trace_seq *p, bool bypass, u8 age, bool becn, bool fecn, u8 l4, u8 lnh, const char *lnh_name, u8 lver, u8 rc, u8 sc, u8 sl, u16 entropy, u16 len, u16 pkey, u32 dlid, u32 slid) hfi1_trace_fmt_lrh() argument
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Dud.c71 u32 slid; in ud_loopback() local
75 slid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) & in ud_loopback()
79 slid, false))) { in ud_loopback()
83 slid, rdma_ah_get_dlid(ah_attr)); in ud_loopback()
207 wc.slid = (ppd->lid | (rdma_ah_get_path_bits(ah_attr) & in ud_loopback()
210 if (wc.slid == 0 && sqp->ibqp.qp_type == IB_QPT_GSI) in ud_loopback()
211 wc.slid = be16_to_cpu(IB_LID_PERMISSIVE); 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 in hfi1_make_ud_req_9B()
340 u32 dlid, slid, nwords, extra_bytes; hfi1_make_ud_req_16B() local
591 return_cnp_16B(struct hfi1_ibport *ibp, struct rvt_qp *qp, u32 remote_qpn, u16 pkey, u32 slid, u32 dlid, u8 sc5, const struct ib_grh *old_grh) return_cnp_16B() argument
653 return_cnp(struct hfi1_ibport *ibp, struct rvt_qp *qp, u32 remote_qpn, u16 pkey, u32 slid, u32 dlid, u8 sc5, const struct ib_grh *old_grh) return_cnp() argument
726 opa_smp_check(struct hfi1_ibport *ibp, u16 pkey, u8 sc5, struct rvt_qp *qp, u16 slid, struct opa_smp *smp) opa_smp_check() argument
825 u32 slid = packet->slid; hfi1_ud_rcv() local
[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 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,
1701 u32 remote_qpn, u16 pkey, u32 slid, u32 dlid,
1704 u32 remote_qpn, u16 pkey, u32 slid, u32 dlid,
1708 int egress_pkey_check(struct hfi1_pportdata *ppd, u32 slid, u16 pkey,
1790 u32 slid) in ingress_pkey_table_fail()
1797 dd->err_info_rcv_constraint.slid = slid; in ingress_pkey_table_fail()
1811 u8 sc5, u8 idx, u32 slid, boo in ingress_pkey_check()
1789 ingress_pkey_table_fail(struct hfi1_pportdata *ppd, u16 pkey, u32 slid) ingress_pkey_table_fail() argument
1810 ingress_pkey_check(struct hfi1_pportdata *ppd, u16 pkey, u8 sc5, u8 idx, u32 slid, bool force) ingress_pkey_check() argument
1843 rcv_pkey_check(struct hfi1_pportdata *ppd, u16 pkey, u8 sc5, u16 slid) rcv_pkey_check() argument
2571 hfi1_make_ext_grh(struct hfi1_packet *packet, struct ib_grh *grh, u32 slid, u32 dlid) hfi1_make_ext_grh() argument
2607 hfi1_make_ib_hdr(struct ib_header *hdr, u16 lrh0, u16 len, u16 dlid, u16 slid) hfi1_make_ib_hdr() argument
2617 hfi1_make_16b_hdr(struct hfi1_16b_header *hdr, u32 slid, u32 dlid, u16 len, u16 pkey, bool becn, bool fecn, u8 l4, u8 sc) hfi1_make_16b_hdr() argument
[all...]
H A Dtrace.c157 u16 *len, u32 *dlid, u32 *slid) in hfi1_trace_parse_9b_hdr()
165 *slid = ib_get_slid(hdr); in hfi1_trace_parse_9b_hdr()
172 u32 *dlid, u32 *slid) in hfi1_trace_parse_16b_hdr()
184 *slid = hfi1_16B_get_slid(hdr); in hfi1_trace_parse_16b_hdr()
187 #define LRH_PRN "len:%d sc:%d dlid:0x%.4x slid:0x%.4x "
195 u16 len, u16 pkey, u32 dlid, u32 slid) in hfi1_trace_fmt_lrh()
199 trace_seq_printf(p, LRH_PRN, len, sc, dlid, slid); in hfi1_trace_fmt_lrh()
155 hfi1_trace_parse_9b_hdr(struct ib_header *hdr, bool sc5, u8 *lnh, u8 *lver, u8 *sl, u8 *sc, u16 *len, u32 *dlid, u32 *slid) hfi1_trace_parse_9b_hdr() argument
168 hfi1_trace_parse_16b_hdr(struct hfi1_16b_header *hdr, u8 *age, bool *becn, bool *fecn, u8 *l4, u8 *rc, u8 *sc, u16 *entropy, u16 *len, u16 *pkey, u32 *dlid, u32 *slid) hfi1_trace_parse_16b_hdr() argument
191 hfi1_trace_fmt_lrh(struct trace_seq *p, bool bypass, u8 age, bool becn, bool fecn, u8 l4, u8 lnh, const char *lnh_name, u8 lver, u8 rc, u8 sc, u8 sl, u16 entropy, u16 len, u16 pkey, u32 dlid, u32 slid) hfi1_trace_fmt_lrh() argument
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/include/trace/events/
H A Dib_mad.h205 __field(u32, slid)
224 __entry->slid = wc->slid;
237 "slid 0x%08x src QP%d, sl %d pkey 0x%04x",
247 __entry->slid, __entry->src_qp, __entry->sl, __entry->pkey
/kernel/linux/linux-6.6/include/trace/events/
H A Dib_mad.h204 __field(u32, slid)
222 __entry->slid = wc->slid;
232 "slid 0x%08x src QP%d, sl %d",
242 __entry->slid, __entry->src_qp, __entry->sl
/kernel/linux/linux-5.10/include/uapi/rdma/
H A Dib_user_sa.h59 __be16 slid; member
/kernel/linux/linux-6.6/include/uapi/rdma/
H A Dib_user_sa.h59 __be16 slid; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/rdma/
H A Dib_user_sa.h40 __be16 slid; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
H A Dib_user_sa.h40 __be16 slid; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
H A Dib_user_sa.h27 __be16 slid; member

Completed in 21 milliseconds

12345