Re: [PATCH net-next] net: dsa: Add support for 64-bit statistics

From: David Miller
Date: Wed Aug 02 2017 - 19:49:57 EST


From: Florian Fainelli <f.fainelli@xxxxxxxxx>
Date: Tue, 1 Aug 2017 15:00:36 -0700

> DSA slave network devices maintain a pair of bytes and packets counters
> for each directions, but these are not 64-bit capable. Re-use
> pcpu_sw_netstats which contains exactly what we need for that purpose
> and update the code path to report 64-bit capable statistics.
>
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Applied, thanks.

I would run ethtool -S and ifconfig under perf to see where it is
spending so much time.