Searched refs:ibmtu (Results 1 – 12 of 12) sorted by relevance
50 module_param_named(ibmtu, qib_ibmtu, uint, S_IRUGO);51 MODULE_PARM_DESC(ibmtu, "Set max IB MTU (0=2KB, 1=256, 2=512, ... 5=4096");610 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()
600 u32 ibmtu; /* The MTU programmed for this unit */ member
1212 switch (ppd->ibmtu) { in qib_query_port()1335 ah->log_pmtu = ilog2(ppd->ibmtu); in qib_notify_new_ah()
516 switch (ppd->ibmtu) { in subn_get_portinfo()
3094 dd->pport->ibmtu = (u32)mtu; in get_6120_chip_params()
5746 dd->pport[0].ibmtu = (u32)mtu; in get_7322_chip_params()5747 dd->pport[1].ibmtu = (u32)mtu; in get_7322_chip_params()
3807 dd->pport->ibmtu = (u32)mtu; in get_7220_chip_params()
1243 ppd->ibmtu = 0; in set_mtu()1245 if (ppd->ibmtu < dd->vld[i].mtu) in set_mtu()1246 ppd->ibmtu = dd->vld[i].mtu; in set_mtu()1247 ppd->ibmaxlen = ppd->ibmtu + lrh_max_header_bytes(ppd->dd); in set_mtu()
835 if (mtu > dd->pport[pidx].ibmtu) in get_pmtu_from_attr()836 return mtu_to_enum(dd->pport[pidx].ibmtu, IB_MTU_2048); in get_pmtu_from_attr()
1398 props->active_mtu = !valid_ib_mtu(ppd->ibmtu) ? props->max_mtu : in query_port()1399 mtu_to_enum(ppd->ibmtu, IB_MTU_4096); in query_port()
786 u32 ibmtu; /* The MTU programmed for this unit */ member