Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/qib/ !
Dqib_qp.c265 static int mtu_to_enum(u32 mtu) in mtu_to_enum() function
303 pmtu = mtu_to_enum(dd->pport[pidx].ibmtu); in qib_get_pmtu_from_attr()
311 return mtu_to_enum(mtu); in qib_mtu_to_path_mtu()
/linux-6.6.21/drivers/infiniband/hw/hfi1/ !
Dqp.c796 return mtu_to_enum(mtu, OPA_MTU_8192); in mtu_to_path_mtu()
836 return mtu_to_enum(dd->pport[pidx].ibmtu, IB_MTU_2048); in get_pmtu_from_attr()
Dverbs.c1396 props->max_mtu = mtu_to_enum((!valid_ib_mtu(hfi1_max_mtu) ? in query_port()
1399 mtu_to_enum(ppd->ibmtu, IB_MTU_4096); in query_port()
Dmad.c848 mtu = mtu_to_enum(dd->vld[i].mtu, HFI1_DEFAULT_ACTIVE_MTU); in __subn_get_opa_portinfo()
855 mtu = mtu_to_enum(dd->vld[15].mtu, 2048); in __subn_get_opa_portinfo()
912 pi->mtucap = mtu_to_enum(hfi1_max_mtu, IB_MTU_4096); in __subn_get_opa_portinfo()
Dhfi.h1870 int mtu_to_enum(u32 mtu, int default_if_bad);
Ddriver.c1200 int mtu_to_enum(u32 mtu, int default_if_bad) in mtu_to_enum() function