summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sfc/ef10_sriov.c
diff options
context:
space:
mode:
authorShradha Shah <sshah@solarflare.com>2015-05-20 13:12:30 +0300
committerDavid S. Miller <davem@davemloft.net>2015-05-22 01:43:55 +0300
commit860d2ffa755974d04e196aec700a68b940df10ef (patch)
treeaaa5dc9d7b36663f233866b7f3073265b4670de9 /drivers/net/ethernet/sfc/ef10_sriov.c
parent4392dc6900618c1d5137a3cd43805d746a2c563a (diff)
downloadlinux-860d2ffa755974d04e196aec700a68b940df10ef.tar.xz
sfc: Implement dummy disable of VF spoof check for EF10
Signed-off-by: Shradha Shah <sshah@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/ef10_sriov.c')
-rw-r--r--drivers/net/ethernet/sfc/ef10_sriov.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/ef10_sriov.c b/drivers/net/ethernet/sfc/ef10_sriov.c
index edc34f39fa3a..3969b1bf7ef3 100644
--- a/drivers/net/ethernet/sfc/ef10_sriov.c
+++ b/drivers/net/ethernet/sfc/ef10_sriov.c
@@ -667,6 +667,12 @@ reset_nic:
return rc ? rc : rc2;
}
+int efx_ef10_sriov_set_vf_spoofchk(struct efx_nic *efx, int vf_i,
+ bool spoofchk)
+{
+ return spoofchk ? -EOPNOTSUPP : 0;
+}
+
int efx_ef10_sriov_set_vf_link_state(struct efx_nic *efx, int vf_i,
int link_state)
{