Searched refs:ntxq (Results 1 - 8 of 8) sorted by last modified time

/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_main.c263 SYSCTL_INT(_hw_cxgbe, OID_AUTO, ntxq, CTLFLAG_RDTUN, &t4_ntxq, 0,
581 uint16_t ntxq; /* # of NIC txq's for each port */ member in struct:intrs_and_queues
1169 s->ntxq = nports * iaq.ntxq;
1172 s->ntxq += nports * (num_vis - 1) * iaq.ntxq_vi;
1174 s->neq = s->ntxq + s->nrxq; /* the free list in an rxq is an eq */
1212 s->txq = malloc(s->ntxq * sizeof(struct sge_txq), M_CXGBE,
1261 vi->ntxq = j == 0 ? iaq.ntxq : iaq.ntxq_vi;
1264 tqidx += vi->ntxq;
[all...]
H A Dt4_vf.c65 uint16_t ntxq; /* # of NIC txq's for each port */ member in struct:intrs_and_queues
314 int nrxq, ntxq, nports; local
398 ntxq = nports * t4_ntxq;
399 if (ntxq > vfres->nethctrl) {
403 ntxq = (vfres->nethctrl / nports) * nports;
405 KASSERT(ntxq <= vfres->nethctrl, ("too many ETH queues"));
416 if (nrxq + ntxq > vfres->neq) {
418 nrxq = ntxq = nports;
421 KASSERT(ntxq <= vfres->nethctrl, ("too many ETH queues"));
422 KASSERT(nrxq + ntxq <
[all...]
H A Dt4_sched.c396 MPASS(vi->ntxq > 0);
398 if (!in_range(p->queue, 0, vi->ntxq - 1) ||
572 MPASS(qidx >= 0 && qidx < vi->ntxq);
H A Dadapter.h207 int ntxq; /* # of tx queues */ member in struct:vi_info
733 int ntxq; /* total # of Ethernet tx queues */ member in struct:sge
936 iter < vi->ntxq; ++iter, ++q)
/freebsd-11-stable/sys/dev/cxgb/
H A Dcxgb_main.c824 u_int ntxq = SGE_TXQ_PER_SET; local
840 &sc->params.sge.qset[qset_idx], ntxq, pi);
H A Dcxgb_sge.c2408 * @ntxq: number of Tx queues for the queue set
2418 const struct qset_params *p, int ntxq, struct port_info *pi)
2475 for (i = 0; i < ntxq; ++i) {
2570 if (ntxq > 1) {
2581 if (ntxq > 2) {
2417 t3_sge_alloc_qset(adapter_t *sc, u_int id, int nports, int irq_vec_idx, const struct qset_params *p, int ntxq, struct port_info *pi) argument
/freebsd-11-stable/sys/dev/vmware/vmxnet3/
H A Dif_vmx.c3089 int i, ntxq, error; local
3092 ntxq = sc->vmx_ntxqueues;
3096 i = m->m_pkthdr.flowid % ntxq;
3098 i = curcpu % ntxq;
/freebsd-11-stable/sys/dev/sfxge/common/
H A Dsiena_nic.c92 uint32_t nevq, nrxq, ntxq; local
145 rc = efx_mcdi_get_resource_limits(enp, &nevq, &nrxq, &ntxq);
152 ntxq = EFX_TXQ_LIMIT_TARGET;
156 encp->enc_txq_limit = MIN(EFX_TXQ_LIMIT_TARGET, ntxq);

Completed in 154 milliseconds