diff options
author | Daniel Pieczko <dpieczko@solarflare.com> | 2015-06-02 10:40:05 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-02 19:57:29 (GMT) |
commit | d94619cdfc561eee18e2d40ab6563e3f2f072fdd (patch) | |
tree | 70226ecbdcf7e06907621d5ea4d9ff2bf181543c /drivers/net/ethernet/dnet.h | |
parent | 6dd4859b281700a163caec8ae7826c2558290127 (diff) | |
download | linux-d94619cdfc561eee18e2d40ab6563e3f2f072fdd.tar.xz |
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 <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/dnet.h')
0 files changed, 0 insertions, 0 deletions