sfc: Enable VF's via a write to the sysfs file sriov_numvfs
[linux-drm-fsl-dcu.git] / drivers / net / ethernet / sfc / net_driver.h
index e3054b2a71f794590e3a0311a1f86d82c62ca6ce..339dc326d37eb6b609c59d495f15728ce67ea163 100644 (file)
@@ -1327,6 +1327,7 @@ struct efx_nic_type {
        int (*ptp_set_ts_sync_events)(struct efx_nic *efx, bool en, bool temp);
        int (*ptp_set_ts_config)(struct efx_nic *efx,
                                 struct hwtstamp_config *init);
+       int (*sriov_configure)(struct efx_nic *efx, int num_vfs);
        int (*sriov_init)(struct efx_nic *efx);
        void (*sriov_fini)(struct efx_nic *efx);
        void (*sriov_mac_address_changed)(struct efx_nic *efx);