sfc: Enable VF's via a write to the sysfs file sriov_numvfs
authorShradha Shah <sshah@solarflare.com>
Tue, 5 May 2015 23:55:58 +0000 (00:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 May 2015 20:16:46 +0000 (16:16 -0400)
commit834e23dd0a27b5f0d424cc5a41bed42a6a588479
tree43b3400fdad71ea8fcb17d6c5fd4c13a54b728f5
parentbf3d0156c5b7b31a74845b21d131276f9eb31493
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>
drivers/net/ethernet/sfc/Makefile
drivers/net/ethernet/sfc/ef10.c
drivers/net/ethernet/sfc/ef10_sriov.c [new file with mode: 0644]
drivers/net/ethernet/sfc/ef10_sriov.h
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/siena.c
drivers/net/ethernet/sfc/siena_sriov.c
drivers/net/ethernet/sfc/siena_sriov.h