Home
last modified time | relevance | path

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

/freebsd/sys/dev/cxgbe/
H A Dt4_vf.c64 uint16_t nrxq; /* # of NIC rxq's for each port */ member
321 int nrxq, ntxq, nports; in cfg_itype_and_nqueues() local
385 nrxq = nports * t4_nrxq; 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()
423 if (nrxq + ntxq > vfres->neq) { in cfg_itype_and_nqueues()
425 nrxq = ntxq = nports; in cfg_itype_and_nqueues()
427 KASSERT(nrxq <= iq_avail, ("too many ingress queues")); in cfg_itype_and_nqueues()
429 KASSERT(nrxq + ntxq <= vfres->neq, ("too many egress queues")); in cfg_itype_and_nqueues()
[all …]
H A Dt4_main.c295 SYSCTL_INT(_hw_cxgbe, OID_AUTO, nrxq, CTLFLAG_RDTUN, &t4_nrxq, 0,
737 uint16_t nrxq; /* # of NIC rxq's for each port */ member
1470 s->nrxq = nports * iaq.nrxq; in t4_attach()
1473 s->nrxq += nports * (num_vis - 1) * iaq.nrxq_vi; in t4_attach()
1476 s->neq = s->ntxq + s->nrxq; /* the free list in an rxq is an eq */ in t4_attach()
1478 s->niq = s->nrxq + 1; /* 1 extra for firmware event queue */ in t4_attach()
1526 s->rxq = malloc(s->nrxq * sizeof(struct sge_rxq), M_CXGBE, in t4_attach()
1585 vi->nrxq = j == 0 ? iaq.nrxq : iaq.nrxq_vi; in t4_attach()
1588 rqidx += vi->nrxq; in t4_attach()
2814 sbuf_printf(sb, "%d txq, %d rxq (NIC)", vi->ntxq, vi->nrxq); in cxgbe_vi_attach()
[all …]
H A Dadapter.h222 int nrxq; /* # of rx queues */ member
835 int nrxq; /* total # of Ethernet rx queues */ member
1085 iter < vi->nrxq; ++iter, ++q)
H A Dt4_sge.c1175 intr_idx = saved_idx + max(vi->nrxq, vi->nnmrxq); in t4_setup_vi_queues()
4612 iqidx = vi->first_rxq + (idx % vi->nrxq); in alloc_txq()
4835 iqidx = vi->first_rxq + (idx % vi->nrxq); in alloc_ofld_txq()
/freebsd/sys/dev/sfxge/common/
H A Dsiena_nic.c92 uint32_t nevq, nrxq, ntxq; in siena_board_cfg() local
166 rc = efx_mcdi_get_resource_limits(enp, &nevq, &nrxq, &ntxq); in siena_board_cfg()
172 nrxq = EFX_RXQ_LIMIT_TARGET; in siena_board_cfg()
176 encp->enc_rxq_limit = MIN(EFX_RXQ_LIMIT_TARGET, nrxq); in siena_board_cfg()