diff options
| author | Lev Stipakov <[email protected]> | 2020-11-13 23:53:36 +0200 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2020-11-14 16:59:32 -0800 |
| commit | 865e6ae02dd77e11989cc1ec3fb5987112871dd5 (patch) | |
| tree | 822ca098164f4a958edf0f86f0252445a70f2b7e /tools/perf/scripts/python/netdev-times.py | |
| parent | cf70b5cfab9c50669325be130089a185458d0957 (diff) | |
net: openvswitch: use core API to update/provide 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 internal_get_stats() 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/netdev-times.py')
0 files changed, 0 insertions, 0 deletions