Lines Matching refs:stats_prev
6835 struct rtnl_link_stats64 *net_stats, *stats_prev; in ice_update_vsi_ring_stats() local
6881 stats_prev = &vsi->net_stats_prev; in ice_update_vsi_ring_stats()
6889 net_stats->tx_packets += vsi_stats->tx_packets - stats_prev->tx_packets; in ice_update_vsi_ring_stats()
6890 net_stats->tx_bytes += vsi_stats->tx_bytes - stats_prev->tx_bytes; in ice_update_vsi_ring_stats()
6891 net_stats->rx_packets += vsi_stats->rx_packets - stats_prev->rx_packets; in ice_update_vsi_ring_stats()
6892 net_stats->rx_bytes += vsi_stats->rx_bytes - stats_prev->rx_bytes; in ice_update_vsi_ring_stats()
6895 stats_prev->tx_packets = vsi_stats->tx_packets; in ice_update_vsi_ring_stats()
6896 stats_prev->tx_bytes = vsi_stats->tx_bytes; in ice_update_vsi_ring_stats()
6897 stats_prev->rx_packets = vsi_stats->rx_packets; in ice_update_vsi_ring_stats()
6898 stats_prev->rx_bytes = vsi_stats->rx_bytes; in ice_update_vsi_ring_stats()
6955 prev_ps = &pf->stats_prev; in ice_update_pf_stats()