Searched refs:ibmtu (Results 1 – 12 of 12) sorted by relevance
57 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()
302 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()
603 u32 ibmtu; /* The MTU programmed for this unit */ member
1247 switch (ppd->ibmtu) { in qib_query_port()1370 ah->log_pmtu = ilog2(ppd->ibmtu); in qib_notify_new_ah()
516 switch (ppd->ibmtu) { in subn_get_portinfo()
3102 dd->pport->ibmtu = (u32)mtu; in get_6120_chip_params()
5775 dd->pport[0].ibmtu = (u32)mtu; in get_7322_chip_params()5776 dd->pport[1].ibmtu = (u32)mtu; in get_7322_chip_params()
3810 dd->pport->ibmtu = (u32)mtu; in get_7220_chip_params()
1190 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()
772 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()
1498 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()
764 u32 ibmtu; /* The MTU programmed for this unit */ member