Home
last modified time | relevance | path

Searched refs:num_rx_queues (Results 1 – 25 of 97) sorted by relevance

1234

/linux-6.14.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c37 for (i = 0, pool = 0; i < adapter->num_rx_queues; i++, reg_idx++) { in ixgbe_cache_ring_dcb_sriov()
70 for (i = fcoe->offset; i < adapter->num_rx_queues; i++) { in ixgbe_cache_ring_dcb_sriov()
201 for (i = 0; i < adapter->num_rx_queues; i++, reg_idx++) { in ixgbe_cache_ring_sriov()
218 for (; i < adapter->num_rx_queues; i++, reg_idx++) { in ixgbe_cache_ring_sriov()
258 for (i = 0; i < adapter->num_rx_queues; i++) { in ixgbe_cache_ring_rss()
387 adapter->num_rx_queues = vmdq_i * tcs; in ixgbe_set_dcb_sriov_queues()
405 adapter->num_rx_queues += fcoe_i; in ixgbe_set_dcb_sriov_queues()
485 adapter->num_rx_queues = rss_i * tcs; in ixgbe_set_dcb_queues()
555 adapter->num_rx_queues = vmdq_i * rss_i; in ixgbe_set_sriov_queues()
597 adapter->num_rx_queues += fcoe_i; in ixgbe_set_sriov_queues()
[all …]
/linux-6.14.4/drivers/net/ethernet/engleder/
Dtsnep_ethtool.c100 max(adapter->num_tx_queues, adapter->num_rx_queues) - 1; in tsnep_ethtool_get_regs_len()
135 int rx_count = adapter->num_rx_queues; in tsnep_ethtool_get_strings()
171 int rx_count = adapter->num_rx_queues; in tsnep_ethtool_get_ethtool_stats()
180 for (i = 0; i < adapter->num_rx_queues; i++) { in tsnep_ethtool_get_ethtool_stats()
248 rx_count = adapter->num_rx_queues; in tsnep_ethtool_get_sset_count()
267 cmd->data = adapter->num_rx_queues; in tsnep_ethtool_get_rxnfc()
413 if (queue >= max(adapter->num_tx_queues, adapter->num_rx_queues)) in tsnep_ethtool_get_per_queue_coalesce()
436 if (queue >= max(adapter->num_tx_queues, adapter->num_rx_queues)) in tsnep_ethtool_set_per_queue_coalesce()
Dtsnep_xdp.c27 if (queue_id >= adapter->num_rx_queues || in tsnep_xdp_enable_pool()
63 if (queue_id >= adapter->num_rx_queues || in tsnep_xdp_disable_pool()
/linux-6.14.4/drivers/net/vmxnet3/
Dvmxnet3_drv.c260 for (i = 0; i < adapter->num_rx_queues; i++) in vmxnet3_process_events()
2049 for (i = 0; i < adapter->num_rx_queues; i++) in vmxnet3_rq_cleanup_all()
2112 for (i = 0; i < adapter->num_rx_queues; i++) { in vmxnet3_rq_destroy_all_rxdataring()
2201 for (i = 0; i < adapter->num_rx_queues; i++) { in vmxnet3_rq_init_all()
2300 for (i = 0; i < adapter->num_rx_queues; i++) { in vmxnet3_rq_create_all()
2331 for (i = 0; i < adapter->num_rx_queues; i++) in vmxnet3_do_poll()
2507 for (i = 0; i < adapter->num_rx_queues; i++) in vmxnet3_netpoll()
2567 for (i = 0; i < adapter->num_rx_queues; i++) { in vmxnet3_request_irqs()
2597 adapter->num_rx_queues = 1; in vmxnet3_request_irqs()
2602 adapter->num_rx_queues = 1; in vmxnet3_request_irqs()
[all …]
Dvmxnet3_int.h401 u32 num_rx_queues; member
505 ((rqID >= adapter->num_rx_queues && \
506 rqID < 2 * adapter->num_rx_queues) ? 1 : 0) \
509 (rqID >= 2 * adapter->num_rx_queues && \
510 rqID < 3 * adapter->num_rx_queues) \
Dvmxnet3_ethtool.c167 for (i = 0; i < adapter->num_rx_queues; i++) { in vmxnet3_get_stats64()
195 adapter->num_rx_queues + in vmxnet3_get_sset_count()
217 (1 + adapter->num_rx_queues * 23 /* Rx queue registers */)) * in vmxnet3_get_regs_len()
253 for (j = 0; j < adapter->num_rx_queues; j++) { in vmxnet3_get_strings()
494 for (j = 0; j < adapter->num_rx_queues; j++) { in vmxnet3_get_ethtool_stats()
576 buf[j++] = adapter->num_rx_queues; in vmxnet3_get_regs()
577 for (i = 0; i < adapter->num_rx_queues; i++) { in vmxnet3_get_regs()
1075 info->data = adapter->num_rx_queues; in vmxnet3_get_rxnfc()
1327 ec->rx_count = adapter->num_rx_queues; in vmxnet3_get_channels()
/linux-6.14.4/drivers/net/ethernet/meta/fbnic/
Dfbnic_ethtool.c89 swap(clone->num_rx_queues, orig->num_rx_queues); in fbnic_clone_swap_cfg()
229 cmd->data = fbn->num_rx_queues; in fbnic_get_rxnfc()
388 if (fbn->num_rx_queues > fbn->num_napi || in fbnic_get_channels()
390 ch->combined_count = min(fbn->num_rx_queues, in fbnic_get_channels()
394 fbn->num_rx_queues + fbn->num_tx_queues - fbn->num_napi; in fbnic_get_channels()
395 ch->rx_count = fbn->num_rx_queues - ch->combined_count; in fbnic_get_channels()
403 fbn->num_rx_queues = ch->rx_count + ch->combined_count; in fbnic_set_queues()
Dfbnic_netdev.h50 u16 num_rx_queues; member
/linux-6.14.4/drivers/net/netdevsim/
Dnetdev.c75 if (rxq >= peer_dev->num_rx_queues) in nsim_start_xmit()
76 rxq = rxq % peer_dev->num_rx_queues; in nsim_start_xmit()
401 for (i = 0; i < dev->num_rx_queues; i++) { in nsim_init_napi()
407 for (i = 0; i < dev->num_rx_queues; i++) { in nsim_init_napi()
423 for (i = 0; i < dev->num_rx_queues; i++) in nsim_init_napi()
434 for (i = 0; i < dev->num_rx_queues; i++) { in nsim_enable_napi()
461 for (i = 0; i < dev->num_rx_queues; i++) { in nsim_del_napi()
469 for (i = 0; i < dev->num_rx_queues; i++) { in nsim_del_napi()
867 ns->rq = kcalloc(dev->num_rx_queues, sizeof(*ns->rq), in nsim_queue_init()
872 for (i = 0; i < dev->num_rx_queues; i++) { in nsim_queue_init()
[all …]
/linux-6.14.4/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c63 ((struct ixgbevf_adapter *)netdev_priv(netdev))->num_rx_queues) * \
270 for (i = 0; i < adapter->num_rx_queues; i++) in ixgbevf_set_ringparam()
326 adapter->num_rx_queues)); in ixgbevf_set_ringparam()
332 for (i = 0; i < adapter->num_rx_queues; i++) { in ixgbevf_set_ringparam()
379 for (i = 0; i < adapter->num_rx_queues; i++) { in ixgbevf_set_ringparam()
486 for (j = 0; j < adapter->num_rx_queues; j++) { in ixgbevf_get_ethtool_stats()
534 for (i = 0; i < adapter->num_rx_queues; i++) { in ixgbevf_get_strings()
877 info->data = adapter->num_rx_queues; in ixgbevf_get_rxnfc()
930 adapter->num_rx_queues); in ixgbevf_get_rxfh()
Dixgbevf_main.c1795 if (adapter->num_rx_queues > 1) in ixgbevf_setup_psrtype()
1875 u16 rss_i = adapter->num_rx_queues; in ixgbevf_setup_vfmrqc()
2026 for (i = 0; i < adapter->num_rx_queues; i++) { in ixgbevf_configure_rx()
2185 unsigned int num_rx_queues = adapter->num_rx_queues; in ixgbevf_configure_dcb() local
2207 num_rx_queues = num_tcs; in ixgbevf_configure_dcb()
2211 if ((adapter->num_rx_queues != num_rx_queues) || in ixgbevf_configure_dcb()
2473 for (i = 0; i < adapter->num_rx_queues; i++) in ixgbevf_clean_all_rx_rings()
2502 for (i = 0; i < adapter->num_rx_queues; i++) in ixgbevf_down()
2628 adapter->num_rx_queues = 1; in ixgbevf_set_num_queues()
2644 adapter->num_rx_queues = num_tcs; in ixgbevf_set_num_queues()
[all …]
/linux-6.14.4/drivers/net/ethernet/intel/igc/
Digc_xdp.c56 if (queue_id >= adapter->num_rx_queues || in igc_xdp_enable_pool()
114 if (queue_id >= adapter->num_rx_queues || in igc_xdp_disable_pool()
Digc_dump.c213 for (n = 0; n < adapter->num_rx_queues; n++) { in igc_rings_dump()
246 for (n = 0; n < adapter->num_rx_queues; n++) { in igc_rings_dump()
Digc_ethtool.c117 ((((struct igc_adapter *)netdev_priv(netdev))->num_rx_queues * \
619 for (i = 0; i < adapter->num_rx_queues; i++) in igc_ethtool_set_ringparam()
626 if (adapter->num_tx_queues > adapter->num_rx_queues) in igc_ethtool_set_ringparam()
631 adapter->num_rx_queues)); in igc_ethtool_set_ringparam()
671 for (i = 0; i < adapter->num_rx_queues; i++) { in igc_ethtool_set_ringparam()
686 for (i = 0; i < adapter->num_rx_queues; i++) { in igc_ethtool_set_ringparam()
784 for (i = 0; i < adapter->num_rx_queues; i++) { in igc_ethtool_get_strings()
855 for (j = 0; j < adapter->num_rx_queues; j++) { in igc_ethtool_get_stats()
1096 cmd->data = adapter->num_rx_queues; in igc_ethtool_get_rxnfc()
1341 if (fsp->ring_cookie >= adapter->num_rx_queues) { in igc_ethtool_add_nfc_rule()
/linux-6.14.4/drivers/crypto/caam/
Ddpseci.h54 u8 num_rx_queues; member
78 u8 num_rx_queues; member
/linux-6.14.4/drivers/net/ethernet/wangxun/ngbe/
Dngbe_ethtool.c74 for (i = 0; i < wx->num_rx_queues; i++) in ngbe_set_ringparam()
83 i = max_t(int, wx->num_tx_queues, wx->num_rx_queues); in ngbe_set_ringparam()
/linux-6.14.4/drivers/net/wireless/intel/iwlwifi/fw/
Dinit.c119 if (fwrt->trans->num_rx_queues == 1) in iwl_configure_rxq()
126 num_queues = fwrt->trans->num_rx_queues - 1; in iwl_configure_rxq()
/linux-6.14.4/drivers/net/wireless/intel/iwlwifi/pcie/
Drx.c208 for (i = 0; i < trans->num_rx_queues; i++) { in iwl_pcie_rxq_check_wrptr()
756 for (i = 0; i < trans->num_rx_queues; i++) { in iwl_pcie_alloc_rxq_dma()
775 trans_pcie->rxq = kcalloc(trans->num_rx_queues, sizeof(struct iwl_rxq), in iwl_pcie_rx_alloc()
798 rb_stts_size * trans->num_rx_queues, in iwl_pcie_rx_alloc()
806 for (i = 0; i < trans->num_rx_queues; i++) { in iwl_pcie_rx_alloc()
819 rb_stts_size * trans->num_rx_queues, in iwl_pcie_rx_alloc()
935 for (i = 0; i < trans->num_rx_queues; i++) { in iwl_pcie_rx_mq_hw_init()
1075 for (i = 0; i < trans->num_rx_queues; i++) { in iwl_pcie_rx_napi_sync()
1112 for (i = 0; i < trans->num_rx_queues; i++) { in _iwl_pcie_rx_init()
1149 allocator_pool_size = trans->num_rx_queues * in _iwl_pcie_rx_init()
[all …]
/linux-6.14.4/drivers/net/ethernet/wangxun/txgbe/
Dtxgbe_ethtool.c42 for (i = 0; i < wx->num_rx_queues; i++) in txgbe_set_ringparam()
51 i = max_t(int, wx->num_tx_queues, wx->num_rx_queues); in txgbe_set_ringparam()
181 cmd->data = wx->num_rx_queues; in txgbe_get_rxnfc()
346 if (ring >= wx->num_rx_queues) in txgbe_add_ethtool_fdir_entry()
/linux-6.14.4/include/net/
Dnetdev_rx_queue.h54 BUG_ON(index >= dev->num_rx_queues); in get_netdev_rx_queue_index()
/linux-6.14.4/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c126 for (i = 0; i < interface->num_rx_queues; i++) { in fm10k_setup_all_rx_resources()
315 for (i = 0; i < interface->num_rx_queues; i++) in fm10k_clean_all_rx_rings()
327 int i = interface->num_rx_queues; in fm10k_free_all_rx_resources()
467 interface->num_rx_queues); in fm10k_open()
823 for (i = 0; i < interface->num_rx_queues; i++) { in fm10k_update_vid()
1225 for (i = 0; i < interface->num_rx_queues; i++) { in fm10k_get_stats64()
1335 for (i = 0; i < interface->num_rx_queues; i++) { in fm10k_assign_l2_accel()
/linux-6.14.4/net/core/
Ddev.h210 unsigned int count = max(netdev->num_rx_queues, in netdev_set_defer_hard_irqs()
256 unsigned int count = max(netdev->num_rx_queues, in netdev_set_gro_flush_timeout()
/linux-6.14.4/drivers/net/ethernet/wangxun/libwx/
Dwx_lib.c1616 wx->num_rx_queues = f->indices; in wx_set_rss_queues()
1623 wx->num_rx_queues = 1; in wx_set_num_queues()
1644 nvecs = max(wx->num_rx_queues, wx->num_tx_queues); in wx_acquire_msix_vectors()
1744 for (i = 0; i < wx->num_rx_queues; i++) in wx_cache_ring_rss()
1906 unsigned int rxr_remaining = wx->num_rx_queues; in wx_alloc_q_vectors()
1933 wx->num_rx_queues = 0; in wx_alloc_q_vectors()
1955 wx->num_rx_queues = 0; in wx_free_q_vectors()
2274 for (i = 0; i < wx->num_rx_queues; i++) in wx_clean_all_rx_rings()
2316 for (i = 0; i < wx->num_rx_queues; i++) in wx_free_all_rx_resources()
2535 for (i = 0; i < wx->num_rx_queues; i++) { in wx_setup_all_rx_resources()
[all …]
/linux-6.14.4/drivers/net/ethernet/freescale/
Dgianfar.c138 for (i = 0; i < priv->num_rx_queues; i++) { in gfar_init_tx_rx_base()
151 for (i = 0; i < priv->num_rx_queues; i++) { in gfar_init_rqprm()
253 for_each_set_bit(i, &rx_mask, priv->num_rx_queues) { in gfar_configure_coalescing()
282 for (i = 0; i < priv->num_rx_queues; i++) { in gfar_get_stats64()
432 for (i = 0; i < priv->num_rx_queues; i++) { in gfar_alloc_rx_queues()
456 for (i = 0; i < priv->num_rx_queues; i++) in gfar_free_rx_queues()
551 for_each_set_bit(i, &grp->rx_bit_map, priv->num_rx_queues) { in gfar_parse_group()
554 grp->num_rx_queues++; in gfar_parse_group()
696 priv->num_rx_queues = num_rx_qs; in gfar_of_init()
1143 for (i = 0; i < priv->num_rx_queues; i++) { in free_skb_resources()
[all …]
/linux-6.14.4/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib_vlan.c171 if (dev->num_rx_queues < parent_dev->real_num_rx_queues) { in mlx5i_pkey_dev_init()
174 dev->num_rx_queues, in mlx5i_pkey_dev_init()

1234