/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_lib.c | 48 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.12.1/drivers/net/ethernet/google/gve/ |
D | gve_ethtool.c | 96 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.12.1/net/sched/ |
D | sch_mq.c | 62 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()
|
D | sch_mqprio.c | 103 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()
|
D | sch_taprio.c | 792 if (q->cur_txq[tc] >= dev->num_tx_queues) in taprio_dequeue_tc_priority() 814 for (i = 0; i < dev->num_tx_queues; i++) { in taprio_dequeue_txq_priority() 1188 if (qopt->num_tc > dev->num_tx_queues) { in taprio_parse_mqprio_opt() 2005 for (i = 0; i < dev->num_tx_queues; i++) in taprio_reset() 2029 for (i = 0; i < dev->num_tx_queues; i++) in taprio_destroy() 2082 q->qdiscs = kcalloc(dev->num_tx_queues, sizeof(q->qdiscs[0]), in taprio_init() 2090 for (i = 0; i < dev->num_tx_queues; i++) { in taprio_init() 2124 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in taprio_attach() 2159 if (ntx >= dev->num_tx_queues) in taprio_queue_get() 2443 if (ntx >= dev->num_tx_queues) in taprio_leaf() [all …]
|
/linux-6.12.1/drivers/net/ethernet/engleder/ |
D | tsnep_ethtool.c | 100 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()
|
D | tsnep_xdp.c | 28 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.12.1/drivers/net/ethernet/wangxun/libwx/ |
D | wx_ethtool.c | 56 #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()
|
D | wx_lib.c | 1532 if (r_idx >= wx->num_tx_queues) in wx_xmit_frame() 1533 r_idx = r_idx % wx->num_tx_queues; in wx_xmit_frame() 1600 wx->num_tx_queues = f->indices; in wx_set_rss_queues() 1607 wx->num_tx_queues = 1; in wx_set_num_queues() 1627 nvecs = max(wx->num_rx_queues, wx->num_tx_queues); in wx_acquire_msix_vectors() 1730 for (i = 0; i < wx->num_tx_queues; i++) in wx_cache_ring_rss() 1890 unsigned int txr_remaining = wx->num_tx_queues; in wx_alloc_q_vectors() 1915 wx->num_tx_queues = 0; in wx_alloc_q_vectors() 1937 wx->num_tx_queues = 0; in wx_free_q_vectors() 2373 for (i = 0; i < wx->num_tx_queues; i++) in wx_clean_all_tx_rings() [all …]
|
/linux-6.12.1/drivers/net/ethernet/broadcom/ |
D | bcmsysport.c | 362 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() 2034 for (i = 0; i < dev->num_tx_queues; i++) { in bcm_sysport_open() [all …]
|
/linux-6.12.1/drivers/net/ethernet/intel/igc/ |
D | igc_tsn.c | 12 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()
|
D | igc_xdp.c | 55 queue_id >= adapter->num_tx_queues) in igc_xdp_enable_pool() 113 queue_id >= adapter->num_tx_queues) in igc_xdp_disable_pool()
|
D | igc_dump.c | 135 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.12.1/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_netdev.c | 59 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.12.1/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 209 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_check_link() 218 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_check_link() 246 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_process_events() 550 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_tq_destroy_all() 650 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_tq_cleanup_all() 928 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_tq_init_all() 1427 BUG_ON(skb->queue_mapping > adapter->num_tx_queues); in vmxnet3_xmit_frame() 2320 for (i = 0; i < adapter->num_tx_queues; i++) in vmxnet3_do_poll() 2397 for (i = 0; i < adapter->num_tx_queues; i++) { in vmxnet3_msix_tx() 2522 for (i = 0; i < adapter->num_tx_queues; i++) { in vmxnet3_request_irqs() [all …]
|
D | vmxnet3_ethtool.c | 154 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.12.1/drivers/crypto/caam/ |
D | dpseci.h | 53 u8 num_tx_queues; member 77 u8 num_tx_queues; member
|
/linux-6.12.1/drivers/net/ethernet/intel/ixgbevf/ |
D | ethtool.c | 61 (((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()
|
D | ixgbevf_main.c | 1758 for (i = 0; i < adapter->num_tx_queues; i++) in ixgbevf_configure_tx() 2184 unsigned int num_tx_queues = adapter->num_tx_queues; in ixgbevf_configure_dcb() local 2199 num_tx_queues = 1; in ixgbevf_configure_dcb() 2210 (adapter->num_tx_queues != num_tx_queues)) { in ixgbevf_configure_dcb() 2483 for (i = 0; i < adapter->num_tx_queues; i++) in ixgbevf_clean_all_tx_rings() 2518 for (i = 0; i < adapter->num_tx_queues; i++) { in ixgbevf_down() 2627 adapter->num_tx_queues = 1; in ixgbevf_set_num_queues() 2657 adapter->num_tx_queues = rss; in ixgbevf_set_num_queues() 2683 v_budget = max(adapter->num_rx_queues, adapter->num_tx_queues); in ixgbevf_set_interrupt_capability() 2883 int txr_remaining = adapter->num_tx_queues; in ixgbevf_alloc_q_vectors() [all …]
|
/linux-6.12.1/drivers/net/dsa/microchip/ |
D | ksz_dcb.c | 375 ipm = ieee8021q_tt_to_tc(tt, dev->info->num_tx_queues); in ksz_init_global_dscp_map() 427 dev->info->num_tx_queues); in ksz_port_del_dscp_prio() 609 return ksz8_all_queues_split(dev, dev->info->num_tx_queues); in ksz88x3_port2_apptrust_quirk() 775 dev->info->num_tx_queues); in ksz_dcb_init_port()
|
D | ksz_common.c | 1328 .num_tx_queues = 4, 1358 .num_tx_queues = 4, 1399 .num_tx_queues = 4, 1426 .num_tx_queues = 4, 1453 .num_tx_queues = 4, 1487 .num_tx_queues = 4, 1510 .num_tx_queues = 4, 1534 .num_tx_queues = 4, 1570 .num_tx_queues = 4, 1605 .num_tx_queues = 4, [all …]
|
/linux-6.12.1/drivers/net/ |
D | ifb.c | 163 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.12.1/drivers/net/ethernet/wangxun/ngbe/ |
D | ngbe_ethtool.c | 72 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.12.1/drivers/net/ethernet/meta/fbnic/ |
D | fbnic_netdev.h | 36 u16 num_tx_queues; member
|
/linux-6.12.1/drivers/infiniband/hw/hfi1/ |
D | ipoib_tx.c | 697 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()
|