diff options
| author | Lev Stipakov <[email protected]> | 2020-11-13 23:59:40 +0200 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2020-11-14 17:01:08 -0800 |
| commit | 0064c5c1b3bf2a695c772c90e8dea38426a870ff (patch) | |
| tree | 0feee1c2c999cf58ca707f71e7f683fad85d4fa2 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 865e6ae02dd77e11989cc1ec3fb5987112871dd5 (diff) | |
net: xfrm: use core API for updating/providing stats
Commit d3fd65484c781 ("net: core: add dev_sw_netstats_tx_add") has added
function "dev_sw_netstats_tx_add()" to update net device per-cpu TX
stats.
Use this function instead of own code.
While on it, remove xfrmi_get_stats64() and replace it with
dev_get_tstats64().
Signed-off-by: Lev Stipakov <[email protected]>
Reviewed-by: Heiner Kallweit <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions