Home
last modified time | relevance | path

Searched refs:hfi1_max_mtu (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dinit.c473 if (rcd->egrbufs.size < hfi1_max_mtu) { in hfi1_create_ctxtdata()
474 rcd->egrbufs.size = __roundup_pow_of_two(hfi1_max_mtu); in hfi1_create_ctxtdata()
1433 if (!valid_opa_max_mtu(hfi1_max_mtu)) { in hfi1_mod_init()
1435 hfi1_max_mtu, HFI1_DEFAULT_MAX_MTU); in hfi1_mod_init()
1436 hfi1_max_mtu = HFI1_DEFAULT_MAX_MTU; in hfi1_mod_init()
1867 u16 round_mtu = roundup_pow_of_two(hfi1_max_mtu); in hfi1_setup_eagerbufs()
Dverbs.c1438 props->max_mtu = mtu_to_enum((!valid_ib_mtu(hfi1_max_mtu) ? in query_port()
1439 4096 : hfi1_max_mtu), IB_MTU_4096); in query_port()
1442 props->phys_mtu = HFI1_CAP_IS_KSET(AIP) ? hfi1_max_mtu : in query_port()
Dpio.c819 sc_mtu_to_threshold(sc, hfi1_max_mtu, in sc_alloc()
2056 dd->vld[i].mtu = hfi1_max_mtu; in init_pervl_scs()
Ddriver.c81 unsigned int hfi1_max_mtu = HFI1_DEFAULT_MAX_MTU; variable
82 module_param_named(max_mtu, hfi1_max_mtu, uint, S_IRUGO);
Dhfi.h2238 extern unsigned int hfi1_max_mtu;
Dmad.c954 pi->mtucap = mtu_to_enum(hfi1_max_mtu, IB_MTU_4096); in __subn_get_opa_portinfo()
1543 mtu = hfi1_max_mtu; /* use a valid MTU */ in __subn_set_opa_portinfo()
Dchip.c15076 dd->vld[vl].mtu = hfi1_max_mtu; in hfi1_init_dd()