Home
last modified time | relevance | path

Searched refs:isc_nrxqsets (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/dev/vmware/vmxnet3/
H A Dif_vmx.c355 if (scctx->isc_nrxqsets == 0) in vmxnet3_attach_pre()
356 scctx->isc_nrxqsets = VMXNET3_DEF_RX_QUEUES; in vmxnet3_attach_pre()
357 scctx->isc_nrxqsets = trunc_powerof2(scctx->isc_nrxqsets); in vmxnet3_attach_pre()
478 for (i = 0; i < scctx->isc_nrxqsets; i++) { in vmxnet3_msix_intr_assign()
512 scctx->isc_nrxqsets + 1, IFLIB_INTR_ADMIN, vmxnet3_event_intr, sc, 0, in vmxnet3_msix_intr_assign()
532 for (i = 0; i < scctx->isc_nrxqsets; i++) { in vmxnet3_free_irqs()
550 if (scctx->isc_nrxqsets > 1) in vmxnet3_attach_post()
710 for (i = 0; i < scctx->isc_nrxqsets; i++, intr_idx++) { in vmxnet3_set_interrupt_idx()
745 scctx->isc_nrxqsets * sizeof(struct vmxnet3_rxq_shared); in vmxnet3_queues_shared_alloc()
1101 2 : (scctx->isc_nrxqsets + scctx->isc_ntxqsets + 1); in vmxnet3_init_shared_data()
[all …]
/freebsd/sys/dev/enic/
H A Dif_enic.c369 scctx->isc_nrxqsets = enic->conf_rq_count; in enic_attach_pre()
460 for (i = 0; i < scctx->isc_nrxqsets; i++) { in enic_msix_intr_assign()
481 for (i = scctx->isc_nrxqsets; i < scctx->isc_nrxqsets + scctx->isc_ntxqsets; i++) { in enic_msix_intr_assign()
483 scctx->isc_nrxqsets, device_get_unit(softc->dev)); in enic_msix_intr_assign()
486 …_queues[i].intr_irq, IFLIB_INTR_TX, &enic->wq[i - scctx->isc_nrxqsets], i - scctx->isc_nrxqsets, i… in enic_msix_intr_assign()
498 i = scctx->isc_nrxqsets + scctx->isc_ntxqsets; in enic_msix_intr_assign()
547 for (i = 0; i < scctx->isc_nrxqsets + scctx->isc_ntxqsets; i++) { in enic_free_irqs()
826 for (index = 0; index < scctx->isc_nrxqsets; index++) { in enic_stop()
854 for (index = 0; index < scctx->isc_nrxqsets; index++) in enic_init()
1238 enic_enable_intr(softc, qid + scctx->isc_nrxqsets); in enic_tx_queue_intr_enable()
[all …]
/freebsd/sys/dev/mgb/
H A Dif_mgb.c359 scctx->isc_nrxqsets = 1; in mgb_attach_pre()
720 for (i = 0; i < scctx->isc_nrxqsets; i++) { in mgb_stop()
755 for (qidx = 0; qidx < scctx->isc_nrxqsets; qidx++) { in mgb_rxq_intr()
789 for (qidx = 0; qidx < scctx->isc_nrxqsets; qidx++) { in mgb_admin_intr()
825 KASSERT(scctx->isc_nrxqsets == 1 && scctx->isc_ntxqsets == 1, in mgb_msix_intr_assign()
842 for (i = 0; i < scctx->isc_nrxqsets; i++) { in mgb_msix_intr_assign()
878 for (i = 0; i < scctx->isc_nrxqsets; i++) { in mgb_intr_enable_all()
1235 for (ch = 0; ch < scctx->isc_nrxqsets; ch++) in mgb_dma_init()
1239 for (ch = 0; ch < scctx->isc_nrxqsets; ch++) in mgb_dma_init()
/freebsd/sys/dev/axgbe/
H A Dif_axgbe_pci.c671 scctx->isc_nrxqsets = pdata->rx_q_count; in axgbe_init_iflib_softc_ctx()
1454 scctx->isc_nrxqsets); in axgbe_if_attach_post()
1547 for (i = 0; i < scctx->isc_nrxqsets; i++) { in axgbe_interrupts_free()
1759 MPASS(scctx->isc_nrxqsets > 0); in axgbe_if_rx_queues_alloc()
1760 MPASS(scctx->isc_nrxqsets == nrxqsets); in axgbe_if_rx_queues_alloc()
1768 scctx->isc_nrxqsets, nrxqsets, nrxqs); in axgbe_if_rx_queues_alloc()
1797 axgbe_printf(2, "allocated for %d rx queues\n", scctx->isc_nrxqsets); in axgbe_if_rx_queues_alloc()
1846 for (i = 0 ; i < scctx->isc_nrxqsets; i++) { in axgbe_if_queues_free()
1945 scctx->isc_ntxqsets, scctx->isc_nrxqsets); in axgbe_if_msix_intr_assign()
2019 for (i = 0; i < scctx->isc_nrxqsets; i++, rid++) { in axgbe_if_msix_intr_assign()
[all …]
/freebsd/sys/dev/iavf/
H A Dif_iavf_iflib.c481 vsi->num_rx_queues = vsi->shared->isc_nrxqsets; in iavf_if_attach_post()
830 MPASS(vsi->shared->isc_nrxqsets > 0); in iavf_if_msix_intr_assign()
845 for (i = 0, vector = 1; i < vsi->shared->isc_nrxqsets; i++, vector++, rx_que++) { in iavf_if_msix_intr_assign()
865 &vsi->rx_queues[i % vsi->shared->isc_nrxqsets].que_irq, in iavf_if_msix_intr_assign()
868 tx_que->msix = (i % vsi->shared->isc_nrxqsets) + 1; in iavf_if_msix_intr_assign()
1041 MPASS(scctx->isc_nrxqsets > 0); in iavf_if_rx_queues_alloc()
1043 MPASS(scctx->isc_nrxqsets == nrxqsets); in iavf_if_rx_queues_alloc()
/freebsd/sys/dev/ixl/
H A Dif_ixl.c412 scctx->isc_ntxqsets = scctx->isc_nrxqsets = 1; in ixl_setup_ssctx()
705 vsi->num_rx_queues = vsi->shared->isc_nrxqsets; in ixl_if_attach_post()
1082 MPASS(vsi->shared->isc_nrxqsets > 0); in ixl_if_msix_intr_assign()
1102 for (i = 0, vector = 1; i < vsi->shared->isc_nrxqsets; i++, vector++, rx_que++) { in ixl_if_msix_intr_assign()
1124 &vsi->rx_queues[i % vsi->shared->isc_nrxqsets].que_irq, in ixl_if_msix_intr_assign()
1130 tx_que->msix = (i % vsi->shared->isc_nrxqsets) + 1; in ixl_if_msix_intr_assign()
1270 MPASS(scctx->isc_nrxqsets > 0); in ixl_if_rx_queues_alloc()
1272 MPASS(scctx->isc_nrxqsets == nrxqsets); in ixl_if_rx_queues_alloc()
/freebsd/sys/dev/enetc/
H A Denetc.h74 #define rx_num_queues shared->isc_nrxqsets
/freebsd/sys/net/
H A Diflib.c846 info->num_rx_rings = ctx->ifc_softc_ctx.isc_nrxqsets; in iflib_netmap_config()
1318 MPASS(ctx->ifc_softc_ctx.isc_nrxqsets); in iflib_netmap_attach()
1328 na.num_rx_rings = ctx->ifc_softc_ctx.isc_nrxqsets; in iflib_netmap_attach()
2538 for (i = 0, rxq = ctx->ifc_rxqs; i < scctx->isc_nrxqsets; i++, rxq++) { in iflib_init_locked()
2646 for (i = 0; i < scctx->isc_nrxqsets; i++, rxq++) { in iflib_stop()
3147 #define NRXQSETS(ctx) ((ctx)->ifc_softc_ctx.isc_nrxqsets)
4791 scctx->isc_nrxqsets = ctx->ifc_sysctl_nrxqs; in iflib_reset_qvalues()
5034 is_tx && qid < scctx->isc_nrxqsets) { in get_cpuid_for_queue()
5055 core_index = scctx->isc_nrxqsets + qid; in get_cpuid_for_queue()
5136 for (i = 0; i < scctx->isc_nrxqsets; i++) in get_ctx_core_offset()
[all …]
H A Diflib.h192 int isc_nrxqsets; member
/freebsd/sys/dev/igc/
H A Dif_igc.h304 #define rx_num_queues shared->isc_nrxqsets
/freebsd/sys/dev/e1000/
H A Dif_em.h468 #define rx_num_queues shared->isc_nrxqsets
/freebsd/sys/dev/ice/
H A Dif_ice_iflib.c382 scctx->isc_ntxqsets = scctx->isc_nrxqsets = 1; in ice_setup_scctx()
393 sc->ifc_sysctl_nrxqs = scctx->isc_nrxqsets; in ice_setup_scctx()
397 if (scctx->isc_nrxqsets == 0) in ice_setup_scctx()
398 scctx->isc_nrxqsets = hw->func_caps.common_cap.rss_table_size; in ice_setup_scctx()
1440 queues = imin(queues, sc->ifc_sysctl_nrxqs ?: scctx->isc_nrxqsets); in ice_allocate_msix()
1526 scctx->isc_nrxqsets = queues; in ice_allocate_msix()
3462 scctx->isc_nrxqsets = 4; in ice_subif_setup_scctx()
3463 scctx->isc_vectors = scctx->isc_nrxqsets; in ice_subif_setup_scctx()
/freebsd/sys/dev/ixgbe/
H A Dixgbe.h357 #define num_rx_queues shared->isc_nrxqsets
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_ulp.c402 softc->total_irqs = softc->scctx->isc_nrxqsets + BNXT_ROCE_IRQ_COUNT; in bnxt_populate_irq()
H A Dif_bnxt.c481 (softc->scctx->isc_nrxqsets * 2) + 1 + i; in bnxt_tx_queues_alloc()
494 (softc->scctx->isc_nrxqsets * 2) + 1 + i; in bnxt_tx_queues_alloc()
3452 for (i=0; i<softc->scctx->isc_nrxqsets; i++) { in bnxt_msix_intr_assign()