diff options
author | Michael Chan <michael.chan@broadcom.com> | 2018-12-16 18:46:29 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-17 23:08:53 -0800 |
commit | b8875ca356f1c0b17ec68be6666269373a62288e (patch) | |
tree | 3614d664904602c62808933d3627e33812f20219 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7c675421afef18253a86ffc383f57bc15ef32ea8 (diff) |
bnxt_en: Save ring statistics before reset.
With the current driver, the statistics reported by .ndo_get_stats64()
are reset when the device goes down. Store a snapshot of the
rtnl_link_stats64 before shutdown. This snapshot is added to the
current counters in .ndo_get_stats64() so that the counters will not
get reset when the device is down.
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions