diff options
author | 2020-11-07 21:50:56 +0100 | |
---|---|---|
committer | 2020-11-09 17:50:28 -0800 | |
commit | 497a5757ce4e8f37219a3989ac6a561eb9a8e6c7 (patch) | |
tree | cf14486f1e990548414cbce0ac7183da1d742b18 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: dsa: use net core stats64 handling (diff) | |
download | wireguard-linux-497a5757ce4e8f37219a3989ac6a561eb9a8e6c7.tar.xz wireguard-linux-497a5757ce4e8f37219a3989ac6a561eb9a8e6c7.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions