Home
last modified time | relevance | path

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

/drivers/infiniband/hw/qib/
Dqib_driver.c600 u32 piosize; in qib_set_mtu() local
614 piosize = ppd->ibmaxlen; in qib_set_mtu()
617 if (arg >= (piosize - QIB_PIO_MAXIBHDR)) { in qib_set_mtu()
619 if (piosize != ppd->init_ibmaxlen) { in qib_set_mtu()
620 if (arg > piosize && arg <= ppd->init_ibmaxlen) in qib_set_mtu()
621 piosize = ppd->init_ibmaxlen - 2 * sizeof(u32); in qib_set_mtu()
622 ppd->ibmaxlen = piosize; in qib_set_mtu()
625 piosize = arg + QIB_PIO_MAXIBHDR - 2 * sizeof(u32); in qib_set_mtu()
626 ppd->ibmaxlen = piosize; in qib_set_mtu()