Home
last modified time | relevance | path

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

/freebsd/sys/dev/cxgbe/
H A Dt4_vf.c322 int itype, iq_avail, navail, rc; in cfg_itype_and_nqueues() local
366 iq_avail = vfres->niqflint - iaq->nirq; in cfg_itype_and_nqueues()
367 if (iq_avail < nports) { in cfg_itype_and_nqueues()
381 if (iq_avail > navail - iaq->nirq) in cfg_itype_and_nqueues()
382 iq_avail = navail - iaq->nirq; in cfg_itype_and_nqueues()
386 if (nrxq > iq_avail) { in cfg_itype_and_nqueues()
390 nrxq = (iq_avail / nports) * nports; in cfg_itype_and_nqueues()
392 KASSERT(nrxq <= iq_avail, ("too many ingress queues")); in cfg_itype_and_nqueues()
427 KASSERT(nrxq <= iq_avail, ("too many ingress queues")); in cfg_itype_and_nqueues()