/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/ |
D | opa_vnic_encap.c | 73 static inline void opa_vnic_make_header(u8 *hdr, u32 slid, u32 dlid, u16 len, in opa_vnic_make_header() argument 88 h[1] |= (dlid & OPA_16B_LID_MASK); in opa_vnic_make_header() 89 h[2] |= ((dlid >> (20 - OPA_16B_DLID_HIGH_SHFT)) & OPA_16B_DLID_MASK); in opa_vnic_make_header() 303 u32 dlid = 0; in opa_vnic_chk_mac_tbl() local 322 dlid = OPA_VNIC_DLID_SD_GET_DLID(node->entry.dlid_sd); in opa_vnic_chk_mac_tbl() 329 return dlid; in opa_vnic_chk_mac_tbl() 338 u32 dlid; in opa_vnic_get_dlid() local 340 dlid = opa_vnic_chk_mac_tbl(adapter, mac_hdr); in opa_vnic_get_dlid() 341 if (dlid) in opa_vnic_get_dlid() 342 return dlid; in opa_vnic_get_dlid() [all …]
|
/kernel/linux/linux-5.10/include/rdma/ |
D | ib_sa.h | 134 __be16 dlid; member 152 __be32 dlid; member 220 if ((be32_to_cpu(opa->opa.dlid) >= in path_conv_opa_to_ib() 226 = OPA_MAKE_ID(be32_to_cpu(opa->opa.dlid)); in path_conv_opa_to_ib() 233 ib->ib.dlid = 0; in path_conv_opa_to_ib() 237 ib->ib.dlid = htons(ntohl(opa->opa.dlid)); in path_conv_opa_to_ib() 247 __be32 slid, dlid; in path_conv_ib_to_opa() local 252 dlid = htonl(opa_get_lid_from_gid(&ib->dgid)); in path_conv_ib_to_opa() 255 dlid = htonl(ntohs(ib->ib.dlid)); in path_conv_ib_to_opa() 258 opa->opa.dlid = dlid; in path_conv_ib_to_opa() [all …]
|
D | opa_addr.h | 58 static inline bool opa_is_extended_lid(__be32 dlid, __be32 slid) in opa_is_extended_lid() argument 60 if ((be32_to_cpu(dlid) >= in opa_is_extended_lid()
|
D | ib_verbs.h | 903 u16 dlid; member 912 u32 dlid; member 1884 __be16 dlid; member 4362 static inline void rdma_ah_set_dlid(struct rdma_ah_attr *attr, u32 dlid) in rdma_ah_set_dlid() argument 4365 attr->ib.dlid = (u16)dlid; in rdma_ah_set_dlid() 4367 attr->opa.dlid = dlid; in rdma_ah_set_dlid() 4373 return attr->ib.dlid; in rdma_ah_get_dlid() 4375 return attr->opa.dlid; in rdma_ah_get_dlid()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | uverbs_marshall.c | 76 dst->dlid = rdma_ah_get_dlid(src); in ib_copy_ah_attr_to_user() 142 dst->dlid = htons(ntohl(sa_path_get_dlid(src))); in __ib_copy_path_rec_to_user() 178 u32 slid, dlid; in ib_copy_path_rec_from_user() local 185 dlid = opa_get_lid_from_gid((union ib_gid *)src->dgid); in ib_copy_path_rec_from_user() 189 dlid = ntohs(src->dlid); in ib_copy_path_rec_from_user() 194 sa_path_set_dlid(dst, dlid); in ib_copy_path_rec_from_user()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | trace_ibhdrs.h | 121 u16 *len, u32 *dlid, u32 *slid); 130 u32 *dlid, u32 *slid); 136 u16 len, u16 pkey, u32 dlid, u32 slid); 182 __field(u32, dlid) 210 &__entry->dlid, 236 &__entry->dlid, 280 __entry->dlid, 341 __field(u32, dlid) 370 &__entry->dlid, 401 &__entry->dlid, [all …]
|
D | ud.c | 307 u16 len, slid, dlid, pkey; in hfi1_make_ud_req_9B() local 351 dlid = opa_get_lid(rdma_ah_get_dlid(ah_attr), 9B); in hfi1_make_ud_req_9B() 352 if (dlid == be16_to_cpu(IB_LID_PERMISSIVE)) { in hfi1_make_ud_req_9B() 371 lrh0, len, dlid, slid); in hfi1_make_ud_req_9B() 382 u32 dlid, slid, nwords, extra_bytes; in hfi1_make_ud_req_16B() local 444 dlid = opa_get_lid(rdma_ah_get_dlid(ah_attr), 16B); in hfi1_make_ud_req_16B() 465 slid, dlid, len, pkey, 0, 0, l4, priv->s_sc); in hfi1_make_ud_req_16B() 633 u32 remote_qpn, u16 pkey, u32 slid, u32 dlid, in return_cnp_16B() argument 678 hfi1_make_16b_hdr(&hdr.opah, slid, dlid, len, pkey, 1, 0, l4, sc5); in return_cnp_16B() 695 u16 pkey, u32 slid, u32 dlid, u8 sc5, in return_cnp() argument [all …]
|
D | hfi.h | 387 u32 dlid; 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, 2488 u32 dlid = rdma_ah_get_dlid(attr); in hfi1_update_ah_attr() local 2496 if ((((dlid >= be16_to_cpu(IB_MULTICAST_LID_BASE)) || in hfi1_update_ah_attr() 2498 (dlid != be32_to_cpu(OPA_LID_PERMISSIVE)) && in hfi1_update_ah_attr() 2499 (dlid != be16_to_cpu(IB_LID_PERMISSIVE)) && in hfi1_update_ah_attr() 2503 rdma_ah_set_interface_id(attr, OPA_MAKE_ID(dlid)); in hfi1_update_ah_attr() 2565 u32 dlid = rdma_ah_get_dlid(attr); in hfi1_make_opa_lid() local [all …]
|
D | driver.c | 291 u32 dlid = ib_get_dlid(rhdr); in rcv_hdrerr() local 312 if (dlid < mlid_base) { in rcv_hdrerr() 457 u32 rlid, slid, dlid = 0; in hfi1_process_ecn_slowpath() local 466 dlid = hfi1_16B_get_dlid(pkt->hdr); in hfi1_process_ecn_slowpath() 468 is_mcast = hfi1_is_16B_mcast(dlid); in hfi1_process_ecn_slowpath() 476 dlid = qp->ibqp.qp_type != IB_QPT_UD ? ib_get_dlid(pkt->hdr) : in hfi1_process_ecn_slowpath() 479 is_mcast = (dlid > be16_to_cpu(IB_MULTICAST_LID_BASE)) && in hfi1_process_ecn_slowpath() 480 (dlid != be16_to_cpu(IB_LID_PERMISSIVE)); in hfi1_process_ecn_slowpath() 528 dlid, rlid, sc, grh); in hfi1_process_ecn_slowpath() 1496 if ((!packet->slid) || (!packet->dlid)) in hfi1_bypass_ingress_pkt_check() [all …]
|
D | trace.c | 194 u16 *len, u32 *dlid, u32 *slid) in hfi1_trace_parse_9b_hdr() argument 201 *dlid = ib_get_dlid(hdr); in hfi1_trace_parse_9b_hdr() 209 u32 *dlid, u32 *slid) in hfi1_trace_parse_16b_hdr() argument 220 *dlid = hfi1_16B_get_dlid(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()
|
D | ruc.c | 75 u32 dlid = packet->dlid; in hfi1_ruc_check_hdr() local 107 slid, dlid); in hfi1_ruc_check_hdr() 144 slid, dlid); in hfi1_ruc_check_hdr()
|
D | ipoib_tx.c | 296 u16 dlid; in hfi1_ipoib_build_ib_tx_headers() local 331 dlid = opa_get_lid(rdma_ah_get_dlid(ah_attr), 9B); in hfi1_ipoib_build_ib_tx_headers() 332 if (dlid == 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()
|
D | user_sdma.c | 314 static u8 dlid_to_selector(u16 dlid) in dlid_to_selector() argument 326 hash = ((dlid >> 8) ^ dlid) & 0xFF; in dlid_to_selector() 359 u16 dlid; in hfi1_user_sdma_process_request() local 576 dlid = be16_to_cpu(req->hdr.lrh[1]); in hfi1_user_sdma_process_request() 577 selector = dlid_to_selector(dlid); in hfi1_user_sdma_process_request()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
D | mthca_av.c | 60 __be16 dlid; member 202 av->dlid = cpu_to_be16(rdma_ah_get_dlid(ah_attr)); in mthca_create_ah() 276 header->lrh.destination_lid = ah->av->dlid; in mthca_read_ah() 304 rdma_ah_set_dlid(attr, be16_to_cpu(ah->av->dlid)); in mthca_ah_query()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
D | ah.c | 65 ah->av.ib.dlid = cpu_to_be16(rdma_ah_get_dlid(ah_attr)); in create_ib_ah() 136 ah->av.ib.dlid = cpu_to_be16(0xc000); in create_iboe_ah() 211 rdma_ah_set_dlid(ah_attr, be16_to_cpu(ah->av.ib.dlid)); in mlx4_ib_query_ah()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/ |
D | ib_user_sa.h | 26 __be16 dlid; member
|
/kernel/linux/linux-5.10/include/uapi/rdma/ |
D | ib_user_sa.h | 58 __be16 dlid; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/ |
D | ib_user_sa.h | 39 __be16 dlid; member
|
D | ib_user_verbs.h | 422 __u16 dlid; member 541 __u16 dlid; member
|
/kernel/linux/linux-5.10/arch/x86/kvm/svm/ |
D | avic.c | 365 int dlid = GET_APIC_LOGICAL_ID(ldr); in avic_get_logical_id_entry() local 367 if (!dlid) in avic_get_logical_id_entry() 371 index = ffs(dlid) - 1; in avic_get_logical_id_entry() 375 int cluster = (dlid & 0xf0) >> 4; in avic_get_logical_id_entry() 376 int apic = ffs(dlid & 0x0f) - 1; in avic_get_logical_id_entry()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
D | qib_ud.c | 436 u16 dlid; in qib_ud_rcv() local 569 dlid = be16_to_cpu(hdr->lrh[1]); in qib_ud_rcv() 573 wc.dlid_path_bits = dlid >= be16_to_cpu(IB_MULTICAST_LID_BASE) ? 0 : in qib_ud_rcv() 574 dlid & ((1 << ppd_from_ibp(ibp)->lmc) - 1); in qib_ud_rcv()
|
D | qib_verbs.h | 304 struct ib_ah *qib_create_qp0_ah(struct qib_ibport *ibp, u16 dlid);
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_misc.c | 279 rdma_ah_set_dlid(dst, src->dlid); in pvrdma_ah_attr_to_rdma() 292 dst->dlid = rdma_ah_get_dlid(src); in rdma_ah_attr_to_pvrdma()
|
D | pvrdma_verbs.h | 229 u16 dlid; member
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | ib_mad.h | 43 __field(u32, dlid) 103 be32_to_cpu(__entry->dlid), __entry->sl, __entry->pkey,
|