Lines Matching defs:ntxq
63 uint16_t ntxq; /* # of NIC txq's for each port */
359 int nrxq, ntxq, nports;
443 ntxq = nports * t4_ntxq;
444 if (ntxq > vfres->nethctrl) {
448 ntxq = (vfres->nethctrl / nports) * nports;
450 KASSERT(ntxq <= vfres->nethctrl, ("too many ETH queues"));
461 if (nrxq + ntxq > vfres->neq) {
463 nrxq = ntxq = nports;
466 KASSERT(ntxq <= vfres->nethctrl, ("too many ETH queues"));
467 KASSERT(nrxq + ntxq <= vfres->neq, ("too many egress queues"));
474 iaq->ntxq = ntxq;
737 s->ntxq = sc->params.nports * iaq.ntxq;
738 s->neq = s->ntxq + s->nrxq; /* the free list in an rxq is an eq */
747 s->txq = malloc(s->ntxq * sizeof(struct sge_txq), M_CXGBE,
780 vi->ntxq = j == 0 ? iaq.ntxq: 1;
783 tqidx += vi->ntxq;