Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_repr.c131 struct nfp_repr_pcpu_stats *repr_stats; in nfp_repr_get_host_stats64() local
134 repr_stats = per_cpu_ptr(repr->stats, i); in nfp_repr_get_host_stats64()
136 start = u64_stats_fetch_begin_irq(&repr_stats->syncp); in nfp_repr_get_host_stats64()
137 tbytes = repr_stats->tx_bytes; in nfp_repr_get_host_stats64()
138 tpkts = repr_stats->tx_packets; in nfp_repr_get_host_stats64()
139 tdrops = repr_stats->tx_drops; in nfp_repr_get_host_stats64()
140 rbytes = repr_stats->rx_bytes; in nfp_repr_get_host_stats64()
141 rpkts = repr_stats->rx_packets; in nfp_repr_get_host_stats64()
142 } while (u64_stats_fetch_retry_irq(&repr_stats->syncp, start)); in nfp_repr_get_host_stats64()