summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sfc/siena_sriov.c
diff options
context:
space:
mode:
authorShradha Shah <sshah@solarflare.com>2015-04-08 17:25:04 +0300
committerDavid S. Miller <davem@davemloft.net>2015-04-08 19:21:36 +0300
commit25672dba9535b804331145379c79f835ba2205c5 (patch)
tree1737bf6dab3e63e03ae20e0f7b81b3d105b4c6a1 /drivers/net/ethernet/sfc/siena_sriov.c
parentd92916f71a57582ce7276547510cedb2c10b6bd6 (diff)
downloadlinux-25672dba9535b804331145379c79f835ba2205c5.tar.xz
sfc: Enable VF's via a write to the sysfs file sriov_numvfs
This patch adds support for the use of sriov_configure on EF10 to enable Virtual Functions while the driver is loaded. Signed-off-by: Shradha Shah <sshah@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/siena_sriov.c')
-rw-r--r--drivers/net/ethernet/sfc/siena_sriov.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/siena_sriov.c b/drivers/net/ethernet/sfc/siena_sriov.c
index ccadd4634001..9366756e6101 100644
--- a/drivers/net/ethernet/sfc/siena_sriov.c
+++ b/drivers/net/ethernet/sfc/siena_sriov.c
@@ -1701,3 +1701,8 @@ bool efx_siena_sriov_wanted(struct efx_nic *efx)
return false;
#endif
}
+
+int efx_siena_sriov_configure(struct efx_nic *efx, int num_vfs)
+{
+ return 0;
+}