Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/netronome/nfp/
Dnfp_net_repr.c132 struct nfp_repr_pcpu_stats *repr_stats; in nfp_repr_get_host_stats64() local
135 repr_stats = per_cpu_ptr(repr->stats, i); in nfp_repr_get_host_stats64()
137 start = u64_stats_fetch_begin(&repr_stats->syncp); in nfp_repr_get_host_stats64()
138 tbytes = repr_stats->tx_bytes; in nfp_repr_get_host_stats64()
139 tpkts = repr_stats->tx_packets; in nfp_repr_get_host_stats64()
140 tdrops = repr_stats->tx_drops; in nfp_repr_get_host_stats64()
141 rbytes = repr_stats->rx_bytes; in nfp_repr_get_host_stats64()
142 rpkts = repr_stats->rx_packets; in nfp_repr_get_host_stats64()
143 } while (u64_stats_fetch_retry(&repr_stats->syncp, start)); in nfp_repr_get_host_stats64()