diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2020-11-10 20:50:02 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-12 23:58:27 +0100 |
commit | af0c351cc34857ad7b254850b9392d99da46be9e (patch) | |
tree | a4f40458bd9eb04d78c548a0f32c1d97d8c5bf9f /drivers/net/usb/sierra_net.c | |
parent | qtnfmac: switch to core handling of rx/tx byte/packet counters (diff) | |
download | linux-af0c351cc34857ad7b254850b9392d99da46be9e.tar.xz linux-af0c351cc34857ad7b254850b9392d99da46be9e.zip |
usbnet: switch to core handling of rx/tx byte/packet counters
Use netdev->tstats instead of a member of usbnet for storing a pointer
to the per-cpu counters. This allows us to use core functionality for
statistics handling.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/usb/sierra_net.c')
0 files changed, 0 insertions, 0 deletions