diff options
author | Michael Chan <[email protected]> | 2023-08-17 16:19:09 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-08-18 19:13:58 -0700 |
commit | 4c70dbe3c0087b439b9e5015057e3e378cf5d8b1 (patch) | |
tree | 4ebac918c4b3a7b00bc3aa7b6eee47c1d669bd7a /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | d38c19b13b1087890973ac24ae2798797b8a411b (diff) |
bnxt_en: Save ring error counters across reset
Currently, the ring counters are stored in the per ring datastructure.
During reset, all the rings are freed together with the associated
datastructures. As a result, all the ring error counters will be reset
to zero.
Add logic to keep track of the total error counts of all the rings
and save them before reset (including ifdown). The next patch will
display these total ring error counters under ethtool -S.
Link: https://lore.kernel.org/netdev/CACKFLimD-bKmJ1tGZOLYRjWzEwxkri-Mw7iFme1x2Dr0twdCeg@mail.gmail.com/
Reviewed-by: Ajit Khaparde <[email protected]>
Reviewed-by: Andy Gospodarek <[email protected]>
Reviewed-by: Somnath Kotur <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions