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>
This commit is contained in:

committed by
David S. Miller

parent
bf3d0156c5
commit
834e23dd0a
@@ -1000,6 +1000,7 @@ const struct efx_nic_type siena_a0_nic_type = {
|
||||
.ptp_write_host_time = siena_ptp_write_host_time,
|
||||
.ptp_set_ts_config = siena_ptp_set_ts_config,
|
||||
#ifdef CONFIG_SFC_SRIOV
|
||||
.sriov_configure = efx_siena_sriov_configure,
|
||||
.sriov_init = efx_siena_sriov_init,
|
||||
.sriov_fini = efx_siena_sriov_fini,
|
||||
.sriov_mac_address_changed = efx_siena_sriov_mac_address_changed,
|
||||
|
Reference in New Issue
Block a user