Home
last modified time | relevance | path

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

/Linux-v4.19/include/rdma/
Dopa_port_info.h375 u8 pvlx_to_mtu[OPA_MAX_VLS/2]; /* 4 bits, 4 bits */ member
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dmad.c824 if (ppd->vls_supported / 2 > ARRAY_SIZE(pi->neigh_mtu.pvlx_to_mtu) || in __subn_get_opa_portinfo()
888 memset(pi->neigh_mtu.pvlx_to_mtu, 0, sizeof(pi->neigh_mtu.pvlx_to_mtu)); in __subn_get_opa_portinfo()
892 pi->neigh_mtu.pvlx_to_mtu[i / 2] |= (mtu << 4); in __subn_get_opa_portinfo()
894 pi->neigh_mtu.pvlx_to_mtu[i / 2] |= mtu; in __subn_get_opa_portinfo()
898 pi->neigh_mtu.pvlx_to_mtu[15 / 2] |= mtu; in __subn_get_opa_portinfo()
1526 if (ppd->vls_supported / 2 > ARRAY_SIZE(pi->neigh_mtu.pvlx_to_mtu) || in __subn_set_opa_portinfo()
1533 mtu = enum_to_mtu((pi->neigh_mtu.pvlx_to_mtu[i / 2] >> in __subn_set_opa_portinfo()
1536 mtu = enum_to_mtu(pi->neigh_mtu.pvlx_to_mtu[i / 2] & in __subn_set_opa_portinfo()
1541 (pi->neigh_mtu.pvlx_to_mtu[0] >> 4) & 0xF); in __subn_set_opa_portinfo()
1556 mtu = enum_to_mtu(pi->neigh_mtu.pvlx_to_mtu[15 / 2] & 0xF); in __subn_set_opa_portinfo()