diff options
author | Shradha Shah <sshah@solarflare.com> | 2015-06-02 11:38:16 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-02 12:57:26 -0700 |
commit | 1d051e009851334899e2041c3d8dcde36e2db1c2 (patch) | |
tree | a90a782f3b1da0db83b4064208c9d60b0dd8b23c /drivers/net/ethernet/sfc/net_driver.h | |
parent | 0f5c0845882745bc5fde9dbbf553926435efe887 (diff) | |
download | linux-1d051e009851334899e2041c3d8dcde36e2db1c2.tar.bz2 |
sfc: Implement ndo_gets_phys_port_id() for EF10 VFs
Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/net_driver.h')
-rw-r--r-- | drivers/net/ethernet/sfc/net_driver.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/net_driver.h b/drivers/net/ethernet/sfc/net_driver.h index a468a22e7a88..d72f522bf9c3 100644 --- a/drivers/net/ethernet/sfc/net_driver.h +++ b/drivers/net/ethernet/sfc/net_driver.h @@ -1350,6 +1350,8 @@ struct efx_nic_type { struct ifla_vf_info *ivi); int (*sriov_set_vf_link_state)(struct efx_nic *efx, int vf_i, int link_state); + int (*sriov_get_phys_port_id)(struct efx_nic *efx, + struct netdev_phys_item_id *ppid); int (*vswitching_probe)(struct efx_nic *efx); int (*vswitching_restore)(struct efx_nic *efx); void (*vswitching_remove)(struct efx_nic *efx); |