Home
last modified time | relevance | path

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

/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()
/drivers/infiniband/hw/hfi1/
Dhfi.h415 #define OPA_16B_LID_MASK 0xFFFFFull macro
466 return (u32)((hdr->lrh[1] & OPA_16B_LID_MASK) | in hfi1_16B_get_dlid()
473 return (u32)((hdr->lrh[0] & OPA_16B_LID_MASK) | in hfi1_16B_get_slid()
2683 lrh0 = (lrh0 & ~OPA_16B_LID_MASK) | (slid & OPA_16B_LID_MASK); in hfi1_make_16b_hdr()
2686 lrh1 = (lrh1 & ~OPA_16B_LID_MASK) | (dlid & OPA_16B_LID_MASK); in hfi1_make_16b_hdr()