From: Eric Dumazet <eric.duma...@gmail.com> Date: Fri, 25 Nov 2016 07:46:20 -0800
> From: Eric Dumazet <eduma...@google.com> > > 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 <eduma...@google.com> > Cc: Tariq Toukan <tar...@mellanox.com> Applied to net-next, thanks Eric.