From: Eric Dumazet <[email protected]> Date: Fri, 25 Nov 2016 07:46:20 -0800
> From: Eric Dumazet <[email protected]> > > mlx4 stats are chaotic because a deferred work queue is responsible > to update them every 250 ms. > > Even sampling stats every one second with "sar -n DEV 1" gives > variations like the following : ... > This patch allows rx/tx bytes/packets counters being folded at the > time we need stats. > > We now can fetch stats every 1 ms if we want to check NIC behavior > on a small time window. It is also easier to detect anomalies. ... > Signed-off-by: Eric Dumazet <[email protected]> > Cc: Tariq Toukan <[email protected]> Applied to net-next, thanks Eric.
