summaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-06-29 17:04:34 -0700
committerDavid S. Miller <davem@davemloft.net>2018-06-30 21:31:56 +0900
commitf055a9dfee8508173a35169372bdedcfac49d0f6 (patch)
treee23437add3b22c667b5472a046bee9073f98746b /tools/perf/util/c++/clang.cpp
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 <jakub.kicinski@netronome.com> Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions