Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/hfi1/
H A Dinit.c432 if (rcd->egrbufs.size < hfi1_max_mtu) { in hfi1_create_ctxtdata()
433 rcd->egrbufs.size = __roundup_pow_of_two(hfi1_max_mtu); in hfi1_create_ctxtdata()
1391 if (!valid_opa_max_mtu(hfi1_max_mtu)) { in hfi1_mod_init()
1393 hfi1_max_mtu, HFI1_DEFAULT_MAX_MTU); in hfi1_mod_init()
1394 hfi1_max_mtu = HFI1_DEFAULT_MAX_MTU; in hfi1_mod_init()
1819 u16 round_mtu = roundup_pow_of_two(hfi1_max_mtu); in hfi1_setup_eagerbufs()
H A Dverbs.c1396 props->max_mtu = mtu_to_enum((!valid_ib_mtu(hfi1_max_mtu) ? in query_port()
1397 4096 : hfi1_max_mtu), IB_MTU_4096); in query_port()
1400 props->phys_mtu = hfi1_max_mtu; in query_port()
H A Dpio.c777 sc_mtu_to_threshold(sc, hfi1_max_mtu, in sc_alloc()
2010 dd->vld[i].mtu = hfi1_max_mtu; in init_pervl_scs()
H A Ddriver.c34 unsigned int hfi1_max_mtu = HFI1_DEFAULT_MAX_MTU; variable
35 module_param_named(max_mtu, hfi1_max_mtu, uint, S_IRUGO);
H A Dmad.c912 pi->mtucap = mtu_to_enum(hfi1_max_mtu, IB_MTU_4096); in __subn_get_opa_portinfo()
1501 mtu = hfi1_max_mtu; /* use a valid MTU */ in __subn_set_opa_portinfo()
H A Dchip.c15043 dd->vld[vl].mtu = hfi1_max_mtu; in hfi1_init_dd()