aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMichal Schmidt <[email protected]>2015-12-04 17:22:36 +0100
committerDavid S. Miller <[email protected]>2015-12-05 19:00:03 -0500
commit44c33c66310c76979649b7c0004af7744bd4ce7a (patch)
treebc6221bc1d98708f8c6f7ad387d8077c91a761f7 /tools/perf/scripts/python/bin
parent9adab1b036b3b95edffdfe7835133b2a20eb7473 (diff)
bnx2x: simplify distinction between port and func stats
The 'flags' field in bnx2x_stats_arr[] serves only one purpose - to tell us if the statistic is a per-port stat and thus should not be shown for virtual functions. It's strange that the field can have three different values. A boolean will do just fine. Also remove IS_FUNC_STAT(). It was used only once and it's in fact just a negation of IS_PORT_STAT(). Signed-off-by: Michal Schmidt <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions