]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qede: Don't expose self-test for VFs
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Thu, 26 May 2016 08:01:19 +0000 (11:01 +0300)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 8 Jul 2016 19:29:54 +0000 (12:29 -0700)
commit62a0b656f51aaeb142abf89b8ee55bd5849ce0ac
treeaa4ceb79db962adcb2fc58456ad3beca2fac8359
parenta6c18a94977daee91ae318f6007ac2bf608349ce
qede: Don't expose self-test for VFs

PFs and VFs differ in their registered ethtool operations,
but they're using a common function for get_sset_count().
As a result, `ethtool -i' for a VF would indicate it supports
selftest, although that's not the case.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Orabug: 23732603
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/net/ethernet/qlogic/qede/qede_ethtool.c