Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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()
199 for (i = 0; i < adapter->num_rx_queues; i++, reg_idx++) { in ixgbe_cache_ring_sriov()
216 for (; i < adapter->num_rx_queues; i++, reg_idx++) { in ixgbe_cache_ring_sriov()
256 for (i = 0; i < adapter->num_rx_queues; i++) { in ixgbe_cache_ring_rss()
382 adapter->num_rx_queues = vmdq_i * tcs; in ixgbe_set_dcb_sriov_queues()
400 adapter->num_rx_queues += fcoe_i; in ixgbe_set_dcb_sriov_queues()
480 adapter->num_rx_queues = rss_i * tcs; in ixgbe_set_dcb_queues()
550 adapter->num_rx_queues = vmdq_i * rss_i; in ixgbe_set_sriov_queues()
592 adapter->num_rx_queues += fcoe_i; in ixgbe_set_sriov_queues()
[all …]
/kernel/linux/linux-5.10/drivers/net/vmxnet3/
Dvmxnet3_drv.c199 for (i = 0; i < adapter->num_rx_queues; i++) in vmxnet3_process_events()
1695 for (i = 0; i < adapter->num_rx_queues; i++) in vmxnet3_rq_cleanup_all()
1754 for (i = 0; i < adapter->num_rx_queues; i++) { in vmxnet3_rq_destroy_all_rxdataring()
1826 for (i = 0; i < adapter->num_rx_queues; i++) { in vmxnet3_rq_init_all()
1911 for (i = 0; i < adapter->num_rx_queues; i++) { in vmxnet3_rq_create_all()
1942 for (i = 0; i < adapter->num_rx_queues; i++) in vmxnet3_do_poll()
2118 for (i = 0; i < adapter->num_rx_queues; i++) in vmxnet3_netpoll()
2178 for (i = 0; i < adapter->num_rx_queues; i++) { in vmxnet3_request_irqs()
2208 adapter->num_rx_queues = 1; in vmxnet3_request_irqs()
2213 adapter->num_rx_queues = 1; in vmxnet3_request_irqs()
[all …]
Dvmxnet3_int.h358 u32 num_rx_queues; member
438 ((rqID >= adapter->num_rx_queues && \
439 rqID < 2 * adapter->num_rx_queues) ? 1 : 0) \
442 (rqID >= 2 * adapter->num_rx_queues && \
443 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()
242 for (j = 0; j < adapter->num_rx_queues; j++) { in vmxnet3_get_strings()
422 for (j = 0; j < adapter->num_rx_queues; j++) { in vmxnet3_get_ethtool_stats()
504 buf[j++] = adapter->num_rx_queues; in vmxnet3_get_regs()
505 for (i = 0; i < adapter->num_rx_queues; i++) { in vmxnet3_get_regs()
941 info->data = adapter->num_rx_queues; in vmxnet3_get_rxnfc()
/kernel/linux/linux-5.10/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()
873 info->data = adapter->num_rx_queues; in ixgbevf_get_rxnfc()
926 adapter->num_rx_queues); in ixgbevf_get_rxfh()
Dixgbevf_main.c1802 if (adapter->num_rx_queues > 1) in ixgbevf_setup_psrtype()
1882 u16 rss_i = adapter->num_rx_queues; in ixgbevf_setup_vfmrqc()
2032 for (i = 0; i < adapter->num_rx_queues; i++) { in ixgbevf_configure_rx()
2184 unsigned int num_rx_queues = adapter->num_rx_queues; in ixgbevf_configure_dcb() local
2206 num_rx_queues = num_tcs; in ixgbevf_configure_dcb()
2210 if ((adapter->num_rx_queues != num_rx_queues) || in ixgbevf_configure_dcb()
2465 for (i = 0; i < adapter->num_rx_queues; i++) in ixgbevf_clean_all_rx_rings()
2494 for (i = 0; i < adapter->num_rx_queues; i++) in ixgbevf_down()
2620 adapter->num_rx_queues = 1; in ixgbevf_set_num_queues()
2636 adapter->num_rx_queues = num_tcs; in ixgbevf_set_num_queues()
[all …]
/kernel/linux/linux-5.10/drivers/crypto/caam/
Ddpseci.h54 u8 num_rx_queues; member
78 u8 num_rx_queues; member
Ddpseci_cmd.h72 u8 num_rx_queues; member
Ddpseci.c179 attr->num_rx_queues = rsp_params->num_rx_queues; in dpseci_get_attributes()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/pcie/
Drx.c262 for (i = 0; i < trans->num_rx_queues; i++) { in iwl_pcie_rxq_check_wrptr()
825 for (i = 0; i < trans->num_rx_queues; i++) { in iwl_pcie_alloc_rxq_dma()
846 trans_pcie->rxq = kcalloc(trans->num_rx_queues, sizeof(struct iwl_rxq), in iwl_pcie_rx_alloc()
869 rb_stts_size * trans->num_rx_queues, in iwl_pcie_rx_alloc()
877 for (i = 0; i < trans->num_rx_queues; i++) { in iwl_pcie_rx_alloc()
890 rb_stts_size * trans->num_rx_queues, in iwl_pcie_rx_alloc()
1005 for (i = 0; i < trans->num_rx_queues; i++) { in iwl_pcie_rx_mq_hw_init()
1106 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()
1214 rb_stts_size * trans->num_rx_queues, in iwl_pcie_rx_free()
[all …]
/kernel/linux/linux-5.10/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.c1507 interface->num_rx_queues = rss_i * pcs; in fm10k_set_qos_queues()
1533 interface->num_rx_queues = rss_i; in fm10k_set_rss_queues()
1570 interface->num_rx_queues = 0; in fm10k_reset_num_queues()
1716 unsigned int rxr_remaining = interface->num_rx_queues; in fm10k_alloc_q_vectors()
1812 v_budget = max(interface->num_rx_queues, interface->num_tx_queues); in fm10k_init_msix_capability()
1896 for (i = 0; i < interface->num_rx_queues; i++) in fm10k_cache_ring_rss()
Dfm10k_ethtool.c549 for (i = 0; i < interface->num_rx_queues; i++) in fm10k_set_ringparam()
557 i = max_t(int, interface->num_tx_queues, interface->num_rx_queues); in fm10k_set_ringparam()
600 for (i = 0; i < interface->num_rx_queues; i++) { in fm10k_set_ringparam()
615 for (i = 0; i < interface->num_rx_queues; i++) { in fm10k_set_ringparam()
734 cmd->data = interface->num_rx_queues; in fm10k_get_rxnfc()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
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.c114 ((((struct igc_adapter *)netdev_priv(netdev))->num_rx_queues * \
594 for (i = 0; i < adapter->num_rx_queues; i++) in igc_ethtool_set_ringparam()
601 if (adapter->num_tx_queues > adapter->num_rx_queues) in igc_ethtool_set_ringparam()
606 adapter->num_rx_queues)); in igc_ethtool_set_ringparam()
646 for (i = 0; i < adapter->num_rx_queues; i++) { in igc_ethtool_set_ringparam()
661 for (i = 0; i < adapter->num_rx_queues; i++) { in igc_ethtool_set_ringparam()
768 for (i = 0; i < adapter->num_rx_queues; i++) { in igc_ethtool_get_strings()
844 for (j = 0; j < adapter->num_rx_queues; j++) { in igc_ethtool_get_stats()
1061 cmd->data = adapter->num_rx_queues; in igc_ethtool_get_rxnfc()
1284 if (fsp->ring_cookie >= adapter->num_rx_queues) { in igc_ethtool_add_nfc_rule()
Digc_main.c395 for (i = 0; i < adapter->num_rx_queues; i++) in igc_clean_all_rx_rings()
433 for (i = 0; i < adapter->num_rx_queues; i++) in igc_free_all_rx_resources()
491 for (i = 0; i < adapter->num_rx_queues; i++) { in igc_setup_all_rx_resources()
580 for (i = 0; i < adapter->num_rx_queues; i++) in igc_configure_rx()
643 u32 j, num_rx_queues; in igc_setup_mrqc() local
651 num_rx_queues = adapter->rss_queues; in igc_setup_mrqc()
653 if (adapter->rss_indir_tbl_init != num_rx_queues) { in igc_setup_mrqc()
656 (j * num_rx_queues) / IGC_RETA_SIZE; in igc_setup_mrqc()
657 adapter->rss_indir_tbl_init = num_rx_queues; in igc_setup_mrqc()
2676 for (i = 0; i < adapter->num_rx_queues; i++) { in igc_configure()
[all …]
Digc_ptp.c216 for (i = 0; i < adapter->num_rx_queues; i++) { in igc_ptp_disable_rx_timestamp()
237 for (i = 0; i < adapter->num_rx_queues; i++) { in igc_ptp_enable_rx_timestamp()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
Dgianfar.c139 for (i = 0; i < priv->num_rx_queues; i++) { in gfar_init_tx_rx_base()
152 for (i = 0; i < priv->num_rx_queues; i++) { in gfar_init_rqprm()
257 for_each_set_bit(i, &rx_mask, priv->num_rx_queues) { in gfar_configure_coalescing()
288 for (i = 0; i < priv->num_rx_queues; i++) { in gfar_get_stats()
423 for (i = 0; i < priv->num_rx_queues; i++) { in gfar_alloc_rx_queues()
447 for (i = 0; i < priv->num_rx_queues; i++) in gfar_free_rx_queues()
562 for_each_set_bit(i, &grp->rx_bit_map, priv->num_rx_queues) { in gfar_parse_group()
565 grp->num_rx_queues++; in gfar_parse_group()
726 priv->num_rx_queues = num_rx_qs; in gfar_of_init()
1174 for (i = 0; i < priv->num_rx_queues; i++) { in free_skb_resources()
[all …]
Dgianfar_ethtool.c326 for (i = 0; i < priv->num_rx_queues; i++) in gfar_scoalesce()
329 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()
426 for (i = 0; i < priv->num_rx_queues; i++) in gfar_sringparam()
1394 cmd->fs.ring_cookie >= priv->num_rx_queues) || in gfar_set_nfc()
1421 cmd->data = priv->num_rx_queues; in gfar_get_nfc()
/kernel/linux/linux-5.10/arch/powerpc/boot/dts/fsl/
Dpq3-etsec2-2.dtsi48 fsl,num_rx_queues = <0x8>;
Dpq3-etsec2-1.dtsi49 fsl,num_rx_queues = <0x8>;
Dpq3-etsec2-0.dtsi49 fsl,num_rx_queues = <0x8>;
/kernel/linux/linux-5.10/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()
908 for (i = 0; i < adapter->num_rx_queues; i++) in igb_set_ringparam()
915 if (adapter->num_tx_queues > adapter->num_rx_queues) in igb_set_ringparam()
920 adapter->num_rx_queues)); in igb_set_ringparam()
960 for (i = 0; i < adapter->num_rx_queues; i++) { in igb_set_ringparam()
980 for (i = 0; i < adapter->num_rx_queues; i++) { in igb_set_ringparam()
2323 for (j = 0; j < adapter->num_rx_queues; j++) { in igb_get_ethtool_stats()
2368 for (i = 0; i < adapter->num_rx_queues; i++) { in igb_get_strings()
2565 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()
1324 int rxr_remaining = adapter->num_rx_queues; in igb_alloc_q_vectors()
1364 adapter->num_rx_queues = 0; in igb_alloc_q_vectors()
2013 for (i = 0; i < adapter->num_rx_queues; i++) { in igb_configure()
[all …]
/kernel/linux/linux-5.10/net/core/
Dnet-sysfs.c1505 mask = bitmap_zalloc(dev->num_rx_queues, GFP_KERNEL); in xps_rxqs_show()
1516 for (j = -1; j = netif_attrmask_next(j, NULL, dev->num_rx_queues), in xps_rxqs_show()
1517 j < dev->num_rx_queues;) { in xps_rxqs_show()
1537 len = bitmap_print_to_pagebuf(false, buf, mask, dev->num_rx_queues); in xps_rxqs_show()
1558 mask = bitmap_zalloc(dev->num_rx_queues, GFP_KERNEL); in xps_rxqs_store()
1564 err = bitmap_parse(buf, len, mask, dev->num_rx_queues); in xps_rxqs_store()

123