Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/amd/xgbe/
A 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()
A 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()
711 tx = pdata->new_tx_ring_count ? : pdata->tx_ring_count; in xgbe_get_channels()
803 tx_curr = pdata->new_tx_ring_count ? : pdata->tx_ring_count; in xgbe_set_channels()
A 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()
1257 pdata->tx_ring_count = pdata->new_tx_ring_count; in xgbe_alloc_memory()
1258 pdata->tx_q_count = pdata->tx_ring_count; in xgbe_alloc_memory()
1300 ret = netif_set_real_num_tx_queues(netdev, pdata->tx_ring_count); in xgbe_start()
A Dxgbe-pci.c133 pdata->tx_ring_count); in xgbe_config_multi_msi()
A Dxgbe.h1113 unsigned int tx_ring_count; member
/linux/drivers/net/ethernet/synopsys/
A 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()
A 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()
A Ddwc-xlgmac.h565 unsigned int tx_ring_count; member
/linux/drivers/net/ethernet/intel/ixgbevf/
A 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()
A Dixgbevf.h373 unsigned int tx_ring_count; member
A Dixgbevf_main.c2742 ring->count = adapter->tx_ring_count; in ixgbevf_alloc_q_vector()
2770 ring->count = adapter->tx_ring_count; in ixgbevf_alloc_q_vector()
3072 adapter->tx_ring_count = IXGBEVF_DEFAULT_TXD; in ixgbevf_sw_init()
/linux/drivers/net/ethernet/intel/fm10k/
A Dfm10k_ethtool.c514 ring->tx_pending = interface->tx_ring_count; in fm10k_get_ringparam()
538 if ((new_tx_count == interface->tx_ring_count) && in fm10k_set_ringparam()
552 interface->tx_ring_count = new_tx_count; in fm10k_set_ringparam()
573 if (new_tx_count != interface->tx_ring_count) { in fm10k_set_ringparam()
596 interface->tx_ring_count = new_tx_count; in fm10k_set_ringparam()
A Dfm10k.h352 u16 tx_ring_count; member
/linux/drivers/staging/qlge/
A 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()
A 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()
A Dqlge.h1368 #define QL_TXQ_IDX(qdev, skb) (smp_processor_id() % (qdev->tx_ring_count))
1757 u32 tx_ring_count; member
2127 int tx_ring_count; /* One per online CPU. */ member
/linux/drivers/net/ethernet/intel/igc/
A Digc_ethtool.c578 ring->tx_pending = adapter->tx_ring_count; in igc_ethtool_get_ringparam()
600 if (new_tx_count == adapter->tx_ring_count && in igc_ethtool_set_ringparam()
614 adapter->tx_ring_count = new_tx_count; in igc_ethtool_set_ringparam()
637 if (new_tx_count != adapter->tx_ring_count) { in igc_ethtool_set_ringparam()
660 adapter->tx_ring_count = new_tx_count; in igc_ethtool_set_ringparam()
A Digc.h200 u16 tx_ring_count; member
/linux/drivers/net/ethernet/intel/e1000e/
A 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()
A De1000.h317 u16 tx_ring_count; member
/linux/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_lib.c924 ring->count = adapter->tx_ring_count; in ixgbe_alloc_q_vector()
950 ring->count = adapter->tx_ring_count; in ixgbe_alloc_q_vector()
A Dixgbe_ethtool.c1152 if ((new_tx_count == adapter->tx_ring_count) && in ixgbe_set_ringparam()
1168 adapter->tx_ring_count = new_tx_count; in ixgbe_set_ringparam()
1192 if (new_tx_count != adapter->tx_ring_count) { in ixgbe_set_ringparam()
1236 adapter->tx_ring_count = new_tx_count; in ixgbe_set_ringparam()
A Dixgbe.h685 unsigned int tx_ring_count; member
/linux/drivers/net/ethernet/intel/igb/
A 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()
A Digb.h607 u16 tx_ring_count; member

Completed in 93 milliseconds

12