Home
last modified time | relevance | path

Searched refs:OPA_MAKE_ID (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/include/rdma/
H A Dopa_addr.h12 #define OPA_MAKE_ID(x) (cpu_to_be64(OPA_SPECIAL_OUI << 40 | (x))) macro
H A Dib_sa.h227 = OPA_MAKE_ID(be32_to_cpu(opa->opa.dlid)); in path_conv_opa_to_ib()
231 = OPA_MAKE_ID(be32_to_cpu(opa->opa.slid)); in path_conv_opa_to_ib()
/openbmc/linux/drivers/infiniband/core/
H A Duverbs_marshall.c58 rdma_ah_set_interface_id(ib, OPA_MAKE_ID(rdma_ah_get_dlid(opa))); in rdma_ah_conv_opa_to_ib()
H A Dcm.c1374 OPA_MAKE_ID(be32_to_cpu(pri_path->opa.slid)); in cm_format_req()
1377 OPA_MAKE_ID(be32_to_cpu(pri_path->opa.dlid)); in cm_format_req()
1429 OPA_MAKE_ID(be32_to_cpu(alt_path->opa.slid)); in cm_format_req()
1433 OPA_MAKE_ID(be32_to_cpu(alt_path->opa.dlid)); in cm_format_req()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dhfi.h2450 rdma_ah_set_interface_id(attr, OPA_MAKE_ID(dlid)); in hfi1_update_ah_attr()
2585 OPA_MAKE_ID(be32_to_cpu(OPA_LID_PERMISSIVE)); in hfi1_make_ext_grh()
2587 grh->sgid.global.interface_id = OPA_MAKE_ID(slid); in hfi1_make_ext_grh()
H A Dmad.c229 grh->dgid.global.interface_id = OPA_MAKE_ID(dlid); in hfi1_update_sm_ah_attr()
1394 be64_to_cpu(OPA_MAKE_ID(lid)); in __subn_set_opa_portinfo()