Home
last modified time | relevance | path

Searched refs:cpu_stats (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/ti/
Dam65-cpsw-nuss.c1371 struct am65_cpsw_ndev_stats *cpu_stats; in am65_cpsw_nuss_ndo_get_stats() local
1377 cpu_stats = per_cpu_ptr(ndev_priv->stats, cpu); in am65_cpsw_nuss_ndo_get_stats()
1379 start = u64_stats_fetch_begin_irq(&cpu_stats->syncp); in am65_cpsw_nuss_ndo_get_stats()
1380 rx_packets = cpu_stats->rx_packets; in am65_cpsw_nuss_ndo_get_stats()
1381 rx_bytes = cpu_stats->rx_bytes; in am65_cpsw_nuss_ndo_get_stats()
1382 tx_packets = cpu_stats->tx_packets; in am65_cpsw_nuss_ndo_get_stats()
1383 tx_bytes = cpu_stats->tx_bytes; in am65_cpsw_nuss_ndo_get_stats()
1384 } while (u64_stats_fetch_retry_irq(&cpu_stats->syncp, start)); in am65_cpsw_nuss_ndo_get_stats()
/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c2025 struct mvpp2_pcpu_stats *cpu_stats; in mvpp2_get_xdp_stats() local
2034 cpu_stats = per_cpu_ptr(port->stats, cpu); in mvpp2_get_xdp_stats()
2036 start = u64_stats_fetch_begin_irq(&cpu_stats->syncp); in mvpp2_get_xdp_stats()
2037 xdp_redirect = cpu_stats->xdp_redirect; in mvpp2_get_xdp_stats()
2038 xdp_pass = cpu_stats->xdp_pass; in mvpp2_get_xdp_stats()
2039 xdp_drop = cpu_stats->xdp_drop; in mvpp2_get_xdp_stats()
2040 xdp_xmit = cpu_stats->xdp_xmit; in mvpp2_get_xdp_stats()
2041 xdp_xmit_err = cpu_stats->xdp_xmit_err; in mvpp2_get_xdp_stats()
2042 xdp_tx = cpu_stats->xdp_tx; in mvpp2_get_xdp_stats()
2043 xdp_tx_err = cpu_stats->xdp_tx_err; in mvpp2_get_xdp_stats()
[all …]
/drivers/net/team/
Dteam_mode_loadbalance.c462 struct lb_stats *cpu_stats, in __lb_one_cpu_stats_add() argument
470 tmp.tx_bytes = cpu_stats->tx_bytes; in __lb_one_cpu_stats_add()
/drivers/net/ethernet/marvell/
Dmvneta.c806 struct mvneta_pcpu_stats *cpu_stats; in mvneta_get_stats64() local
814 cpu_stats = per_cpu_ptr(pp->stats, cpu); in mvneta_get_stats64()
816 start = u64_stats_fetch_begin_irq(&cpu_stats->syncp); in mvneta_get_stats64()
817 rx_packets = cpu_stats->es.ps.rx_packets; in mvneta_get_stats64()
818 rx_bytes = cpu_stats->es.ps.rx_bytes; in mvneta_get_stats64()
819 rx_dropped = cpu_stats->rx_dropped; in mvneta_get_stats64()
820 rx_errors = cpu_stats->rx_errors; in mvneta_get_stats64()
821 tx_packets = cpu_stats->es.ps.tx_packets; in mvneta_get_stats64()
822 tx_bytes = cpu_stats->es.ps.tx_bytes; in mvneta_get_stats64()
823 } while (u64_stats_fetch_retry_irq(&cpu_stats->syncp, start)); in mvneta_get_stats64()