Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_repr.c178 struct ice_repr_pcpu_stats *repr_stats; in ice_repr_sp_stats64() local
181 repr_stats = per_cpu_ptr(repr->stats, i); in ice_repr_sp_stats64()
183 start = u64_stats_fetch_begin(&repr_stats->syncp); in ice_repr_sp_stats64()
184 tbytes = repr_stats->tx_bytes; in ice_repr_sp_stats64()
185 tpkts = repr_stats->tx_packets; in ice_repr_sp_stats64()
186 tdrops = repr_stats->tx_drops; in ice_repr_sp_stats64()
187 rbytes = repr_stats->rx_bytes; in ice_repr_sp_stats64()
188 rpkts = repr_stats->rx_packets; in ice_repr_sp_stats64()
189 } while (u64_stats_fetch_retry(&repr_stats->syncp, start)); in ice_repr_sp_stats64()
/linux-6.12.1/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()