diff options
author | 2017-08-01 15:00:36 -0700 | |
---|---|---|
committer | 2017-08-02 16:49:09 -0700 | |
commit | f613ed665bb3ec49edc4907bd8799e3a2de47df5 (patch) | |
tree | e73ee81053bc0ffcb2880ff901d1bf38febca9e1 /drivers/net/hyperv/netvsc_drv.c | |
parent | flow_dissector: remove unused functions (diff) | |
download | wireguard-linux-f613ed665bb3ec49edc4907bd8799e3a2de47df5.tar.xz wireguard-linux-f613ed665bb3ec49edc4907bd8799e3a2de47df5.zip |
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>
Diffstat (limited to 'drivers/net/hyperv/netvsc_drv.c')
0 files changed, 0 insertions, 0 deletions