Home
last modified time | relevance | path

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

123

/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()
200 for (i = 0; i < adapter->num_rx_queues; i++, reg_idx++) { in ixgbe_cache_ring_sriov()
217 for (; i < adapter->num_rx_queues; i++, reg_idx++) { in ixgbe_cache_ring_sriov()
257 for (i = 0; i < adapter->num_rx_queues; i++) { in ixgbe_cache_ring_rss()
383 adapter->num_rx_queues = vmdq_i * tcs; in ixgbe_set_dcb_sriov_queues()
401 adapter->num_rx_queues += fcoe_i; in ixgbe_set_dcb_sriov_queues()
481 adapter->num_rx_queues = rss_i * tcs; in ixgbe_set_dcb_queues()
551 adapter->num_rx_queues = vmdq_i * rss_i; in ixgbe_set_sriov_queues()
593 adapter->num_rx_queues += fcoe_i; in ixgbe_set_sriov_queues()
[all …]
/drivers/net/vmxnet3/
Dvmxnet3_drv.c211 for (i = 0; i < adapter->num_rx_queues; i++) in vmxnet3_process_events()
1740 for (i = 0; i < adapter->num_rx_queues; i++) in vmxnet3_rq_cleanup_all()
1795 for (i = 0; i < adapter->num_rx_queues; i++) { in vmxnet3_rq_destroy_all_rxdataring()
1867 for (i = 0; i < adapter->num_rx_queues; i++) { in vmxnet3_rq_init_all()
1951 for (i = 0; i < adapter->num_rx_queues; i++) { in vmxnet3_rq_create_all()
1982 for (i = 0; i < adapter->num_rx_queues; i++) in vmxnet3_do_poll()
2158 for (i = 0; i < adapter->num_rx_queues; i++) in vmxnet3_netpoll()
2218 for (i = 0; i < adapter->num_rx_queues; i++) { in vmxnet3_request_irqs()
2248 adapter->num_rx_queues = 1; in vmxnet3_request_irqs()
2253 adapter->num_rx_queues = 1; in vmxnet3_request_irqs()
[all …]
Dvmxnet3_int.h361 u32 num_rx_queues; member
446 ((rqID >= adapter->num_rx_queues && \
447 rqID < 2 * adapter->num_rx_queues) ? 1 : 0) \
450 (rqID >= 2 * adapter->num_rx_queues && \
451 rqID < 3 * adapter->num_rx_queues) \
Dvmxnet3_ethtool.c152 for (i = 0; i < adapter->num_rx_queues; i++) { in vmxnet3_get_stats64()
180 adapter->num_rx_queues + in vmxnet3_get_sset_count()
202 (1 + adapter->num_rx_queues * 23 /* Rx queue registers */)) * in vmxnet3_get_regs_len()
238 for (j = 0; j < adapter->num_rx_queues; j++) { in vmxnet3_get_strings()
407 for (j = 0; j < adapter->num_rx_queues; j++) { in vmxnet3_get_ethtool_stats()
489 buf[j++] = adapter->num_rx_queues; in vmxnet3_get_regs()
490 for (i = 0; i < adapter->num_rx_queues; i++) { in vmxnet3_get_regs()
946 info->data = adapter->num_rx_queues; in vmxnet3_get_rxnfc()
/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c65 ((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.c1794 if (adapter->num_rx_queues > 1) in ixgbevf_setup_psrtype()
1874 u16 rss_i = adapter->num_rx_queues; in ixgbevf_setup_vfmrqc()
2025 for (i = 0; i < adapter->num_rx_queues; i++) { in ixgbevf_configure_rx()
2177 unsigned int num_rx_queues = adapter->num_rx_queues; in ixgbevf_configure_dcb() local
2199 num_rx_queues = num_tcs; in ixgbevf_configure_dcb()
2203 if ((adapter->num_rx_queues != num_rx_queues) || in ixgbevf_configure_dcb()
2451 for (i = 0; i < adapter->num_rx_queues; i++) in ixgbevf_clean_all_rx_rings()
2480 for (i = 0; i < adapter->num_rx_queues; i++) in ixgbevf_down()
2606 adapter->num_rx_queues = 1; in ixgbevf_set_num_queues()
2622 adapter->num_rx_queues = num_tcs; in ixgbevf_set_num_queues()
[all …]
Dvf.h189 int ixgbevf_get_reta_locked(struct ixgbe_hw *hw, u32 *reta, int num_rx_queues);
/drivers/net/ethernet/intel/igc/
Digc_xdp.c48 if (queue_id >= adapter->num_rx_queues || in igc_xdp_enable_pool()
106 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.c116 ((((struct igc_adapter *)netdev_priv(netdev))->num_rx_queues * \
612 for (i = 0; i < adapter->num_rx_queues; i++) in igc_ethtool_set_ringparam()
619 if (adapter->num_tx_queues > adapter->num_rx_queues) in igc_ethtool_set_ringparam()
624 adapter->num_rx_queues)); in igc_ethtool_set_ringparam()
664 for (i = 0; i < adapter->num_rx_queues; i++) { in igc_ethtool_set_ringparam()
679 for (i = 0; i < adapter->num_rx_queues; i++) { in igc_ethtool_set_ringparam()
778 for (i = 0; i < adapter->num_rx_queues; i++) { in igc_ethtool_get_strings()
849 for (j = 0; j < adapter->num_rx_queues; j++) { in igc_ethtool_get_stats()
1090 cmd->data = adapter->num_rx_queues; in igc_ethtool_get_rxnfc()
1335 if (fsp->ring_cookie >= adapter->num_rx_queues) { in igc_ethtool_add_nfc_rule()
Digc_main.c484 for (i = 0; i < adapter->num_rx_queues; i++) in igc_clean_all_rx_rings()
524 for (i = 0; i < adapter->num_rx_queues; i++) in igc_free_all_rx_resources()
595 for (i = 0; i < adapter->num_rx_queues; i++) { in igc_setup_all_rx_resources()
717 for (i = 0; i < adapter->num_rx_queues; i++) in igc_configure_rx()
781 u32 j, num_rx_queues; in igc_setup_mrqc() local
789 num_rx_queues = adapter->rss_queues; in igc_setup_mrqc()
791 if (adapter->rss_indir_tbl_init != num_rx_queues) { in igc_setup_mrqc()
794 (j * num_rx_queues) / IGC_RETA_SIZE; in igc_setup_mrqc()
795 adapter->rss_indir_tbl_init = num_rx_queues; in igc_setup_mrqc()
3839 for (i = 0; i < adapter->num_rx_queues; i++) { in igc_configure()
[all …]
/drivers/crypto/caam/
Ddpseci.h54 u8 num_rx_queues; member
78 u8 num_rx_queues; member
Ddpseci.c179 attr->num_rx_queues = rsp_params->num_rx_queues; in dpseci_get_attributes()
Ddpseci_cmd.h72 u8 num_rx_queues; member
/drivers/net/wireless/intel/iwlwifi/fw/
Dinit.c114 if (fwrt->trans->num_rx_queues == 1) in iwl_configure_rxq()
121 num_queues = fwrt->trans->num_rx_queues - 1; in iwl_configure_rxq()
/drivers/net/wireless/intel/iwlwifi/pcie/
Drx.c205 for (i = 0; i < trans->num_rx_queues; i++) { in iwl_pcie_rxq_check_wrptr()
745 for (i = 0; i < trans->num_rx_queues; i++) { in iwl_pcie_alloc_rxq_dma()
766 trans_pcie->rxq = kcalloc(trans->num_rx_queues, sizeof(struct iwl_rxq), in iwl_pcie_rx_alloc()
789 rb_stts_size * trans->num_rx_queues, in iwl_pcie_rx_alloc()
797 for (i = 0; i < trans->num_rx_queues; i++) { in iwl_pcie_rx_alloc()
810 rb_stts_size * trans->num_rx_queues, in iwl_pcie_rx_alloc()
926 for (i = 0; i < trans->num_rx_queues; i++) { in iwl_pcie_rx_mq_hw_init()
1061 for (i = 0; i < trans->num_rx_queues; i++) { in iwl_pcie_rx_napi_sync()
1098 for (i = 0; i < trans->num_rx_queues; i++) { in _iwl_pcie_rx_init()
1135 allocator_pool_size = trans->num_rx_queues * in _iwl_pcie_rx_init()
[all …]
Dtrans.c1111 for (idx = 1; idx < trans->num_rx_queues; idx++) { in iwl_pcie_map_rx_causes()
1613 trans_pcie->trans->num_rx_queues = num_irqs + 1; in iwl_pcie_set_interrupt_capa()
1617 trans_pcie->trans->num_rx_queues = num_irqs; in iwl_pcie_set_interrupt_capa()
1620 trans_pcie->trans->num_rx_queues = num_irqs - 1; in iwl_pcie_set_interrupt_capa()
1625 trans_pcie->trans->num_rx_queues, trans_pcie->shared_vec_mask); in iwl_pcie_set_interrupt_capa()
1627 WARN_ON(trans_pcie->trans->num_rx_queues > IWL_MAX_RX_HW_QUEUES); in iwl_pcie_set_interrupt_capa()
1652 iter_rx_q = trans_pcie->trans->num_rx_queues - 1 + i; in iwl_pcie_irq_set_affinity()
2254 if (queue >= trans->num_rx_queues || !trans_pcie->rxq) in iwl_trans_pcie_rxq_dma_data()
2564 bufsz = sizeof(char) * 121 * trans->num_rx_queues; in iwl_dbgfs_rx_queue_read()
2573 for (i = 0; i < trans->num_rx_queues && pos < bufsz; i++) { in iwl_dbgfs_rx_queue_read()
/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()
Dfm10k_main.c1510 interface->num_rx_queues = rss_i * pcs; in fm10k_set_qos_queues()
1536 interface->num_rx_queues = rss_i; in fm10k_set_rss_queues()
1573 interface->num_rx_queues = 0; in fm10k_reset_num_queues()
1719 unsigned int rxr_remaining = interface->num_rx_queues; in fm10k_alloc_q_vectors()
1815 v_budget = max(interface->num_rx_queues, interface->num_tx_queues); in fm10k_init_msix_capability()
1899 for (i = 0; i < interface->num_rx_queues; i++) in fm10k_cache_ring_rss()
Dfm10k_ethtool.c550 for (i = 0; i < interface->num_rx_queues; i++) in fm10k_set_ringparam()
558 i = max_t(int, interface->num_tx_queues, interface->num_rx_queues); in fm10k_set_ringparam()
601 for (i = 0; i < interface->num_rx_queues; i++) { in fm10k_set_ringparam()
616 for (i = 0; i < interface->num_rx_queues; i++) { in fm10k_set_ringparam()
739 cmd->data = interface->num_rx_queues; in fm10k_get_rxnfc()
/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()
1141 for (i = 0; i < priv->num_rx_queues; i++) { in free_skb_resources()
[all …]
Dgianfar_ethtool.c330 for (i = 0; i < priv->num_rx_queues; i++) in gfar_scoalesce()
333 for (i = 0; i < priv->num_rx_queues; i++) in gfar_scoalesce()
337 for (i = 0; i < priv->num_rx_queues; i++) { in gfar_scoalesce()
430 for (i = 0; i < priv->num_rx_queues; i++) in gfar_sringparam()
1398 cmd->fs.ring_cookie >= priv->num_rx_queues) || in gfar_set_nfc()
1425 cmd->data = priv->num_rx_queues; in gfar_get_nfc()
Dgianfar.h1105 unsigned long num_rx_queues; member
1156 unsigned int num_rx_queues; member
1268 for_each_set_bit(i, &grp->rx_bit_map, priv->num_rx_queues) { in gfar_write_isrg()
/drivers/net/ethernet/intel/igb/
Digb_ethtool.c104 ((((struct igb_adapter *)netdev_priv(netdev))->num_rx_queues * \
435 for (i = 0; i < adapter->num_rx_queues; i++) { in igb_set_pauseparam()
911 for (i = 0; i < adapter->num_rx_queues; i++) in igb_set_ringparam()
918 if (adapter->num_tx_queues > adapter->num_rx_queues) in igb_set_ringparam()
923 adapter->num_rx_queues)); in igb_set_ringparam()
963 for (i = 0; i < adapter->num_rx_queues; i++) { in igb_set_ringparam()
979 for (i = 0; i < adapter->num_rx_queues; i++) { in igb_set_ringparam()
2328 for (j = 0; j < adapter->num_rx_queues; j++) { in igb_get_ethtool_stats()
2365 for (i = 0; i < adapter->num_rx_queues; i++) { in igb_get_strings()
2557 cmd->data = adapter->num_rx_queues; in igb_get_rxnfc()
[all …]
Digb_main.c464 for (n = 0; n < adapter->num_rx_queues; n++) { in igb_dump()
497 for (n = 0; n < adapter->num_rx_queues; n++) { in igb_dump()
723 for (; i < adapter->num_rx_queues; i++) in igb_cache_ring_register()
1065 adapter->num_rx_queues = 0; in igb_free_q_vectors()
1105 adapter->num_rx_queues = adapter->rss_queues; in igb_set_interrupt_capability()
1112 numvecs = adapter->num_rx_queues; in igb_set_interrupt_capability()
1159 adapter->num_rx_queues = 1; in igb_set_interrupt_capability()
1328 int rxr_remaining = adapter->num_rx_queues; in igb_alloc_q_vectors()
1368 adapter->num_rx_queues = 0; in igb_alloc_q_vectors()
2017 for (i = 0; i < adapter->num_rx_queues; i++) { in igb_configure()
[all …]

123