diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2020-11-07 23:50:56 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-10 04:50:28 +0300 |
commit | 497a5757ce4e8f37219a3989ac6a561eb9a8e6c7 (patch) | |
tree | cf14486f1e990548414cbce0ac7183da1d742b18 /drivers/hwmon | |
parent | 6a9006287959ef69556d612dcbde9e68bf16a42b (diff) | |
download | linux-497a5757ce4e8f37219a3989ac6a561eb9a8e6c7.tar.xz |
tun: switch to net core provided statistics counters
Switch tun to the standard statistics pattern:
- use netdev->stats for the less frequently accessed counters
- use netdev->tstats for the frequently accessed per-cpu counters
v3:
- add atomic_long_t member rx_frame_errors for making counter updates
atomic
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions