Home
last modified time | relevance | path

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

12345

/linux-6.6.21/drivers/net/ethernet/google/gve/
Dgve_ethtool.c93 int num_tx_queues; in gve_get_strings() local
96 num_tx_queues = gve_num_tx_queues(priv); in gve_get_strings()
111 for (i = 0; i < num_tx_queues; i++) { in gve_get_strings()
138 int num_tx_queues; in gve_get_sset_count() local
140 num_tx_queues = gve_num_tx_queues(priv); in gve_get_sset_count()
145 (num_tx_queues * NUM_GVE_TX_CNTS); in gve_get_sset_count()
169 int num_tx_queues; in gve_get_ethtool_stats() local
176 num_tx_queues = gve_num_tx_queues(priv); in gve_get_ethtool_stats()
182 tx_qid_to_stats_idx = kmalloc_array(num_tx_queues, in gve_get_ethtool_stats()
213 ring < num_tx_queues; ring++) { in gve_get_ethtool_stats()
[all …]
Dgve_main.c97 int num_tx_queues; in gve_get_stats() local
100 num_tx_queues = gve_num_tx_queues(priv); in gve_get_stats()
115 for (ring = 0; ring < num_tx_queues; ring++) { in gve_get_stats()
720 int num_tx_queues = gve_num_tx_queues(priv); in gve_create_rings() local
724 err = gve_adminq_create_tx_queues(priv, 0, num_tx_queues); in gve_create_rings()
727 num_tx_queues); in gve_create_rings()
734 num_tx_queues); in gve_create_rings()
906 int num_tx_queues = gve_num_tx_queues(priv); in gve_destroy_rings() local
909 err = gve_adminq_destroy_tx_queues(priv, 0, num_tx_queues); in gve_destroy_rings()
953 int num_tx_queues = gve_num_tx_queues(priv); in gve_free_rings() local
[all …]
/linux-6.6.21/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()
224 for (i = 0; i < adapter->num_tx_queues; i++, reg_idx++) { in ixgbe_cache_ring_sriov()
238 for (; i < adapter->num_tx_queues; i++, reg_idx++) in ixgbe_cache_ring_sriov()
261 for (i = 0, reg_idx = 0; i < adapter->num_tx_queues; i++, reg_idx++) in ixgbe_cache_ring_rss()
384 adapter->num_tx_queues = vmdq_i * tcs; in ixgbe_set_dcb_sriov_queues()
403 adapter->num_tx_queues += fcoe_i; in ixgbe_set_dcb_sriov_queues()
440 rss_i = dev->num_tx_queues / tcs; in ixgbe_set_dcb_queues()
482 adapter->num_tx_queues = rss_i * tcs; in ixgbe_set_dcb_queues()
555 adapter->num_tx_queues = vmdq_i * rss_i; in ixgbe_set_sriov_queues()
[all …]
/linux-6.6.21/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()
369 if (dev->num_tx_queues >= TC_H_MIN_PRIORITY) in mqprio_init()
393 priv->qdiscs = kcalloc(dev->num_tx_queues, sizeof(priv->qdiscs[0]), in mqprio_init()
398 for (i = 0; i < dev->num_tx_queues; i++) { in mqprio_init()
442 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mqprio_attach()
460 if (ntx >= dev->num_tx_queues) in mqprio_queue_get()
573 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mqprio_dump()
634 return (ntx <= dev->num_tx_queues) ? ntx : 0; in mqprio_find()
741 for (ntx -= TC_MAX_QUEUE; ntx < dev->num_tx_queues; ntx++) { in mqprio_walk()
Dsch_generic.c434 for (i = 1; i < dev->num_tx_queues; i++) { in dev_trans_start()
450 for (i = 0; i < dev->num_tx_queues; i++) { in netif_freeze_queues()
476 for (i = 0; i < dev->num_tx_queues; i++) { in netif_unfreeze_queues()
509 for (i = 0; i < dev->num_tx_queues; i++) { in dev_watchdog()
1307 for (i = 0; i < dev->num_tx_queues; i++) { in some_qdisc_is_busy()
1440 for (i = 0; i < dev->num_tx_queues; i++) { in dev_qdisc_change_tx_queue_len()
/linux-6.6.21/drivers/net/dsa/ocelot/
Docelot_ext.c60 .num_tx_queues = OCELOT_NUM_TC,
96 ds->num_tx_queues = felix->info->num_tx_queues; in ocelot_ext_probe()
Dfelix.h35 int num_tx_queues; member
/linux-6.6.21/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()
417 if (queue >= max(adapter->num_tx_queues, adapter->num_rx_queues)) in tsnep_ethtool_get_per_queue_coalesce()
440 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.6.21/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()
100 for (i = 0; i < adapter->num_tx_queues; i++) { in igc_tsn_disable_offload()
126 for (i = 0; i < adapter->num_tx_queues; i++) { in igc_tsn_enable_offload()
Digc_xdp.c55 queue_id >= adapter->num_tx_queues) in igc_xdp_enable_pool()
113 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()
Digc_main.c302 for (i = 0; i < adapter->num_tx_queues; i++) in igc_free_all_tx_resources()
314 for (i = 0; i < adapter->num_tx_queues; i++) in igc_clean_all_tx_rings()
339 for (i = 0; i < adapter->num_tx_queues; i++) { in igc_disable_all_tx_rings_hw()
395 for (i = 0; i < adapter->num_tx_queues; i++) { in igc_setup_all_tx_resources()
770 for (i = 0; i < adapter->num_tx_queues; i++) in igc_configure_tx()
1692 if (r_idx >= adapter->num_tx_queues) in igc_tx_queue_mapping()
1693 r_idx = r_idx % adapter->num_tx_queues; in igc_tx_queue_mapping()
2455 while (index >= adapter->num_tx_queues) in igc_xdp_get_tx_ring()
2456 index -= adapter->num_tx_queues; in igc_xdp_get_tx_ring()
4206 adapter->num_tx_queues = 0; in igc_free_q_vectors()
[all …]
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dbcmsysport.c362 return j + dev->num_tx_queues * NUM_SYSPORT_TXQ_STAT; in bcm_sysport_get_sset_count()
389 for (i = 0; i < dev->num_tx_queues; i++) { in bcm_sysport_get_strings()
468 for (q = 0; q < priv->netdev->num_tx_queues; q++) { in bcm_sysport_update_tx_stats()
532 dev->num_tx_queues * NUM_SYSPORT_TXQ_STAT; in bcm_sysport_get_stats()
534 for (i = 0; i < dev->num_tx_queues; i++) { in bcm_sysport_get_stats()
666 for (i = 0; i < dev->num_tx_queues; i++) in bcm_sysport_set_coalesce()
1022 for (q = 0; q < priv->netdev->num_tx_queues; q++) in bcm_sysport_tx_reclaim_all()
1172 for (ring = 0; ring < dev->num_tx_queues; ring++) { in bcm_sysport_rx_isr()
1205 for (ring = 0; ring < dev->num_tx_queues; ring++) { in bcm_sysport_tx_isr()
2033 for (i = 0; i < dev->num_tx_queues; i++) { in bcm_sysport_open()
[all …]
/linux-6.6.21/drivers/net/vmxnet3/
Dvmxnet3_drv.c183 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_check_link()
192 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_check_link()
220 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_process_events()
518 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_tq_destroy_all()
602 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_tq_cleanup_all()
875 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_tq_init_all()
1366 BUG_ON(skb->queue_mapping > adapter->num_tx_queues); in vmxnet3_xmit_frame()
2224 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_do_poll()
2301 for (i = 0; i < adapter->num_tx_queues; i++) { in vmxnet3_msix_tx()
2426 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.6.21/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.6.21/drivers/net/dsa/microchip/
Dksz_common.c1122 .num_tx_queues = 4,
1151 .num_tx_queues = 4,
1190 .num_tx_queues = 4,
1215 .num_tx_queues = 4,
1240 .num_tx_queues = 4,
1264 .num_tx_queues = 4,
1298 .num_tx_queues = 4,
1330 .num_tx_queues = 4,
1360 .num_tx_queues = 4,
1386 .num_tx_queues = 4,
[all …]
/linux-6.6.21/drivers/crypto/caam/
Ddpseci.h53 u8 num_tx_queues; member
77 u8 num_tx_queues; member
/linux-6.6.21/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.6.21/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.c1759 for (i = 0; i < adapter->num_tx_queues; i++) in ixgbevf_configure_tx()
2185 unsigned int num_tx_queues = adapter->num_tx_queues; in ixgbevf_configure_dcb() local
2200 num_tx_queues = 1; in ixgbevf_configure_dcb()
2211 (adapter->num_tx_queues != num_tx_queues)) { in ixgbevf_configure_dcb()
2484 for (i = 0; i < adapter->num_tx_queues; i++) in ixgbevf_clean_all_tx_rings()
2519 for (i = 0; i < adapter->num_tx_queues; i++) { in ixgbevf_down()
2628 adapter->num_tx_queues = 1; in ixgbevf_set_num_queues()
2658 adapter->num_tx_queues = rss; in ixgbevf_set_num_queues()
2684 v_budget = max(adapter->num_rx_queues, adapter->num_tx_queues); in ixgbevf_set_interrupt_capability()
2884 int txr_remaining = adapter->num_tx_queues; in ixgbevf_alloc_q_vectors()
[all …]
/linux-6.6.21/drivers/net/ethernet/wangxun/libwx/
Dwx_lib.c1522 if (r_idx >= wx->num_tx_queues) in wx_xmit_frame()
1523 r_idx = r_idx % wx->num_tx_queues; in wx_xmit_frame()
1565 wx->num_tx_queues = wx->mac.max_tx_queues; in wx_set_rss_queues()
1572 wx->num_tx_queues = 1; in wx_set_num_queues()
1619 wx->num_tx_queues = nvecs; in wx_acquire_msix_vectors()
1642 wx->num_tx_queues = 1; in wx_set_interrupt_capability()
1678 for (i = 0; i < wx->num_tx_queues; i++) in wx_cache_ring_rss()
1838 unsigned int txr_remaining = wx->num_tx_queues; in wx_alloc_q_vectors()
1863 wx->num_tx_queues = 0; in wx_alloc_q_vectors()
1885 wx->num_tx_queues = 0; in wx_free_q_vectors()
[all …]
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dipoib_tx.c697 priv->txqs = kcalloc_node(dev->num_tx_queues, in hfi1_ipoib_txreq_init()
704 for (i = 0; i < dev->num_tx_queues; i++) { in hfi1_ipoib_txreq_init()
798 for (i = 0; i < priv->netdev->num_tx_queues; i++) { in hfi1_ipoib_txreq_deinit()
821 for (i = 0; i < dev->num_tx_queues; i++) { in hfi1_ipoib_napi_tx_enable()
833 for (i = 0; i < dev->num_tx_queues; i++) { in hfi1_ipoib_napi_tx_disable()

12345