diff options
author | Rajesh Ravi <[email protected]> | 2020-05-04 04:50:41 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-05-04 10:44:11 -0700 |
commit | 125592fbf467d1a70312006bbaf29724d0ba5897 (patch) | |
tree | 5cd513c790597e34345baa4535ffd10c360ed773 /tools/perf/scripts/python/stackcollapse.py | |
parent | 3316d50905f0e551d4786767d827589960a8cb83 (diff) |
bnxt_en: show only relevant ethtool stats for a TX or RX ring
Currently, ethtool -S shows all TX/RX ring counters whether the
channel is combined, RX, or TX. The unused counters will always be
zero. Improve it by showing only the relevant counters if the channel
is RX or TX. If the channel is combined, the counters will be shown
exactly the same as before.
[ MChan: Lots of cleanups and simplifications on Rajesh's original
code]
Signed-off-by: Rajesh Ravi <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions