Searched refs:ntxq (Results 1 – 9 of 9) sorted by relevance
| /freebsd-10-stable/sys/dev/cxgbe/ |
| D | t4_vf.c | 316 int ntxq10g, ntxq1g, ntxq; in cfg_itype_and_nqueues() local 412 ntxq = n10g * ntxq10g + n1g * ntxq1g; in cfg_itype_and_nqueues() 413 if (ntxq > vfres->nethctrl) { in cfg_itype_and_nqueues() 416 ntxq = n10g * ntxq10g + n1g * ntxq1g; in cfg_itype_and_nqueues() 418 if (ntxq > vfres->nethctrl) { in cfg_itype_and_nqueues() 424 ntxq = n10g * ntxq10g + n1g * ntxq1g; in cfg_itype_and_nqueues() 426 KASSERT(ntxq <= vfres->nethctrl, ("too many ETH queues")); in cfg_itype_and_nqueues() 437 if (nrxq + ntxq > vfres->neq) { in cfg_itype_and_nqueues() 441 ntxq = n10g * ntxq10g + n1g * ntxq1g; in cfg_itype_and_nqueues() 444 KASSERT(ntxq <= vfres->nethctrl, ("too many ETH queues")); in cfg_itype_and_nqueues() [all …]
|
| D | adapter.h | 201 int ntxq; /* # of tx queues */ member 702 int ntxq; /* total # of Ethernet tx queues */ member 910 iter < vi->ntxq; ++iter, ++q)
|
| D | t4_sched.c | 282 if (!in_range(p->queue, 0, vi->ntxq - 1) || in t4_set_sched_queue()
|
| D | t4_main.c | 1020 s->ntxq = n10g * iaq.ntxq10g + n1g * iaq.ntxq1g; in t4_attach() 1023 s->ntxq += (n10g + n1g) * (num_vis - 1) * iaq.ntxq_vi; in t4_attach() 1025 s->neq = s->ntxq + s->nrxq; /* the free list in an rxq is an eq */ in t4_attach() 1065 s->txq = malloc(s->ntxq * sizeof(struct sge_txq), M_CXGBE, in t4_attach() 1109 vi->ntxq = j == 0 ? iaq.ntxq10g : iaq.ntxq_vi; in t4_attach() 1115 vi->ntxq = j == 0 ? iaq.ntxq1g : iaq.ntxq_vi; in t4_attach() 1118 tqidx += vi->ntxq; in t4_attach() 1120 if (j == 0 && vi->ntxq > 1) in t4_attach() 1402 sbuf_printf(sb, "%d txq, %d rxq (NIC)", vi->ntxq, vi->nrxq); in cxgbe_vi_attach() 1767 txq += ((m->m_pkthdr.flowid % (vi->ntxq - vi->rsrv_noflowq)) + in cxgbe_transmit() [all …]
|
| D | t4_sge.c | 5206 MPASS(qidx >= 0 && qidx < vi->ntxq); in sysctl_tc()
|
| /freebsd-10-stable/sys/dev/sfxge/common/ |
| D | siena_nic.c | 92 uint32_t nevq, nrxq, ntxq; in siena_board_cfg() local 145 rc = efx_mcdi_get_resource_limits(enp, &nevq, &nrxq, &ntxq); in siena_board_cfg() 152 ntxq = EFX_TXQ_LIMIT_TARGET; in siena_board_cfg() 156 encp->enc_txq_limit = MIN(EFX_TXQ_LIMIT_TARGET, ntxq); in siena_board_cfg()
|
| /freebsd-10-stable/sys/dev/vmware/vmxnet3/ |
| D | if_vmx.c | 3032 int i, ntxq, error; in vmxnet3_txq_mq_start() local 3035 ntxq = sc->vmx_ntxqueues; in vmxnet3_txq_mq_start() 3039 i = m->m_pkthdr.flowid % ntxq; in vmxnet3_txq_mq_start() 3041 i = curcpu % ntxq; in vmxnet3_txq_mq_start()
|
| /freebsd-10-stable/sys/dev/cxgb/ |
| D | cxgb_sge.c | 2424 const struct qset_params *p, int ntxq, struct port_info *pi) in t3_sge_alloc_qset() argument 2481 for (i = 0; i < ntxq; ++i) { in t3_sge_alloc_qset() 2576 if (ntxq > 1) { in t3_sge_alloc_qset() 2587 if (ntxq > 2) { in t3_sge_alloc_qset()
|
| D | cxgb_main.c | 827 u_int ntxq = SGE_TXQ_PER_SET; in setup_sge_qsets() local 843 &sc->params.sge.qset[qset_idx], ntxq, pi); in setup_sge_qsets()
|