diff options
author | 2015-05-06 00:55:58 +0100 | |
---|---|---|
committer | 2015-05-09 16:16:46 -0400 | |
commit | 834e23dd0a27b5f0d424cc5a41bed42a6a588479 (patch) | |
tree | 43b3400fdad71ea8fcb17d6c5fd4c13a54b728f5 /drivers/net/ethernet/sfc/siena_sriov.h | |
parent | sfc: Move and rename efx_vf struct to siena_vf (diff) | |
download | linux-dev-834e23dd0a27b5f0d424cc5a41bed42a6a588479.tar.xz linux-dev-834e23dd0a27b5f0d424cc5a41bed42a6a588479.zip |
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 '')
-rw-r--r-- | drivers/net/ethernet/sfc/siena_sriov.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/siena_sriov.h b/drivers/net/ethernet/sfc/siena_sriov.h index b3a08d156943..64e3e018929e 100644 --- a/drivers/net/ethernet/sfc/siena_sriov.h +++ b/drivers/net/ethernet/sfc/siena_sriov.h @@ -41,6 +41,7 @@ ((EFX_MAX_VF_EVQ_SIZE + 2 * EFX_MAX_DMAQ_SIZE) * \ sizeof(efx_qword_t) / EFX_BUF_SIZE) +int efx_siena_sriov_configure(struct efx_nic *efx, int num_vfs); int efx_siena_sriov_init(struct efx_nic *efx); void efx_siena_sriov_fini(struct efx_nic *efx); void efx_siena_sriov_mac_address_changed(struct efx_nic *efx); |