Searched refs:hfi1_max_mtu (Results 1 - 14 of 14) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | init.c | 473 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()
|
H A D | verbs.c | 1438 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_max_mtu; in query_port()
|
H A D | pio.c | 819 sc_mtu_to_threshold(sc, hfi1_max_mtu, in sc_alloc() 2055 dd->vld[i].mtu = hfi1_max_mtu; in init_pervl_scs()
|
H A D | driver.c | 81 unsigned int hfi1_max_mtu = HFI1_DEFAULT_MAX_MTU; variable 82 module_param_named(max_mtu, hfi1_max_mtu, uint, S_IRUGO);
|
H A D | hfi.h | 2238 extern unsigned int hfi1_max_mtu;
|
H A D | mad.c | 954 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()
|
H A D | chip.c | 15082 dd->vld[vl].mtu = hfi1_max_mtu; in hfi1_init_dd()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | init.c | 432 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() 1392 if (!valid_opa_max_mtu(hfi1_max_mtu)) { in hfi1_mod_init() 1394 hfi1_max_mtu, HFI1_DEFAULT_MAX_MTU); in hfi1_mod_init() 1395 hfi1_max_mtu = HFI1_DEFAULT_MAX_MTU; in hfi1_mod_init() 1820 u16 round_mtu = roundup_pow_of_two(hfi1_max_mtu); in hfi1_setup_eagerbufs()
|
H A D | verbs.c | 1396 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 D | driver.c | 34 unsigned int hfi1_max_mtu = HFI1_DEFAULT_MAX_MTU; variable 35 module_param_named(max_mtu, hfi1_max_mtu, uint, S_IRUGO);
|
H A D | pio.c | 777 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 D | hfi.h | 2185 extern unsigned int hfi1_max_mtu;
|
H A D | mad.c | 912 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 D | chip.c | 15042 dd->vld[vl].mtu = hfi1_max_mtu; in hfi1_init_dd()
|
Completed in 76 milliseconds