diff options
| author | Heiner Kallweit <hkallweit1@gmail.com> | 2020-11-07 21:51:32 +0100 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-09 17:50:28 -0800 |
| commit | 6b840a04fe3521c3eea41e32dd5b0835418553da (patch) | |
| tree | 08044c904414cee3b52c018d3a917c136c6dd879 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | tun: switch to net core provided statistics counters (diff) | |
| download | linux-6b840a04fe3521c3eea41e32dd5b0835418553da.tar.gz linux-6b840a04fe3521c3eea41e32dd5b0835418553da.zip | |
ip6_tunnel: use ip_tunnel_get_stats64 as ndo_get_stats64 callback
Switch ip6_tunnel to the standard statistics pattern:
- use dev->stats for the less frequently accessed counters
- use dev->tstats for the frequently accessed counters
An additional benefit is that we now have 64bit statistics also on
32bit systems.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
