diff options
| author | Daniel Pieczko <[email protected]> | 2015-06-02 11:40:05 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-06-02 12:57:29 -0700 |
| commit | d94619cdfc561eee18e2d40ab6563e3f2f072fdd (patch) | |
| tree | 70226ecbdcf7e06907621d5ea4d9ff2bf181543c /tools/perf/scripts/python | |
| parent | 6dd4859b281700a163caec8ae7826c2558290127 (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