Lines Matching refs:new_stats
140 struct rtnl_link_stats64 new_stats;
172 lan966x_stats_get(port->dev, &new_stats);
173 old_stats->bytes = new_stats.rx_bytes;
174 old_stats->pkts = new_stats.rx_packets;
175 old_stats->drops = new_stats.rx_dropped;
209 struct rtnl_link_stats64 new_stats;
213 lan966x_stats_get(port->dev, &new_stats);
216 new_stats.rx_bytes - old_stats->bytes,
217 new_stats.rx_packets - old_stats->pkts,
218 new_stats.rx_dropped - old_stats->drops,
222 old_stats->bytes = new_stats.rx_bytes;
223 old_stats->pkts = new_stats.rx_packets;
224 old_stats->drops = new_stats.rx_dropped;