Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_driver.c601 u32 piosize; in qib_set_mtu() local
615 piosize = ppd->ibmaxlen; in qib_set_mtu()
618 if (arg >= (piosize - QIB_PIO_MAXIBHDR)) { in qib_set_mtu()
620 if (piosize != ppd->init_ibmaxlen) { in qib_set_mtu()
621 if (arg > piosize && arg <= ppd->init_ibmaxlen) in qib_set_mtu()
622 piosize = ppd->init_ibmaxlen - 2 * sizeof(u32); in qib_set_mtu()
623 ppd->ibmaxlen = piosize; in qib_set_mtu()
626 piosize = arg + QIB_PIO_MAXIBHDR - 2 * sizeof(u32); in qib_set_mtu()
627 ppd->ibmaxlen = piosize; in qib_set_mtu()