Searched refs:ntxq (Results 1 – 9 of 9) sorted by relevance
/freebsd/sys/dev/cxgbe/ |
H A D | t4_vf.c | 63 uint16_t ntxq; /* # of NIC txq's for each port */ member 321 int nrxq, ntxq, nports; in cfg_itype_and_nqueues() local 405 ntxq = nports * t4_ntxq; in cfg_itype_and_nqueues() 406 if (ntxq > vfres->nethctrl) { in cfg_itype_and_nqueues() 410 ntxq = (vfres->nethctrl / nports) * nports; in cfg_itype_and_nqueues() 412 KASSERT(ntxq <= vfres->nethctrl, ("too many ETH 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() 428 KASSERT(ntxq <= vfres->nethctrl, ("too many ETH queues")); in cfg_itype_and_nqueues() 429 KASSERT(nrxq + ntxq <= vfres->neq, ("too many egress queues")); in cfg_itype_and_nqueues() [all …]
|
H A D | t4_sched.c | 423 MPASS(vi->ntxq > 0); in t4_set_sched_queue() 425 if (!in_range(p->queue, 0, vi->ntxq - 1) || in t4_set_sched_queue() 597 MPASS(qidx >= vi->first_txq && qidx < vi->first_txq + vi->ntxq); in sysctl_tc()
|
H A D | adapter.h | 219 int ntxq; /* # of tx queues */ member 836 int ntxq; /* total # of Ethernet tx queues */ member 1082 iter < vi->ntxq; ++iter, ++q)
|
H A D | t4_main.c | 289 SYSCTL_INT(_hw_cxgbe, OID_AUTO, ntxq, CTLFLAG_RDTUN, &t4_ntxq, 0, 736 uint16_t ntxq; /* # of NIC txq's for each port */ member 1471 s->ntxq = nports * iaq.ntxq; in t4_attach() 1474 s->ntxq += nports * (num_vis - 1) * iaq.ntxq_vi; in t4_attach() 1476 s->neq = s->ntxq + s->nrxq; /* the free list in an rxq is an eq */ in t4_attach() 1528 s->txq = malloc(s->ntxq * sizeof(struct sge_txq), M_CXGBE, in t4_attach() 1586 vi->ntxq = j == 0 ? iaq.ntxq : iaq.ntxq_vi; in t4_attach() 1589 tqidx += vi->ntxq; in t4_attach() 1591 if (j == 0 && vi->ntxq > 1) in t4_attach() 2814 sbuf_printf(sb, "%d txq, %d rxq (NIC)", vi->ntxq, vi->nrxq); in cxgbe_vi_attach() [all …]
|
/freebsd/sys/dev/sfxge/common/ |
H A D | siena_nic.c | 92 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() 173 ntxq = EFX_TXQ_LIMIT_TARGET; in siena_board_cfg() 177 encp->enc_txq_limit = MIN(EFX_TXQ_LIMIT_TARGET, ntxq); in siena_board_cfg()
|
/freebsd/sys/dev/cxgb/ |
H A D | cxgb_sge.c | 2413 const struct qset_params *p, int ntxq, struct port_info *pi) in t3_sge_alloc_qset() argument 2467 for (i = 0; i < ntxq; ++i) { in t3_sge_alloc_qset() 2562 if (ntxq > 1) { in t3_sge_alloc_qset() 2573 if (ntxq > 2) { in t3_sge_alloc_qset()
|
H A D | cxgb_main.c | 821 u_int ntxq = SGE_TXQ_PER_SET; in setup_sge_qsets() local 837 &sc->params.sge.qset[qset_idx], ntxq, pi); in setup_sge_qsets()
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_80211.c | 7491 struct ieee80211_txq *ntxq; local 7500 ntxq = ieee80211_next_txq(hw, txq->ac); 7501 if (ntxq == NULL) 7505 control.sta = ntxq->sta; 7507 skb = linuxkpi_ieee80211_tx_dequeue(hw, ntxq); 7513 ieee80211_return_txq(hw, ntxq, false);
|
/freebsd/sys/dev/cxgbe/crypto/ |
H A D | t6_kern_tls.c | 512 txq += ((inp->inp_flowid % (vi->ntxq - vi->rsrv_noflowq)) + in t6_tls_tag_alloc()
|