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 /drivers/net/vxlan.c | |
parent | 497a5757ce4e8f37219a3989ac6a561eb9a8e6c7 (diff) | |
download | linux-next-6b840a04fe3521c3eea41e32dd5b0835418553da.tar.gz |
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 'drivers/net/vxlan.c')
0 files changed, 0 insertions, 0 deletions