aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2018-06-29 17:04:34 -0700
committerDavid S. Miller <[email protected]>2018-06-30 21:31:56 +0900
commitf055a9dfee8508173a35169372bdedcfac49d0f6 (patch)
treee23437add3b22c667b5472a046bee9073f98746b /tools/perf/scripts/python/net_dropmonitor.py
parent4e485d06bb8c7811a0d69a811c77befd54b9ab0c (diff)
nfp: expose ring stats of inactive rings via ethtool
After user changes the ring count statistics for deactivated rings disappear from ethtool -S output. This causes loss of information to the user and means that ethtool stats may not add up to interface stats. Always expose counters from all the rings. Note that we allocate at most num_possible_cpus() rings so number of rings should be reasonable. The alternative of only listing stats for rings which were ever in use could be confusing. Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Dirk van der Merwe <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions