Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_net_repr.c161 struct nfp_repr_pcpu_stats *repr_stats; in nfp_repr_get_host_stats64() local
164 repr_stats = per_cpu_ptr(repr->stats, i); in nfp_repr_get_host_stats64()
166 start = u64_stats_fetch_begin_irq(&repr_stats->syncp); in nfp_repr_get_host_stats64()
167 tbytes = repr_stats->tx_bytes; in nfp_repr_get_host_stats64()
168 tpkts = repr_stats->tx_packets; in nfp_repr_get_host_stats64()
169 tdrops = repr_stats->tx_drops; in nfp_repr_get_host_stats64()
170 rbytes = repr_stats->rx_bytes; in nfp_repr_get_host_stats64()
171 rpkts = repr_stats->rx_packets; in nfp_repr_get_host_stats64()
172 } while (u64_stats_fetch_retry_irq(&repr_stats->syncp, start)); in nfp_repr_get_host_stats64()