Searched refs:piosize (Results 1 – 2 of 2) sorted by relevance
610 u32 piosize; in qib_set_mtu() local624 piosize = ppd->ibmaxlen; in qib_set_mtu()627 if (arg >= (piosize - QIB_PIO_MAXIBHDR)) { in qib_set_mtu()629 if (piosize != ppd->init_ibmaxlen) { in qib_set_mtu()630 if (arg > piosize && arg <= ppd->init_ibmaxlen) in qib_set_mtu()631 piosize = ppd->init_ibmaxlen - 2 * sizeof(u32); in qib_set_mtu()632 ppd->ibmaxlen = piosize; in qib_set_mtu()635 piosize = arg + QIB_PIO_MAXIBHDR - 2 * sizeof(u32); in qib_set_mtu()636 ppd->ibmaxlen = piosize; in qib_set_mtu()
2136 u32 piosize; in ipath_set_mtu() local2157 piosize = dd->ipath_ibmaxlen; in ipath_set_mtu()2160 if (arg >= (piosize - IPATH_PIO_MAXIBHDR)) { in ipath_set_mtu()2162 if (piosize != dd->ipath_init_ibmaxlen) { in ipath_set_mtu()2163 if (arg > piosize && arg <= dd->ipath_init_ibmaxlen) in ipath_set_mtu()2164 piosize = dd->ipath_init_ibmaxlen; in ipath_set_mtu()2165 dd->ipath_ibmaxlen = piosize; in ipath_set_mtu()2169 piosize = arg + IPATH_PIO_MAXIBHDR; in ipath_set_mtu()2171 "(mtu 0x%x)\n", dd->ipath_ibmaxlen, piosize, in ipath_set_mtu()2173 dd->ipath_ibmaxlen = piosize; in ipath_set_mtu()[all …]