Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dqp.c837 return mtu_to_enum(mtu, OPA_MTU_8192); in mtu_to_path_mtu()
877 return mtu_to_enum(dd->pport[pidx].ibmtu, IB_MTU_2048); in get_pmtu_from_attr()
Dverbs.c1438 props->max_mtu = mtu_to_enum((!valid_ib_mtu(hfi1_max_mtu) ? in query_port()
1441 mtu_to_enum(ppd->ibmtu, IB_MTU_4096); in query_port()
Dmad.c890 mtu = mtu_to_enum(dd->vld[i].mtu, HFI1_DEFAULT_ACTIVE_MTU); in __subn_get_opa_portinfo()
897 mtu = mtu_to_enum(dd->vld[15].mtu, 2048); in __subn_get_opa_portinfo()
954 pi->mtucap = mtu_to_enum(hfi1_max_mtu, IB_MTU_4096); in __subn_get_opa_portinfo()
Dhfi.h1922 int mtu_to_enum(u32 mtu, int default_if_bad);
Ddriver.c1247 int mtu_to_enum(u32 mtu, int default_if_bad) in mtu_to_enum() function