summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sfc/sriov.h
diff options
context:
space:
mode:
authorBert Kenward <bkenward@solarflare.com>2017-01-10 16:23:33 +0000
committerDavid S. Miller <davem@davemloft.net>2017-01-10 14:16:17 -0500
commit08a7b29be9734adab7f64a7675764a39ab7d29e1 (patch)
treeb2e4b9317c1320b7a0a5157c941f39b30c7fc923 /drivers/net/ethernet/sfc/sriov.h
parent79f664edc1cf51a87d6681514ec89b6da5fef8e1 (diff)
downloadlwn-08a7b29be9734adab7f64a7675764a39ab7d29e1.tar.gz
lwn-08a7b29be9734adab7f64a7675764a39ab7d29e1.zip
sfc: support ndo_get_phys_port_id even when !CONFIG_SFC_SRIOV
There's no good reason why this should be an SRIOV-only thing. Thus, also move it out of SRIOV-specific files. Signed-off-by: Edward Cree <ecree@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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/sfc/sriov.h b/drivers/net/ethernet/sfc/sriov.h
index ba1762e7f216..84c7984edcaf 100644
--- a/drivers/net/ethernet/sfc/sriov.h
+++ b/drivers/net/ethernet/sfc/sriov.h
@@ -23,9 +23,6 @@ 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 */
#endif /* EFX_SRIOV_H */