commit | f613ed665bb3ec49edc4907bd8799e3a2de47df5 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Tue Aug 01 15:00:36 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 02 16:49:09 2017 -0700 |
tree | e73ee81053bc0ffcb2880ff901d1bf38febca9e1 | |
parent | b2f9d432deebab5096aad5942c2f2b1ec2865f5a [diff] |
net: dsa: Add support for 64-bit statistics 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@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>