commit | fbe4307e9ffd9b9c9d4631a37c8f16080da8df85 | [log] [tgz] |
---|---|---|
author | Bert Kenward <bkenward@solarflare.com> | Wed Aug 26 16:39:03 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 27 11:27:01 2015 -0700 |
tree | ec33ca0f7b99f06c3879acdc8f97b656babb0320 | |
parent | 4b195360914583899070835a08ceb06ac7b848d6 [diff] |
sfc: only use vadaptor stats if firmware is capable Some of the stats handling code differs based on SR-IOV support, and SRIOV support is only available if full-featured firmware is used. Do not use vadaptor stats if firmware mode is not set to full-featured. Signed-off-by: Shradha Shah <sshah@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>