Searched refs:ibmtu (Results 1 – 12 of 12) sorted by relevance
55 module_param_named(ibmtu, qib_ibmtu, uint, S_IRUGO);56 MODULE_PARM_DESC(ibmtu, "Set max IB MTU (0=2KB, 1=256, 2=512, ... 5=4096");615 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()
604 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()
3097 dd->pport->ibmtu = (u32)mtu; in get_6120_chip_params()
5769 dd->pport[0].ibmtu = (u32)mtu; in get_7322_chip_params()5770 dd->pport[1].ibmtu = (u32)mtu; in get_7322_chip_params()
3807 dd->pport->ibmtu = (u32)mtu; in get_7220_chip_params()
1290 ppd->ibmtu = 0; in set_mtu()1292 if (ppd->ibmtu < dd->vld[i].mtu) in set_mtu()1293 ppd->ibmtu = dd->vld[i].mtu; in set_mtu()1294 ppd->ibmaxlen = ppd->ibmtu + lrh_max_header_bytes(ppd->dd); in set_mtu()
876 if (mtu > dd->pport[pidx].ibmtu) in get_pmtu_from_attr()877 return mtu_to_enum(dd->pport[pidx].ibmtu, IB_MTU_2048); in get_pmtu_from_attr()
1440 props->active_mtu = !valid_ib_mtu(ppd->ibmtu) ? props->max_mtu : in query_port()1441 mtu_to_enum(ppd->ibmtu, IB_MTU_4096); in query_port()
837 u32 ibmtu; /* The MTU programmed for this unit */ member