sfc: Enable VF's via a write to the sysfs file sriov_numvfs
authorShradha Shah <sshah@solarflare.com>
Wed, 8 Apr 2015 14:25:04 +0000 (15:25 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Apr 2015 16:21:36 +0000 (12:21 -0400)
commit25672dba9535b804331145379c79f835ba2205c5
tree1737bf6dab3e63e03ae20e0f7b81b3d105b4c6a1
parentd92916f71a57582ce7276547510cedb2c10b6bd6
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