diff options
author | Edward Cree <ecree@solarflare.com> | 2020-08-03 21:40:01 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-03 18:22:55 -0700 |
commit | d61592a112928a11cd04081adf51ba4f752859ed (patch) | |
tree | 028455813a1f058ccb994aab260ee88688a9e5c0 /drivers/net/ethernet/sfc/ef100_nic.h | |
parent | ef2c57b956143c300adef4b89438e1da3db4cf32 (diff) | |
download | linux-d61592a112928a11cd04081adf51ba4f752859ed.tar.bz2 |
sfc_ef100: add nic-type for VFs, and bind to them
We don't yet have a .sriov_configure() to create them, though.
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/ef100_nic.h')
-rw-r--r-- | drivers/net/ethernet/sfc/ef100_nic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/ef100_nic.h b/drivers/net/ethernet/sfc/ef100_nic.h index 4a64c9438493..e799688d5264 100644 --- a/drivers/net/ethernet/sfc/ef100_nic.h +++ b/drivers/net/ethernet/sfc/ef100_nic.h @@ -13,8 +13,10 @@ #include "nic_common.h" extern const struct efx_nic_type ef100_pf_nic_type; +extern const struct efx_nic_type ef100_vf_nic_type; int ef100_probe_pf(struct efx_nic *efx); +int ef100_probe_vf(struct efx_nic *efx); void ef100_remove(struct efx_nic *efx); enum { |