Home
last modified time | relevance | path

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

/freebsd-13-stable/sys/dev/cxgbe/
HDt4_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 …]
HDt4_main.c302 SYSCTL_INT(_hw_cxgbe, OID_AUTO, nrxq, CTLFLAG_RDTUN, &t4_nrxq, 0,
733 uint16_t nrxq; /* # of NIC rxq's for each port */ member
1461 s->nrxq = nports * iaq.nrxq; in t4_attach()
1464 s->nrxq += nports * (num_vis - 1) * iaq.nrxq_vi; in t4_attach()
1467 s->neq = s->ntxq + s->nrxq; /* the free list in an rxq is an eq */ in t4_attach()
1469 s->niq = s->nrxq + 1; /* 1 extra for firmware event queue */ in t4_attach()
1517 s->rxq = malloc(s->nrxq * sizeof(struct sge_rxq), M_CXGBE, in t4_attach()
1576 vi->nrxq = j == 0 ? iaq.nrxq : iaq.nrxq_vi; in t4_attach()
1579 rqidx += vi->nrxq; in t4_attach()
2664 sbuf_printf(sb, "%d txq, %d rxq (NIC)", vi->ntxq, vi->nrxq); in cxgbe_vi_attach()
[all …]
HDadapter.h226 int nrxq; /* # of rx queues */ member
835 int nrxq; /* total # of Ethernet rx queues */ member
1085 iter < vi->nrxq; ++iter, ++q)
HDt4_sge.c1186 intr_idx = saved_idx + max(vi->nrxq, vi->nnmrxq); in t4_setup_vi_queues()
4657 iqidx = vi->first_rxq + (idx % vi->nrxq); in alloc_txq()
4880 iqidx = vi->first_rxq + (idx % vi->nrxq); in alloc_ofld_txq()
/freebsd-13-stable/sys/dev/sfxge/common/
HDsiena_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()