Home
last modified time | relevance | path

Searched refs:ntxq (Results 1 – 9 of 9) sorted by relevance

/freebsd-14.2/sys/dev/cxgbe/
H A Dt4_vf.c63 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()
423 if (nrxq + ntxq > vfres->neq) { in cfg_itype_and_nqueues()
425 nrxq = ntxq = nports; in cfg_itype_and_nqueues()
436 iaq->ntxq = ntxq; in cfg_itype_and_nqueues()
699 s->ntxq = sc->params.nports * iaq.ntxq; in t4vf_attach()
742 vi->ntxq = j == 0 ? iaq.ntxq: 1; in t4vf_attach()
[all …]
H A Dt4_sched.c423 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 Dadapter.h219 int ntxq; /* # of tx queues */ member
836 int ntxq; /* total # of Ethernet tx queues */ member
1082 iter < vi->ntxq; ++iter, ++q)
H A Dt4_main.c731 uint16_t ntxq; /* # of NIC txq's for each port */ member
1466 s->ntxq = nports * iaq.ntxq; in t4_attach()
1469 s->ntxq += nports * (num_vis - 1) * iaq.ntxq_vi; in t4_attach()
1581 vi->ntxq = j == 0 ? iaq.ntxq : iaq.ntxq_vi; in t4_attach()
1584 tqidx += vi->ntxq; in t4_attach()
1586 if (j == 0 && vi->ntxq > 1) in t4_attach()
4349 iaq->ntxq = t4_ntxq; in calculate_iaq()
4455 iaq->ntxq = 1; in calculate_iaq()
4470 MPASS(iaq->ntxq > 0); in calculate_iaq()
7938 &vi->ntxq, 0, "# of tx queues"); in vi_sysctls()
[all …]
/freebsd-14.2/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()
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-14.2/sys/dev/cxgb/
H A Dcxgb_sge.c2416 const struct qset_params *p, int ntxq, struct port_info *pi) in t3_sge_alloc_qset() argument
2470 for (i = 0; i < ntxq; ++i) { in t3_sge_alloc_qset()
2565 if (ntxq > 1) { in t3_sge_alloc_qset()
2576 if (ntxq > 2) { in t3_sge_alloc_qset()
H A Dcxgb_main.c824 u_int ntxq = SGE_TXQ_PER_SET; in setup_sge_qsets() local
840 &sc->params.sge.qset[qset_idx], ntxq, pi); in setup_sge_qsets()
/freebsd-14.2/sys/compat/linuxkpi/common/src/
H A Dlinux_80211.c6248 struct ieee80211_txq *ntxq; in linuxkpi_ieee80211_handle_wake_tx_queue() local
6257 ntxq = ieee80211_next_txq(hw, txq->ac); in linuxkpi_ieee80211_handle_wake_tx_queue()
6258 if (ntxq == NULL) in linuxkpi_ieee80211_handle_wake_tx_queue()
6262 control.sta = ntxq->sta; in linuxkpi_ieee80211_handle_wake_tx_queue()
6264 skb = linuxkpi_ieee80211_tx_dequeue(hw, ntxq); in linuxkpi_ieee80211_handle_wake_tx_queue()
6270 ieee80211_return_txq(hw, ntxq, false); in linuxkpi_ieee80211_handle_wake_tx_queue()
/freebsd-14.2/sys/dev/cxgbe/crypto/
H A Dt6_kern_tls.c513 txq += ((inp->inp_flowid % (vi->ntxq - vi->rsrv_noflowq)) + in t6_tls_tag_alloc()