Home
last modified time | relevance | path

Searched refs:rxq_stats (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/huawei/hinic/
Dhinic_rx.c55 struct hinic_rxq_stats *rxq_stats = &rxq->rxq_stats; in hinic_rxq_clean_stats() local
57 u64_stats_update_begin(&rxq_stats->syncp); in hinic_rxq_clean_stats()
58 rxq_stats->pkts = 0; in hinic_rxq_clean_stats()
59 rxq_stats->bytes = 0; in hinic_rxq_clean_stats()
60 rxq_stats->errors = 0; in hinic_rxq_clean_stats()
61 rxq_stats->csum_errors = 0; in hinic_rxq_clean_stats()
62 rxq_stats->other_errors = 0; in hinic_rxq_clean_stats()
63 u64_stats_update_end(&rxq_stats->syncp); in hinic_rxq_clean_stats()
73 struct hinic_rxq_stats *rxq_stats = &rxq->rxq_stats; in hinic_rxq_get_stats() local
77 start = u64_stats_fetch_begin(&rxq_stats->syncp); in hinic_rxq_get_stats()
[all …]
Dhinic_rx.h35 struct hinic_rxq_stats rxq_stats; member
Dhinic_ethtool.c1369 struct hinic_rxq_stats rxq_stats; in get_drv_queue_stats() local
1390 hinic_rxq_get_stats(&nic_dev->rxqs[qid], &rxq_stats); in get_drv_queue_stats()
1392 p = (char *)&rxq_stats + in get_drv_queue_stats()
/Linux-v6.6/drivers/net/ethernet/stmicro/stmmac/
Ddwmac_lib.c165 struct stmmac_rxq_stats *rxq_stats = &priv->xstats.rxq_stats[chan]; in dwmac_dma_interrupt() local
218 u64_stats_update_begin(&rxq_stats->syncp); in dwmac_dma_interrupt()
219 rxq_stats->rx_normal_irq_n++; in dwmac_dma_interrupt()
220 u64_stats_update_end(&rxq_stats->syncp); in dwmac_dma_interrupt()
Ddwmac4_lib.c174 struct stmmac_rxq_stats *rxq_stats = &priv->xstats.rxq_stats[chan]; in dwmac4_dma_interrupt() local
204 u64_stats_update_begin(&rxq_stats->syncp); in dwmac4_dma_interrupt()
205 rxq_stats->rx_normal_irq_n++; in dwmac4_dma_interrupt()
206 u64_stats_update_end(&rxq_stats->syncp); in dwmac4_dma_interrupt()
Dstmmac_ethtool.c569 struct stmmac_rxq_stats *rxq_stats = &priv->xstats.rxq_stats[q]; in stmmac_get_per_qstats() local
574 start = u64_stats_fetch_begin(&rxq_stats->syncp); in stmmac_get_per_qstats()
575 snapshot = *rxq_stats; in stmmac_get_per_qstats()
576 } while (u64_stats_fetch_retry(&rxq_stats->syncp, start)); in stmmac_get_per_qstats()
640 struct stmmac_rxq_stats *rxq_stats = &priv->xstats.rxq_stats[i]; in stmmac_get_ethtool_stats() local
645 start = u64_stats_fetch_begin(&rxq_stats->syncp); in stmmac_get_ethtool_stats()
646 snapshot = *rxq_stats; in stmmac_get_ethtool_stats()
647 } while (u64_stats_fetch_retry(&rxq_stats->syncp, start)); in stmmac_get_ethtool_stats()
Ddwxgmac2_dma.c340 struct stmmac_rxq_stats *rxq_stats = &priv->xstats.rxq_stats[chan]; in dwxgmac2_dma_interrupt() local
370 u64_stats_update_begin(&rxq_stats->syncp); in dwxgmac2_dma_interrupt()
371 rxq_stats->rx_normal_irq_n++; in dwxgmac2_dma_interrupt()
372 u64_stats_update_end(&rxq_stats->syncp); in dwxgmac2_dma_interrupt()
Dstmmac_main.c4954 struct stmmac_rxq_stats *rxq_stats = &priv->xstats.rxq_stats[queue]; in stmmac_dispatch_skb_zc() local
4984 flags = u64_stats_update_begin_irqsave(&rxq_stats->syncp); in stmmac_dispatch_skb_zc()
4985 rxq_stats->rx_pkt_n++; in stmmac_dispatch_skb_zc()
4986 rxq_stats->rx_bytes += len; in stmmac_dispatch_skb_zc()
4987 u64_stats_update_end_irqrestore(&rxq_stats->syncp, flags); in stmmac_dispatch_skb_zc()
5060 struct stmmac_rxq_stats *rxq_stats = &priv->xstats.rxq_stats[queue]; in stmmac_rx_zc() local
5224 flags = u64_stats_update_begin_irqsave(&rxq_stats->syncp); in stmmac_rx_zc()
5225 rxq_stats->rx_pkt_n += count; in stmmac_rx_zc()
5226 u64_stats_update_end_irqrestore(&rxq_stats->syncp, flags); in stmmac_rx_zc()
5254 struct stmmac_rxq_stats *rxq_stats = &priv->xstats.rxq_stats[queue]; in stmmac_rx() local
[all …]
Ddwmac-sun8i.c444 struct stmmac_rxq_stats *rxq_stats = &priv->xstats.rxq_stats[chan]; in sun8i_dwmac_dma_interrupt() local
482 u64_stats_update_begin(&rxq_stats->syncp); in sun8i_dwmac_dma_interrupt()
483 rxq_stats->rx_normal_irq_n++; in sun8i_dwmac_dma_interrupt()
484 u64_stats_update_end(&rxq_stats->syncp); in sun8i_dwmac_dma_interrupt()
Dcommon.h207 struct stmmac_rxq_stats rxq_stats[MTL_MAX_RX_QUEUES]; member