summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sfc/sriov.h
diff options
context:
space:
mode:
authorShradha Shah <sshah@solarflare.com>2015-06-02 13:38:16 +0300
committerDavid S. Miller <davem@davemloft.net>2015-06-02 22:57:26 +0300
commit1d051e009851334899e2041c3d8dcde36e2db1c2 (patch)
treea90a782f3b1da0db83b4064208c9d60b0dd8b23c /drivers/net/ethernet/sfc/sriov.h
parent0f5c0845882745bc5fde9dbbf553926435efe887 (diff)
downloadlinux-1d051e009851334899e2041c3d8dcde36e2db1c2.tar.xz
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/sriov.h')
-rw-r--r--drivers/net/ethernet/sfc/sriov.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/sriov.h b/drivers/net/ethernet/sfc/sriov.h
index 3be15a54c562..400df526586d 100644
--- a/drivers/net/ethernet/sfc/sriov.h
+++ b/drivers/net/ethernet/sfc/sriov.h
@@ -23,6 +23,8 @@ int efx_sriov_get_vf_config(struct net_device *net_dev, int vf_i,
struct ifla_vf_info *ivi);
int efx_sriov_set_vf_link_state(struct net_device *net_dev, int vf_i,
int link_state);
+int efx_sriov_get_phys_port_id(struct net_device *net_dev,
+ struct netdev_phys_item_id *ppid);
#endif /* CONFIG_SFC_SRIOV */