diff options
author | 2020-11-07 21:49:07 +0100 | |
---|---|---|
committer | 2020-11-09 17:50:27 -0800 | |
commit | a18394269fc87276963e8d965c730900178d7e4b (patch) | |
tree | 1610d113acba3c22d5039df654e98e8eafe63d36 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: dsa: mv88e6xxx: Export VTU as devlink region (diff) | |
download | wireguard-linux-a18394269fc87276963e8d965c730900178d7e4b.tar.xz wireguard-linux-a18394269fc87276963e8d965c730900178d7e4b.zip |
net: core: add dev_get_tstats64 as a ndo_get_stats64 implementation
It's a frequent pattern to use netdev->stats for the less frequently
accessed counters and per-cpu counters for the frequently accessed
counters (rx/tx bytes/packets). Add a default ndo_get_stats64()
implementation for this use case.
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
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