diff options
| author | Michael Chan <[email protected]> | 2018-12-16 18:46:29 -0500 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-12-17 23:08:53 -0800 |
| commit | b8875ca356f1c0b17ec68be6666269373a62288e (patch) | |
| tree | 3614d664904602c62808933d3627e33812f20219 /tools/perf/scripts/python/stat-cpi.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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions