Home
last modified time | relevance | path

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

/freebsd/sys/dev/cxgbe/
H A Dt4_vf.c318 cfg_itype_and_nqueues(struct adapter *sc, struct intrs_and_queues *iaq) in cfg_itype_and_nqueues() argument
330 bzero(iaq, sizeof(*iaq)); in cfg_itype_and_nqueues()
344 iaq->intr_type = itype; in cfg_itype_and_nqueues()
359 iaq->nirq = T4VF_EXTRA_INTR; in cfg_itype_and_nqueues()
366 iq_avail = vfres->niqflint - iaq->nirq; in cfg_itype_and_nqueues()
380 if (iaq->nirq + nports <= navail) { 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()
435 iaq in cfg_itype_and_nqueues()
485 struct intrs_and_queues iaq; t4vf_attach() local
[all...]
H A Dt4_main.c1194 struct intrs_and_queues iaq; in t4_attach() local
1456 rc = cfg_itype_and_nqueues(sc, &iaq); in t4_attach()
1460 num_vis = iaq.num_vis; in t4_attach()
1461 sc->intr_type = iaq.intr_type; in t4_attach()
1462 sc->intr_count = iaq.nirq; in t4_attach()
1465 s->nrxq = nports * iaq.nrxq; in t4_attach()
1466 s->ntxq = nports * iaq.ntxq; in t4_attach()
1468 s->nrxq += nports * (num_vis - 1) * iaq.nrxq_vi; in t4_attach()
1469 s->ntxq += nports * (num_vis - 1) * iaq.ntxq_vi; in t4_attach()
1476 s->nofldtxq = nports * iaq.nofldtxq; in t4_attach()
[all …]