Home
last modified time | relevance | path

Searched full:num_tx_queues (Results 1 – 25 of 123) sorted by relevance

12345

/linux/drivers/net/ethernet/google/gve/
H A 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()
170 int num_tx_queues; in gve_get_ethtool_stats() local
177 num_tx_queues = gve_num_tx_queues(priv); in gve_get_ethtool_stats()
187 tx_qid_to_stats_idx = kmalloc_objs(int, num_tx_queues); in gve_get_ethtool_stats()
192 for (ring = 0; ring < num_tx_queues; ring++) { in gve_get_ethtool_stats()
[all …]
/linux/drivers/net/
H A Difb.c163 for (i = 0; i < dev->num_tx_queues; i++,txp++) { in ifb_stats64()
190 txp = kzalloc_objs(*txp, dev->num_tx_queues); in ifb_dev_init()
194 for (i = 0; i < dev->num_tx_queues; i++,txp++) { in ifb_dev_init()
214 for (i = 0; i < dev->num_tx_queues; i++) in ifb_get_strings()
219 for (i = 0; i < dev->num_tx_queues; i++) in ifb_get_strings()
232 return IFB_Q_STATS_LEN * dev->num_tx_queues * 2; in ifb_get_sset_count()
264 for (i = 0; i < dev->num_tx_queues; i++) { in ifb_get_ethtool_stats()
269 for (i = 0; i < dev->num_tx_queues; i++) { in ifb_get_ethtool_stats()
301 for (i = 0; i < dev->num_tx_queues; i++,txp++) { in ifb_dev_free()
/linux/net/sched/
H A Dsch_mq.c56 for (ntx = 0; ntx < dev->num_tx_queues && priv->qdiscs[ntx]; ntx++) in mq_destroy_common()
85 priv->qdiscs = kzalloc_objs(priv->qdiscs[0], dev->num_tx_queues); in mq_init_common()
89 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mq_init_common()
127 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mq_attach()
160 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mq_dump_common()
197 if (ntx >= dev->num_tx_queues) in mq_graft()
287 for (ntx = arg->skip; ntx < dev->num_tx_queues; ntx++) {
H A 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 = kzalloc_objs(priv->qdiscs[0], dev->num_tx_queues); in mqprio_init()
395 for (i = 0; i < dev->num_tx_queues; i++) { in mqprio_init()
439 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mqprio_attach()
457 if (ntx >= dev->num_tx_queues) in mqprio_queue_get()
572 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mqprio_dump()
641 * num_tx_queues. All of these are backed by actual Qdiscs. in mqprio_find()
644 return (ntx <= dev->num_tx_queues) ? ntx : 0; in mqprio_find()
743 for (ntx -= TC_MAX_QUEUE; ntx < dev->num_tx_queues; ntx++) { in mqprio_walk()
H A Dsch_taprio.c799 if (q->cur_txq[tc] >= dev->num_tx_queues) in taprio_dequeue_tc_priority()
821 for (i = 0; i < dev->num_tx_queues; i++) { in taprio_dequeue_txq_priority()
1196 if (qopt->num_tc > dev->num_tx_queues) { in taprio_parse_mqprio_opt()
2026 for (i = 0; i < dev->num_tx_queues; i++) in taprio_reset()
2050 for (i = 0; i < dev->num_tx_queues; i++) in taprio_destroy()
2102 q->qdiscs = kzalloc_objs(q->qdiscs[0], dev->num_tx_queues); in taprio_init()
2109 for (i = 0; i < dev->num_tx_queues; i++) { in taprio_init()
2143 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in taprio_attach()
2178 if (ntx >= dev->num_tx_queues) in taprio_queue_get()
2468 if (ntx >= dev->num_tx_queues) in taprio_leaf()
[all …]
/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_ethtool.c61 /* drivers allocates num_tx_queues and num_rx_queues symmetrically so
62 * we set the num_rx_queues to evaluate to num_tx_queues. This is
66 #define WX_NUM_RX_QUEUES netdev->num_tx_queues
67 #define WX_NUM_TX_QUEUES netdev->num_tx_queues
113 for (i = 0; i < netdev->num_tx_queues; i++) { in wx_get_strings()
157 for (j = 0; j < netdev->num_tx_queues; j++) { in wx_get_ethtool_stats()
231 if (wx->num_tx_queues <= WX_NUM_TX_QUEUES) { in wx_get_drvinfo()
233 (WX_NUM_TX_QUEUES - wx->num_tx_queues) * in wx_get_drvinfo()
807 for (i = 0; i < wx->num_tx_queues; i++) in wx_set_ringparam_vf()
818 i = max_t(int, wx->num_tx_queues, wx->num_rx_queues); in wx_set_ringparam_vf()
H A Dwx_lib.c1715 if (r_idx >= wx->num_tx_queues) in wx_xmit_frame()
1716 r_idx = r_idx % wx->num_tx_queues; in wx_xmit_frame()
1868 wx->num_tx_queues = vmdq_i * rss_i; in wx_set_vmdq_queues()
1914 wx->num_tx_queues = f->indices; in wx_set_rss_queues()
1921 wx->num_tx_queues = 1; in wx_set_num_queues()
1944 nvecs = max(wx->num_rx_queues, wx->num_tx_queues); in wx_acquire_msix_vectors()
2064 for (i = 0; i < wx->num_tx_queues; i++, reg_idx++) { in wx_cache_ring_vmdq()
2078 for (i = 0; i < wx->num_tx_queues; i++) in wx_cache_ring_vmdq()
2103 for (i = 0; i < wx->num_tx_queues; i++) in wx_cache_ring_rss()
2269 unsigned int txr_remaining = wx->num_tx_queues; in wx_alloc_q_vectors()
[all …]
H A Dwx_err.c204 for (i = 0; i < wx->num_tx_queues; i++) { in wx_ring_tx_pending()
267 for (i = 0; i < wx->num_tx_queues; i++) in wx_detect_tx_hang()
/linux/drivers/net/ethernet/freescale/
H A Ducc_geth.h31 #define NUM_TX_QUEUES 8 macro
435 struct ucc_geth_send_queue_qd sqqd[NUM_TX_QUEUES];
467 u32 weightstatus[NUM_TX_QUEUES]; /* accumulated weight factor */
480 u8 weightfactor[NUM_TX_QUEUES];
1130 u8 weightfactor[NUM_TX_QUEUES];
1136 u16 bdRingLenTx[NUM_TX_QUEUES];
1183 u8 __iomem *p_tx_bd_ring[NUM_TX_QUEUES];
1185 u8 __iomem *confBd[NUM_TX_QUEUES];
1186 u8 __iomem *txBd[NUM_TX_QUEUES];
1189 u16 cpucount[NUM_TX_QUEUES];
[all …]
H A Dgianfar.c133 for (i = 0; i < priv->num_tx_queues; i++) { in gfar_init_tx_rx_base()
247 for_each_set_bit(i, &tx_mask, priv->num_tx_queues) { in gfar_configure_coalescing()
289 for (i = 0; i < priv->num_tx_queues; i++) { in gfar_get_stats64()
415 for (i = 0; i < priv->num_tx_queues; i++) { in gfar_alloc_tx_queues()
447 for (i = 0; i < priv->num_tx_queues; i++) in gfar_free_tx_queues()
561 for_each_set_bit(i, &grp->tx_bit_map, priv->num_tx_queues) { in gfar_parse_group()
564 grp->num_tx_queues++; in gfar_parse_group()
685 priv->num_tx_queues = num_tx_qs; in gfar_of_init()
1127 for (i = 0; i < priv->num_tx_queues; i++) { in free_skb_resources()
1288 for (i = 0; i < priv->num_tx_queues; i++) { in gfar_init_bds()
[all …]
/linux/drivers/net/ethernet/broadcom/
H A 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()
2003 for (i = 0; i < dev->num_tx_queues; i++) { in bcm_sysport_open()
[all …]
/linux/drivers/net/wireless/ti/wlcore/
H A Dps.c83 int filtered[NUM_TX_QUEUES]; in wl1271_ps_filter_frames()
87 for (i = 0; i < NUM_TX_QUEUES; i++) { in wl1271_ps_filter_frames()
103 for (i = 0; i < NUM_TX_QUEUES; i++) { in wl1271_ps_filter_frames()
H A Dwlcore_i.h112 #define NUM_TX_QUEUES 4 macro
144 * (length of the array is NUM_TX_QUEUES)
260 struct sk_buff_head tx_queue[NUM_TX_QUEUES];
395 int tx_queue_count[NUM_TX_QUEUES];
H A Dtx.c473 for (i = 0; i < NUM_TX_QUEUES; i++) { in wl1271_handle_tx_low_watermark()
497 for (i = 0; i < NUM_TX_QUEUES; i++) { in wlcore_select_ac()
1024 int total[NUM_TX_QUEUES]; in wl1271_tx_reset_link_queues()
1027 for (i = 0; i < NUM_TX_QUEUES; i++) { in wl1271_tx_reset_link_queues()
1044 for (i = 0; i < NUM_TX_QUEUES; i++) { in wl1271_tx_reset_link_queues()
1072 for (i = 0; i < NUM_TX_QUEUES; i++) in wl12xx_tx_reset_wlvif()
1087 for (i = 0; i < NUM_TX_QUEUES; i++) in wl12xx_tx_reset()
1251 for (i = 0; i < WLCORE_NUM_MAC_ADDRESSES * NUM_TX_QUEUES; i++) in wlcore_stop_queues()
1272 for (i = 0; i < WLCORE_NUM_MAC_ADDRESSES * NUM_TX_QUEUES; i++) in wlcore_wake_queues()
H A Dwlcore.h251 u32 tx_pkts_freed[NUM_TX_QUEUES];
252 u32 tx_allocated_pkts[NUM_TX_QUEUES];
261 int tx_queue_count[NUM_TX_QUEUES];
263 NUM_TX_QUEUES * WLCORE_NUM_MAC_ADDRESSES];
/linux/drivers/net/ethernet/engleder/
H A 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/drivers/crypto/caam/
H A Ddpseci.h44 * @num_tx_queues: num of queues towards the SEC
53 u8 num_tx_queues; member
70 * @num_tx_queues: number of queues towards the SEC
77 u8 num_tx_queues; member
/linux/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c221 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_check_link()
230 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_check_link()
258 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_process_events()
562 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_tq_destroy_all()
662 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_tq_cleanup_all()
940 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_tq_init_all()
1439 BUG_ON(skb->queue_mapping > adapter->num_tx_queues); in vmxnet3_xmit_frame()
2368 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_do_poll()
2445 for (i = 0; i < adapter->num_tx_queues; i++) { in vmxnet3_msix_tx()
2570 for (i = 0; i < adapter->num_tx_queues; i++) { in vmxnet3_request_irqs()
[all …]
/linux/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_ethtool.c39 for (i = 0; i < wx->num_tx_queues; i++) in ngbe_set_ringparam()
50 i = max_t(int, wx->num_tx_queues, wx->num_rx_queues); in ngbe_set_ringparam()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_tsn.c172 for (int i = 0; i < adapter->num_tx_queues; i++) { in igc_fpe_clear_preempt_queue()
207 for (int i = 0; i < adapter->num_tx_queues; i++) { in igc_fpe_save_preempt_queue()
218 for (i = 0; i < adapter->num_tx_queues; i++) { in is_any_launchtime()
232 for (i = 0; i < adapter->num_tx_queues; i++) { in is_cbs_enabled()
388 for (i = 0; i < adapter->num_tx_queues; i++) { in igc_tsn_disable_offload()
477 for (i = 0; i < adapter->num_tx_queues; i++) { in igc_tsn_enable_offload()
H A Digc_xdp.c68 queue_id >= adapter->num_tx_queues) in igc_xdp_enable_pool()
126 queue_id >= adapter->num_tx_queues) in igc_xdp_disable_pool()
/linux/drivers/net/ethernet/intel/fm10k/
H A 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/drivers/net/wireless/ti/wl18xx/
H A Dwl18xx.h103 u8 tx_released_pkts[NUM_TX_QUEUES];
160 u8 tx_released_pkts[NUM_TX_QUEUES];
/linux/drivers/net/dsa/microchip/
H A Dksz_common.c1150 .num_tx_queues = 4,
1175 .num_tx_queues = 4,
1207 .num_tx_queues = 4,
1249 .num_tx_queues = 4,
1277 .num_tx_queues = 4,
1305 .num_tx_queues = 4,
1340 .num_tx_queues = 4,
1364 .num_tx_queues = 4,
1389 .num_tx_queues = 4,
1428 .num_tx_queues = 4,
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A 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