Home
last modified time | relevance | path

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

/linux-6.6.21/include/rdma/
Dopa_port_info.h342 u8 pvlx_to_mtu[OPA_MAX_VLS/2]; /* 4 bits, 4 bits */ member
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dmad.c782 if (ppd->vls_supported / 2 > ARRAY_SIZE(pi->neigh_mtu.pvlx_to_mtu) || in __subn_get_opa_portinfo()
846 memset(pi->neigh_mtu.pvlx_to_mtu, 0, sizeof(pi->neigh_mtu.pvlx_to_mtu)); in __subn_get_opa_portinfo()
850 pi->neigh_mtu.pvlx_to_mtu[i / 2] |= (mtu << 4); in __subn_get_opa_portinfo()
852 pi->neigh_mtu.pvlx_to_mtu[i / 2] |= mtu; in __subn_get_opa_portinfo()
856 pi->neigh_mtu.pvlx_to_mtu[15 / 2] |= mtu; in __subn_get_opa_portinfo()
1484 if (ppd->vls_supported / 2 > ARRAY_SIZE(pi->neigh_mtu.pvlx_to_mtu) || in __subn_set_opa_portinfo()
1491 mtu = enum_to_mtu((pi->neigh_mtu.pvlx_to_mtu[i / 2] >> in __subn_set_opa_portinfo()
1494 mtu = enum_to_mtu(pi->neigh_mtu.pvlx_to_mtu[i / 2] & in __subn_set_opa_portinfo()
1499 (pi->neigh_mtu.pvlx_to_mtu[0] >> 4) & 0xF); in __subn_set_opa_portinfo()
1514 mtu = enum_to_mtu(pi->neigh_mtu.pvlx_to_mtu[15 / 2] & 0xF); in __subn_set_opa_portinfo()