Home
last modified time | relevance | path

Searched refs:ibmtu (Results 1 – 12 of 12) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_driver.c57 module_param_named(ibmtu, qib_ibmtu, uint, S_IRUGO);
58 MODULE_PARM_DESC(ibmtu, "Set max IB MTU (0=2KB, 1=256, 2=512, ... 5=4096");
619 ppd->ibmtu = arg; in qib_set_mtu()
Dqib_qp.c302 if (mtu > dd->pport[pidx].ibmtu) in qib_get_pmtu_from_attr()
303 pmtu = mtu_to_enum(dd->pport[pidx].ibmtu); in qib_get_pmtu_from_attr()
Dqib.h603 u32 ibmtu; /* The MTU programmed for this unit */ member
Dqib_verbs.c1247 switch (ppd->ibmtu) { in qib_query_port()
1370 ah->log_pmtu = ilog2(ppd->ibmtu); in qib_notify_new_ah()
Dqib_mad.c516 switch (ppd->ibmtu) { in subn_get_portinfo()
Dqib_iba6120.c3102 dd->pport->ibmtu = (u32)mtu; in get_6120_chip_params()
Dqib_iba7322.c5775 dd->pport[0].ibmtu = (u32)mtu; in get_7322_chip_params()
5776 dd->pport[1].ibmtu = (u32)mtu; in get_7322_chip_params()
Dqib_iba7220.c3810 dd->pport->ibmtu = (u32)mtu; in get_7220_chip_params()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Ddriver.c1190 ppd->ibmtu = 0; in set_mtu()
1192 if (ppd->ibmtu < dd->vld[i].mtu) in set_mtu()
1193 ppd->ibmtu = dd->vld[i].mtu; in set_mtu()
1194 ppd->ibmaxlen = ppd->ibmtu + lrh_max_header_bytes(ppd->dd); in set_mtu()
Dqp.c772 if (mtu > dd->pport[pidx].ibmtu) in get_pmtu_from_attr()
773 return mtu_to_enum(dd->pport[pidx].ibmtu, IB_MTU_2048); in get_pmtu_from_attr()
Dverbs.c1498 props->active_mtu = !valid_ib_mtu(ppd->ibmtu) ? props->max_mtu : in query_port()
1499 mtu_to_enum(ppd->ibmtu, IB_MTU_4096); in query_port()
Dhfi.h764 u32 ibmtu; /* The MTU programmed for this unit */ member