aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaniel Pieczko <[email protected]>2015-06-02 11:40:05 +0100
committerDavid S. Miller <[email protected]>2015-06-02 12:57:29 -0700
commitd94619cdfc561eee18e2d40ab6563e3f2f072fdd (patch)
tree70226ecbdcf7e06907621d5ea4d9ff2bf181543c /tools/perf/scripts/python
parent6dd4859b281700a163caec8ae7826c2558290127 (diff)
sfc: suppress vadaptor stats when EVB is not present
The raw_mask array is not initialised, so it needs to be explicitly set to zero in the 'else' branch. If the EVB capability is not present, a port cannot have multiple functions so the per-port MAC stats are correct and should match the corresponding vadaptor stats, so this redundancy can be removed from the ethtool stats output. Signed-off-by: Shradha Shah <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions