commit | af0c351cc34857ad7b254850b9392d99da46be9e | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Tue Nov 10 20:50:02 2020 +0100 |
committer | Jakub Kicinski <kuba@kernel.org> | Thu Nov 12 14:58:27 2020 -0800 |
tree | a4f40458bd9eb04d78c548a0f32c1d97d8c5bf9f | |
parent | 45fc3fd4308c5dbb45aa652399a084364e60d4b0 [diff] |
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>