Home
last modified time | relevance | path

Searched refs:OPA_16B_LID_MASK (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_encap.c58 #define OPA_16B_LID_MASK 0xFFFFFull macro
85 h[0] |= (slid & OPA_16B_LID_MASK); in opa_vnic_make_header()
88 h[1] |= (dlid & OPA_16B_LID_MASK); in opa_vnic_make_header()
/linux-6.12.1/drivers/infiniband/hw/hfi1/
Dhfi.h374 #define OPA_16B_LID_MASK 0xFFFFFull macro
425 return (u32)((hdr->lrh[1] & OPA_16B_LID_MASK) | in hfi1_16B_get_dlid()
432 return (u32)((hdr->lrh[0] & OPA_16B_LID_MASK) | in hfi1_16B_get_slid()
2630 lrh0 = (lrh0 & ~OPA_16B_LID_MASK) | (slid & OPA_16B_LID_MASK); in hfi1_make_16b_hdr()
2633 lrh1 = (lrh1 & ~OPA_16B_LID_MASK) | (dlid & OPA_16B_LID_MASK); in hfi1_make_16b_hdr()