Home
last modified time | relevance | path

Searched refs:txq_stats (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/huawei/hinic/
Dhinic_tx.c79 struct hinic_txq_stats *txq_stats = &txq->txq_stats; in hinic_txq_clean_stats() local
81 u64_stats_update_begin(&txq_stats->syncp); in hinic_txq_clean_stats()
82 txq_stats->pkts = 0; in hinic_txq_clean_stats()
83 txq_stats->bytes = 0; in hinic_txq_clean_stats()
84 txq_stats->tx_busy = 0; in hinic_txq_clean_stats()
85 txq_stats->tx_wake = 0; in hinic_txq_clean_stats()
86 txq_stats->tx_dropped = 0; in hinic_txq_clean_stats()
87 txq_stats->big_frags_pkts = 0; in hinic_txq_clean_stats()
88 u64_stats_update_end(&txq_stats->syncp); in hinic_txq_clean_stats()
98 struct hinic_txq_stats *txq_stats = &txq->txq_stats; in hinic_txq_get_stats() local
[all …]
Dhinic_tx.h33 struct hinic_txq_stats txq_stats; member
Dhinic_ethtool.c1368 struct hinic_txq_stats txq_stats; in get_drv_queue_stats() local
1377 hinic_txq_get_stats(&nic_dev->txqs[qid], &txq_stats); in get_drv_queue_stats()
1379 p = (char *)&txq_stats + in get_drv_queue_stats()
/Linux-v6.6/drivers/net/ethernet/stmicro/stmmac/
Ddwmac_lib.c166 struct stmmac_txq_stats *txq_stats = &priv->xstats.txq_stats[chan]; in dwmac_dma_interrupt() local
225 u64_stats_update_begin(&txq_stats->syncp); in dwmac_dma_interrupt()
226 txq_stats->tx_normal_irq_n++; in dwmac_dma_interrupt()
227 u64_stats_update_end(&txq_stats->syncp); in dwmac_dma_interrupt()
Ddwmac4_lib.c175 struct stmmac_txq_stats *txq_stats = &priv->xstats.txq_stats[chan]; in dwmac4_dma_interrupt() local
210 u64_stats_update_begin(&txq_stats->syncp); in dwmac4_dma_interrupt()
211 txq_stats->tx_normal_irq_n++; in dwmac4_dma_interrupt()
212 u64_stats_update_end(&txq_stats->syncp); in dwmac4_dma_interrupt()
Dstmmac_ethtool.c551 struct stmmac_txq_stats *txq_stats = &priv->xstats.txq_stats[q]; in stmmac_get_per_qstats() local
556 start = u64_stats_fetch_begin(&txq_stats->syncp); in stmmac_get_per_qstats()
557 snapshot = *txq_stats; in stmmac_get_per_qstats()
558 } while (u64_stats_fetch_retry(&txq_stats->syncp, start)); in stmmac_get_per_qstats()
657 struct stmmac_txq_stats *txq_stats = &priv->xstats.txq_stats[i]; in stmmac_get_ethtool_stats() local
662 start = u64_stats_fetch_begin(&txq_stats->syncp); in stmmac_get_ethtool_stats()
663 snapshot = *txq_stats; in stmmac_get_ethtool_stats()
664 } while (u64_stats_fetch_retry(&txq_stats->syncp, start)); in stmmac_get_ethtool_stats()
Dstmmac_main.c2437 struct stmmac_txq_stats *txq_stats = &priv->xstats.txq_stats[queue]; in stmmac_xdp_xmit_zc() local
2517 flags = u64_stats_update_begin_irqsave(&txq_stats->syncp); in stmmac_xdp_xmit_zc()
2518 txq_stats->tx_set_ic_bit += tx_set_ic_bit; in stmmac_xdp_xmit_zc()
2519 u64_stats_update_end_irqrestore(&txq_stats->syncp, flags); in stmmac_xdp_xmit_zc()
2559 struct stmmac_txq_stats *txq_stats = &priv->xstats.txq_stats[queue]; in stmmac_tx_clean() local
2719 flags = u64_stats_update_begin_irqsave(&txq_stats->syncp); in stmmac_tx_clean()
2720 txq_stats->tx_packets += tx_packets; in stmmac_tx_clean()
2721 txq_stats->tx_pkt_n += tx_packets; in stmmac_tx_clean()
2722 txq_stats->tx_clean++; in stmmac_tx_clean()
2723 u64_stats_update_end_irqrestore(&txq_stats->syncp, flags); in stmmac_tx_clean()
[all …]
Ddwxgmac2_dma.c341 struct stmmac_txq_stats *txq_stats = &priv->xstats.txq_stats[chan]; in dwxgmac2_dma_interrupt() local
376 u64_stats_update_begin(&txq_stats->syncp); in dwxgmac2_dma_interrupt()
377 txq_stats->tx_normal_irq_n++; in dwxgmac2_dma_interrupt()
378 u64_stats_update_end(&txq_stats->syncp); in dwxgmac2_dma_interrupt()
Ddwmac-sun8i.c445 struct stmmac_txq_stats *txq_stats = &priv->xstats.txq_stats[chan]; in sun8i_dwmac_dma_interrupt() local
458 u64_stats_update_begin(&txq_stats->syncp); in sun8i_dwmac_dma_interrupt()
459 txq_stats->tx_normal_irq_n++; in sun8i_dwmac_dma_interrupt()
460 u64_stats_update_end(&txq_stats->syncp); in sun8i_dwmac_dma_interrupt()
Dcommon.h206 struct stmmac_txq_stats txq_stats[MTL_MAX_TX_QUEUES]; member
/Linux-v6.6/drivers/s390/net/
Dqeth_ethtool.c28 static const struct qeth_stats txq_stats[] = { variable
60 #define TXQ_STATS_LEN ARRAY_SIZE(txq_stats)
109 txq_stats, TXQ_STATS_LEN); in qeth_get_ethtool_stats()
176 qeth_add_stat_strings(&data, prefix, txq_stats, in qeth_get_strings()
/Linux-v6.6/net/mac80211/
Dsta_info.c2527 ieee80211_fill_txq_stats(&tidstats->txq_stats, in sta_set_tidstats()
/Linux-v6.6/include/net/
Dcfg80211.h1870 struct cfg80211_txq_stats txq_stats; member
/Linux-v6.6/net/wireless/
Dnl80211.c6712 !nl80211_put_txq_stats(msg, &tidstats->txq_stats, in nl80211_send_station()