Home
last modified time | relevance | path

Searched refs:num_tx_queues (Results 1 – 25 of 122) sorted by relevance

12345

/linux-6.14.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c48 for (i = 0; i < adapter->num_tx_queues; i++, reg_idx++) { in ixgbe_cache_ring_dcb_sriov()
78 for (i = fcoe->offset; i < adapter->num_tx_queues; i++) { in ixgbe_cache_ring_dcb_sriov()
225 for (i = 0; i < adapter->num_tx_queues; i++, reg_idx++) { in ixgbe_cache_ring_sriov()
239 for (; i < adapter->num_tx_queues; i++, reg_idx++) in ixgbe_cache_ring_sriov()
262 for (i = 0, reg_idx = 0; i < adapter->num_tx_queues; i++, reg_idx++) in ixgbe_cache_ring_rss()
385 adapter->num_tx_queues = vmdq_i * tcs; in ixgbe_set_dcb_sriov_queues()
404 adapter->num_tx_queues += fcoe_i; in ixgbe_set_dcb_sriov_queues()
441 rss_i = dev->num_tx_queues / tcs; in ixgbe_set_dcb_queues()
483 adapter->num_tx_queues = rss_i * tcs; in ixgbe_set_dcb_queues()
556 adapter->num_tx_queues = vmdq_i * rss_i; in ixgbe_set_sriov_queues()
[all …]
/linux-6.14.4/drivers/net/ethernet/google/gve/
Dgve_ethtool.c96 int num_tx_queues; in gve_get_strings() local
99 num_tx_queues = gve_num_tx_queues(priv); in gve_get_strings()
110 for (i = 0; i < num_tx_queues; i++) in gve_get_strings()
133 int num_tx_queues; in gve_get_sset_count() local
135 num_tx_queues = gve_num_tx_queues(priv); in gve_get_sset_count()
140 (num_tx_queues * NUM_GVE_TX_CNTS); in gve_get_sset_count()
168 int num_tx_queues; in gve_get_ethtool_stats() local
175 num_tx_queues = gve_num_tx_queues(priv); in gve_get_ethtool_stats()
186 tx_qid_to_stats_idx = kmalloc_array(num_tx_queues, in gve_get_ethtool_stats()
192 for (ring = 0; ring < num_tx_queues; ring++) { in gve_get_ethtool_stats()
[all …]
/linux-6.14.4/net/sched/
Dsch_mq.c62 for (ntx = 0; ntx < dev->num_tx_queues && priv->qdiscs[ntx]; ntx++) in mq_destroy()
83 priv->qdiscs = kcalloc(dev->num_tx_queues, sizeof(priv->qdiscs[0]), in mq_init()
88 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mq_init()
113 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mq_attach()
143 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mq_dump()
164 if (ntx >= dev->num_tx_queues) in mq_queue_get()
249 for (ntx = arg->skip; ntx < dev->num_tx_queues; ntx++) { in mq_walk()
Dsch_mqprio.c103 ntx < dev->num_tx_queues && priv->qdiscs[ntx]; in mqprio_destroy()
367 if (dev->num_tx_queues >= TC_H_MIN_PRIORITY) in mqprio_init()
391 priv->qdiscs = kcalloc(dev->num_tx_queues, sizeof(priv->qdiscs[0]), in mqprio_init()
396 for (i = 0; i < dev->num_tx_queues; i++) { in mqprio_init()
440 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mqprio_attach()
458 if (ntx >= dev->num_tx_queues) in mqprio_queue_get()
571 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mqprio_dump()
632 return (ntx <= dev->num_tx_queues) ? ntx : 0; in mqprio_find()
739 for (ntx -= TC_MAX_QUEUE; ntx < dev->num_tx_queues; ntx++) { in mqprio_walk()
/linux-6.14.4/drivers/net/ethernet/engleder/
Dtsnep_ethtool.c100 max(adapter->num_tx_queues, adapter->num_rx_queues) - 1; in tsnep_ethtool_get_regs_len()
136 int tx_count = adapter->num_tx_queues; in tsnep_ethtool_get_strings()
172 int tx_count = adapter->num_tx_queues; in tsnep_ethtool_get_ethtool_stats()
194 for (i = 0; i < adapter->num_tx_queues; i++) { in tsnep_ethtool_get_ethtool_stats()
249 tx_count = adapter->num_tx_queues; in tsnep_ethtool_get_sset_count()
413 if (queue >= max(adapter->num_tx_queues, adapter->num_rx_queues)) in tsnep_ethtool_get_per_queue_coalesce()
436 if (queue >= max(adapter->num_tx_queues, adapter->num_rx_queues)) in tsnep_ethtool_set_per_queue_coalesce()
Dtsnep_xdp.c28 queue_id >= adapter->num_tx_queues) in tsnep_xdp_enable_pool()
64 queue_id >= adapter->num_tx_queues) in tsnep_xdp_disable_pool()
/linux-6.14.4/drivers/net/ethernet/meta/fbnic/
Dfbnic_ethtool.c90 swap(clone->num_tx_queues, orig->num_tx_queues); in fbnic_clone_swap_cfg()
389 fbn->num_tx_queues > fbn->num_napi) in fbnic_get_channels()
391 fbn->num_tx_queues); in fbnic_get_channels()
394 fbn->num_rx_queues + fbn->num_tx_queues - fbn->num_napi; in fbnic_get_channels()
396 ch->tx_count = fbn->num_tx_queues - ch->combined_count; in fbnic_get_channels()
404 fbn->num_tx_queues = ch->tx_count + ch->combined_count; in fbnic_set_queues()
528 for (i = 0; i < fbn->num_tx_queues; i++) { in fbnic_get_ts_stats()
Dfbnic_netdev.h49 u16 num_tx_queues; member
/linux-6.14.4/drivers/net/ethernet/wangxun/libwx/
Dwx_ethtool.c56 #define WX_NUM_RX_QUEUES netdev->num_tx_queues
57 #define WX_NUM_TX_QUEUES netdev->num_tx_queues
94 for (i = 0; i < netdev->num_tx_queues; i++) { in wx_get_strings()
131 for (j = 0; j < netdev->num_tx_queues; j++) { in wx_get_ethtool_stats()
205 if (wx->num_tx_queues <= WX_NUM_TX_QUEUES) { in wx_get_drvinfo()
207 (WX_NUM_TX_QUEUES - wx->num_tx_queues) * in wx_get_drvinfo()
Dwx_lib.c1549 if (r_idx >= wx->num_tx_queues) in wx_xmit_frame()
1550 r_idx = r_idx % wx->num_tx_queues; in wx_xmit_frame()
1617 wx->num_tx_queues = f->indices; in wx_set_rss_queues()
1624 wx->num_tx_queues = 1; in wx_set_num_queues()
1644 nvecs = max(wx->num_rx_queues, wx->num_tx_queues); in wx_acquire_msix_vectors()
1747 for (i = 0; i < wx->num_tx_queues; i++) in wx_cache_ring_rss()
1907 unsigned int txr_remaining = wx->num_tx_queues; in wx_alloc_q_vectors()
1932 wx->num_tx_queues = 0; in wx_alloc_q_vectors()
1954 wx->num_tx_queues = 0; in wx_free_q_vectors()
2390 for (i = 0; i < wx->num_tx_queues; i++) in wx_clean_all_tx_rings()
[all …]
/linux-6.14.4/drivers/net/ethernet/broadcom/
Dbcmsysport.c338 return j + dev->num_tx_queues * NUM_SYSPORT_TXQ_STAT; in bcm_sysport_get_sset_count()
362 for (i = 0; i < dev->num_tx_queues; i++) { in bcm_sysport_get_strings()
434 for (q = 0; q < priv->netdev->num_tx_queues; q++) { in bcm_sysport_update_tx_stats()
498 dev->num_tx_queues * NUM_SYSPORT_TXQ_STAT; in bcm_sysport_get_stats()
500 for (i = 0; i < dev->num_tx_queues; i++) { in bcm_sysport_get_stats()
632 for (i = 0; i < dev->num_tx_queues; i++) in bcm_sysport_set_coalesce()
988 for (q = 0; q < priv->netdev->num_tx_queues; q++) in bcm_sysport_tx_reclaim_all()
1138 for (ring = 0; ring < dev->num_tx_queues; ring++) { in bcm_sysport_rx_isr()
1171 for (ring = 0; ring < dev->num_tx_queues; ring++) { in bcm_sysport_tx_isr()
2004 for (i = 0; i < dev->num_tx_queues; i++) { in bcm_sysport_open()
[all …]
/linux-6.14.4/drivers/net/ethernet/intel/igc/
Digc_tsn.c12 for (i = 0; i < adapter->num_tx_queues; i++) { in is_any_launchtime()
26 for (i = 0; i < adapter->num_tx_queues; i++) { in is_cbs_enabled()
151 for (i = 0; i < adapter->num_tx_queues; i++) { in igc_tsn_disable_offload()
242 for (i = 0; i < adapter->num_tx_queues; i++) { in igc_tsn_enable_offload()
Digc_xdp.c57 queue_id >= adapter->num_tx_queues) in igc_xdp_enable_pool()
115 queue_id >= adapter->num_tx_queues) in igc_xdp_disable_pool()
Digc_dump.c135 for (n = 0; n < adapter->num_tx_queues; n++) { in igc_rings_dump()
166 for (n = 0; n < adapter->num_tx_queues; n++) { in igc_rings_dump()
/linux-6.14.4/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c59 for (i = 0; i < interface->num_tx_queues; i++) { in fm10k_setup_all_tx_resources()
226 for (i = 0; i < interface->num_tx_queues; i++) in fm10k_clean_all_tx_rings()
238 int i = interface->num_tx_queues; in fm10k_free_all_tx_resources()
462 interface->num_tx_queues); in fm10k_open()
513 int num_tx_queues = READ_ONCE(interface->num_tx_queues); in fm10k_xmit_frame() local
517 if (!num_tx_queues) in fm10k_xmit_frame()
572 if (r_idx >= num_tx_queues) in fm10k_xmit_frame()
573 r_idx %= num_tx_queues; in fm10k_xmit_frame()
591 if (txqueue >= interface->num_tx_queues) { in fm10k_tx_timeout()
1241 for (i = 0; i < interface->num_tx_queues; i++) { in fm10k_get_stats64()
/linux-6.14.4/drivers/net/vmxnet3/
Dvmxnet3_drv.c217 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_check_link()
226 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_check_link()
254 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_process_events()
558 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_tq_destroy_all()
658 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_tq_cleanup_all()
936 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_tq_init_all()
1435 BUG_ON(skb->queue_mapping > adapter->num_tx_queues); in vmxnet3_xmit_frame()
2328 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_do_poll()
2405 for (i = 0; i < adapter->num_tx_queues; i++) { in vmxnet3_msix_tx()
2530 for (i = 0; i < adapter->num_tx_queues; i++) { in vmxnet3_request_irqs()
[all …]
Dvmxnet3_ethtool.c154 for (i = 0; i < adapter->num_tx_queues; i++) { in vmxnet3_get_stats64()
192 adapter->num_tx_queues + in vmxnet3_get_sset_count()
216 (1 + adapter->num_tx_queues * 17 /* Tx queue registers */) + in vmxnet3_get_regs_len()
246 for (j = 0; j < adapter->num_tx_queues; j++) { in vmxnet3_get_strings()
481 for (j = 0; j < adapter->num_tx_queues; j++) { in vmxnet3_get_ethtool_stats()
548 buf[j++] = adapter->num_tx_queues; in vmxnet3_get_regs()
549 for (i = 0; i < adapter->num_tx_queues; i++) { in vmxnet3_get_regs()
1325 ec->combined_count = adapter->num_tx_queues; in vmxnet3_get_channels()
1330 1 : adapter->num_tx_queues; in vmxnet3_get_channels()
/linux-6.14.4/drivers/net/
Difb.c163 for (i = 0; i < dev->num_tx_queues; i++,txp++) { in ifb_stats64()
190 txp = kcalloc(dev->num_tx_queues, sizeof(*txp), GFP_KERNEL); in ifb_dev_init()
194 for (i = 0; i < dev->num_tx_queues; i++,txp++) { in ifb_dev_init()
302 for (i = 0; i < dev->num_tx_queues; i++,txp++) { in ifb_dev_free()
/linux-6.14.4/drivers/crypto/caam/
Ddpseci.h53 u8 num_tx_queues; member
77 u8 num_tx_queues; member
/linux-6.14.4/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c61 (((struct ixgbevf_adapter *)netdev_priv(netdev))->num_tx_queues + \
266 for (i = 0; i < adapter->num_tx_queues; i++) in ixgbevf_set_ringparam()
280 adapter->num_tx_queues + in ixgbevf_set_ringparam()
287 for (i = 0; i < adapter->num_tx_queues; i++) { in ixgbevf_set_ringparam()
361 for (i = 0; i < adapter->num_tx_queues; i++) { in ixgbevf_set_ringparam()
396 i < adapter->num_tx_queues + adapter->num_xdp_queues; i++) in ixgbevf_set_ringparam()
452 for (j = 0; j < adapter->num_tx_queues; j++) { in ixgbevf_get_ethtool_stats()
522 for (i = 0; i < adapter->num_tx_queues; i++) { in ixgbevf_get_strings()
Dixgbevf_main.c1760 for (i = 0; i < adapter->num_tx_queues; i++) in ixgbevf_configure_tx()
2186 unsigned int num_tx_queues = adapter->num_tx_queues; in ixgbevf_configure_dcb() local
2201 num_tx_queues = 1; in ixgbevf_configure_dcb()
2212 (adapter->num_tx_queues != num_tx_queues)) { in ixgbevf_configure_dcb()
2485 for (i = 0; i < adapter->num_tx_queues; i++) in ixgbevf_clean_all_tx_rings()
2520 for (i = 0; i < adapter->num_tx_queues; i++) { in ixgbevf_down()
2629 adapter->num_tx_queues = 1; in ixgbevf_set_num_queues()
2659 adapter->num_tx_queues = rss; in ixgbevf_set_num_queues()
2685 v_budget = max(adapter->num_rx_queues, adapter->num_tx_queues); in ixgbevf_set_interrupt_capability()
2885 int txr_remaining = adapter->num_tx_queues; in ixgbevf_alloc_q_vectors()
[all …]
/linux-6.14.4/drivers/net/ethernet/wangxun/ngbe/
Dngbe_ethtool.c72 for (i = 0; i < wx->num_tx_queues; i++) in ngbe_set_ringparam()
83 i = max_t(int, wx->num_tx_queues, wx->num_rx_queues); in ngbe_set_ringparam()
/linux-6.14.4/drivers/net/dsa/microchip/
Dksz_common.c1324 .num_tx_queues = 4,
1355 .num_tx_queues = 4,
1396 .num_tx_queues = 4,
1423 .num_tx_queues = 4,
1450 .num_tx_queues = 4,
1484 .num_tx_queues = 4,
1507 .num_tx_queues = 4,
1531 .num_tx_queues = 4,
1568 .num_tx_queues = 4,
1603 .num_tx_queues = 4,
[all …]
Dksz_dcb.c331 ipm = ieee8021q_tt_to_tc(tt, dev->info->num_tx_queues); in ksz_init_global_dscp_map()
383 dev->info->num_tx_queues); in ksz_port_del_dscp_prio()
576 dev->info->num_tx_queues); in ksz_dcb_init_port()
/linux-6.14.4/net/core/
Ddev.h211 netdev->num_tx_queues); in netdev_set_defer_hard_irqs()
257 netdev->num_tx_queues); in netdev_set_gro_flush_timeout()

12345