Home
last modified time | relevance | path

Searched refs:tx_ring_count (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.1.9/drivers/net/ethernet/amd/xgbe/
Dxgbe-main.c237 pdata->tx_ring_count = min_t(unsigned int, num_online_cpus(), in xgbe_set_counts()
239 pdata->tx_ring_count = min_t(unsigned int, pdata->tx_ring_count, in xgbe_set_counts()
241 pdata->tx_ring_count = min_t(unsigned int, pdata->tx_ring_count, in xgbe_set_counts()
244 pdata->tx_q_count = pdata->tx_ring_count; in xgbe_set_counts()
256 pdata->tx_ring_count, pdata->rx_ring_count); in xgbe_set_counts()
313 pdata->tx_ring_count = min_t(unsigned int, pdata->tx_ring_count, in xgbe_config_netdev()
321 pdata->tx_ring_count, pdata->rx_ring_count); in xgbe_config_netdev()
408 pdata->tx_ring_count); in xgbe_config_netdev()
Dxgbe-ethtool.c203 for (i = 0; i < pdata->tx_ring_count; i++) { in xgbe_get_strings()
231 for (i = 0; i < pdata->tx_ring_count; i++) { in xgbe_get_ethtool_stats()
249 (pdata->tx_ring_count * 2) + in xgbe_get_sset_count()
716 tx = pdata->new_tx_ring_count ? : pdata->tx_ring_count; in xgbe_get_channels()
808 tx_curr = pdata->new_tx_ring_count ? : pdata->tx_ring_count; in xgbe_set_channels()
Dxgbe-drv.c198 count = max_t(unsigned int, pdata->tx_ring_count, pdata->rx_ring_count); in xgbe_alloc_channels()
222 if (i < pdata->tx_ring_count) { in xgbe_alloc_channels()
1262 pdata->tx_ring_count = pdata->new_tx_ring_count; in xgbe_alloc_memory()
1263 pdata->tx_q_count = pdata->tx_ring_count; in xgbe_alloc_memory()
1305 ret = netif_set_real_num_tx_queues(netdev, pdata->tx_ring_count); in xgbe_start()
Dxgbe-pci.c133 pdata->tx_ring_count); in xgbe_config_multi_msi()
Dxgbe.h1141 unsigned int tx_ring_count; member
/linux-6.1.9/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-common.c127 pdata->tx_ring_count = min_t(unsigned int, num_online_cpus(), in xlgmac_init()
129 pdata->tx_ring_count = min_t(unsigned int, pdata->tx_ring_count, in xlgmac_init()
131 pdata->tx_q_count = pdata->tx_ring_count; in xlgmac_init()
151 max_t(unsigned int, pdata->tx_ring_count, pdata->rx_ring_count); in xlgmac_init()
Ddwc-xlgmac-desc.c245 tx_ring = kcalloc(pdata->tx_ring_count, sizeof(struct xlgmac_ring), in xlgmac_alloc_channels()
275 if (i < pdata->tx_ring_count) in xlgmac_alloc_channels()
Ddwc-xlgmac.h566 unsigned int tx_ring_count; member
/linux-6.1.9/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c233 ring->tx_pending = adapter->tx_ring_count; in ixgbevf_get_ringparam()
258 if ((new_tx_count == adapter->tx_ring_count) && in ixgbevf_set_ringparam()
272 adapter->tx_ring_count = new_tx_count; in ixgbevf_set_ringparam()
278 if (new_tx_count != adapter->tx_ring_count) { in ixgbevf_set_ringparam()
365 adapter->tx_ring_count = new_tx_count; in ixgbevf_set_ringparam()
Dixgbevf.h373 unsigned int tx_ring_count; member
Dixgbevf_main.c2758 ring->count = adapter->tx_ring_count; in ixgbevf_alloc_q_vector()
2786 ring->count = adapter->tx_ring_count; in ixgbevf_alloc_q_vector()
3088 adapter->tx_ring_count = IXGBEVF_DEFAULT_TXD; in ixgbevf_sw_init()
/linux-6.1.9/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c516 ring->tx_pending = interface->tx_ring_count; in fm10k_get_ringparam()
542 if ((new_tx_count == interface->tx_ring_count) && in fm10k_set_ringparam()
556 interface->tx_ring_count = new_tx_count; in fm10k_set_ringparam()
577 if (new_tx_count != interface->tx_ring_count) { in fm10k_set_ringparam()
600 interface->tx_ring_count = new_tx_count; in fm10k_set_ringparam()
Dfm10k.h352 u16 tx_ring_count; member
/linux-6.1.9/drivers/staging/qlge/
Dqlge_dbg.c1078 mpi_coredump->misc_nic_info.tx_ring_count = qdev->tx_ring_count; in qlge_core_dump()
1241 mpi_coredump->misc_nic_info.tx_ring_count = qdev->tx_ring_count; in qlge_gen_reg_dump()
Dqlge_main.c2885 for (j = 0; j < qdev->tx_ring_count; j++) { in qlge_tx_ring_clean()
2907 for (i = 0; i < qdev->tx_ring_count; i++) in qlge_free_mem_resources()
2930 for (i = 0; i < qdev->tx_ring_count; i++) { in qlge_alloc_mem_resources()
3189 u32 tx_rings_per_vector = qdev->tx_ring_count / qdev->intr_count; in qlge_set_tx_vect()
3219 u32 tx_rings_per_vector = qdev->tx_ring_count / qdev->intr_count; in qlge_set_irq_mask()
3640 for (i = 0; i < qdev->tx_ring_count; i++) { in qlge_adapter_initialize()
3931 qdev->tx_ring_count = cpu_cnt; in qlge_configure_rings()
3932 qdev->rx_ring_count = qdev->tx_ring_count + qdev->rss_ring_count; in qlge_configure_rings()
3934 for (i = 0; i < qdev->tx_ring_count; i++) { in qlge_configure_rings()
4104 for (i = 0; i < qdev->tx_ring_count; i++, tx_ring++) { in qlge_get_stats()
Dqlge.h1368 #define QL_TXQ_IDX(qdev, skb) (smp_processor_id() % (qdev->tx_ring_count))
1757 u32 tx_ring_count; member
2128 int tx_ring_count; /* One per online CPU. */ member
/linux-6.1.9/drivers/net/ethernet/intel/igc/
Digc_ethtool.c581 ring->tx_pending = adapter->tx_ring_count; in igc_ethtool_get_ringparam()
606 if (new_tx_count == adapter->tx_ring_count && in igc_ethtool_set_ringparam()
620 adapter->tx_ring_count = new_tx_count; in igc_ethtool_set_ringparam()
643 if (new_tx_count != adapter->tx_ring_count) { in igc_ethtool_set_ringparam()
666 adapter->tx_ring_count = new_tx_count; in igc_ethtool_set_ringparam()
Digc.h203 u16 tx_ring_count; member
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/
Dethtool.c667 ring->tx_pending = adapter->tx_ring_count; in e1000_get_ringparam()
692 if ((new_tx_count == adapter->tx_ring_count) && in e1000_set_ringparam()
704 adapter->tx_ring_count = new_tx_count; in e1000_set_ringparam()
709 set_tx = (new_tx_count != adapter->tx_ring_count); in e1000_set_ringparam()
755 adapter->tx_ring_count = new_tx_count; in e1000_set_ringparam()
De1000.h318 u16 tx_ring_count; member
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c923 ring->count = adapter->tx_ring_count; in ixgbe_alloc_q_vector()
949 ring->count = adapter->tx_ring_count; in ixgbe_alloc_q_vector()
Dixgbe_ethtool.c1156 if ((new_tx_count == adapter->tx_ring_count) && in ixgbe_set_ringparam()
1172 adapter->tx_ring_count = new_tx_count; in ixgbe_set_ringparam()
1196 if (new_tx_count != adapter->tx_ring_count) { in ixgbe_set_ringparam()
1240 adapter->tx_ring_count = new_tx_count; in ixgbe_set_ringparam()
Dixgbe.h725 unsigned int tx_ring_count; member
/linux-6.1.9/drivers/net/ethernet/intel/igb/
Digb_ethtool.c876 ring->tx_pending = adapter->tx_ring_count; in igb_get_ringparam()
900 if ((new_tx_count == adapter->tx_ring_count) && in igb_set_ringparam()
914 adapter->tx_ring_count = new_tx_count; in igb_set_ringparam()
937 if (new_tx_count != adapter->tx_ring_count) { in igb_set_ringparam()
960 adapter->tx_ring_count = new_tx_count; in igb_set_ringparam()
Digb.h607 u16 tx_ring_count; member

12