Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
709 tx = pdata->new_tx_ring_count ? : pdata->tx_ring_count; in xgbe_get_channels()
801 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()
1259 pdata->tx_ring_count = pdata->new_tx_ring_count; in xgbe_alloc_memory()
1260 pdata->tx_q_count = pdata->tx_ring_count; in xgbe_alloc_memory()
1302 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.h1113 unsigned int tx_ring_count; member
/kernel/linux/linux-5.10/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.h565 unsigned int tx_ring_count; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c235 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.c2756 ring->count = adapter->tx_ring_count; in ixgbevf_alloc_q_vector()
2784 ring->count = adapter->tx_ring_count; in ixgbevf_alloc_q_vector()
3086 adapter->tx_ring_count = IXGBEVF_DEFAULT_TXD; in ixgbevf_sw_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c513 ring->tx_pending = interface->tx_ring_count; in fm10k_get_ringparam()
537 if ((new_tx_count == interface->tx_ring_count) && in fm10k_set_ringparam()
551 interface->tx_ring_count = new_tx_count; in fm10k_set_ringparam()
572 if (new_tx_count != interface->tx_ring_count) { in fm10k_set_ringparam()
595 interface->tx_ring_count = new_tx_count; in fm10k_set_ringparam()
Dfm10k.h352 u16 tx_ring_count; member
/kernel/linux/linux-5.10/drivers/staging/qlge/
Dqlge_dbg.c1079 mpi_coredump->misc_nic_info.tx_ring_count = qdev->tx_ring_count; in ql_core_dump()
1242 mpi_coredump->misc_nic_info.tx_ring_count = qdev->tx_ring_count; in ql_gen_reg_dump()
1601 DUMP_QDEV_FIELD(qdev, "%d", tx_ring_count); in ql_dump_qdev()
2005 for (i = 0; i < qdev->tx_ring_count; i++) { in ql_dump_all()
Dqlge_main.c2904 for (j = 0; j < qdev->tx_ring_count; j++) { in ql_tx_ring_clean()
2926 for (i = 0; i < qdev->tx_ring_count; i++) in ql_free_mem_resources()
2949 for (i = 0; i < qdev->tx_ring_count; i++) { in ql_alloc_mem_resources()
3208 u32 tx_rings_per_vector = qdev->tx_ring_count / qdev->intr_count; in ql_set_tx_vect()
3238 u32 tx_rings_per_vector = qdev->tx_ring_count / qdev->intr_count; in ql_set_irq_mask()
3659 for (i = 0; i < qdev->tx_ring_count; i++) { in ql_adapter_initialize()
3953 qdev->tx_ring_count = cpu_cnt; in ql_configure_rings()
3954 qdev->rx_ring_count = qdev->tx_ring_count + qdev->rss_ring_count; in ql_configure_rings()
3956 for (i = 0; i < qdev->tx_ring_count; i++) { in ql_configure_rings()
4126 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
2114 int tx_ring_count; /* One per online CPU. */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
Digc_ethtool.c560 ring->tx_pending = adapter->tx_ring_count; in igc_ethtool_get_ringparam()
582 if (new_tx_count == adapter->tx_ring_count && in igc_ethtool_set_ringparam()
596 adapter->tx_ring_count = new_tx_count; in igc_ethtool_set_ringparam()
619 if (new_tx_count != adapter->tx_ring_count) { in igc_ethtool_set_ringparam()
642 adapter->tx_ring_count = new_tx_count; in igc_ethtool_set_ringparam()
Digc.h183 u16 tx_ring_count; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/
Dethtool.c665 ring->tx_pending = adapter->tx_ring_count; in e1000_get_ringparam()
688 if ((new_tx_count == adapter->tx_ring_count) && in e1000_set_ringparam()
700 adapter->tx_ring_count = new_tx_count; in e1000_set_ringparam()
705 set_tx = (new_tx_count != adapter->tx_ring_count); in e1000_set_ringparam()
751 adapter->tx_ring_count = new_tx_count; in e1000_set_ringparam()
De1000.h316 u16 tx_ring_count; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c920 ring->count = adapter->tx_ring_count; in ixgbe_alloc_q_vector()
946 ring->count = adapter->tx_ring_count; in ixgbe_alloc_q_vector()
Dixgbe_ethtool.c1155 if ((new_tx_count == adapter->tx_ring_count) && in ixgbe_set_ringparam()
1171 adapter->tx_ring_count = new_tx_count; in ixgbe_set_ringparam()
1195 if (new_tx_count != adapter->tx_ring_count) { in ixgbe_set_ringparam()
1239 adapter->tx_ring_count = new_tx_count; in ixgbe_set_ringparam()
Dixgbe.h687 unsigned int tx_ring_count; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
Digb_ethtool.c874 ring->tx_pending = adapter->tx_ring_count; in igb_get_ringparam()
896 if ((new_tx_count == adapter->tx_ring_count) && in igb_set_ringparam()
910 adapter->tx_ring_count = new_tx_count; in igb_set_ringparam()
933 if (new_tx_count != adapter->tx_ring_count) { in igb_set_ringparam()
956 adapter->tx_ring_count = new_tx_count; in igb_set_ringparam()
Digb.h607 u16 tx_ring_count; member

12