sfc: support ndo_get_phys_port_id even when !CONFIG_SFC_SRIOV
authorBert Kenward <bkenward@solarflare.com>
Tue, 10 Jan 2017 16:23:33 +0000 (16:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Jan 2017 19:16:17 +0000 (14:16 -0500)
commit08a7b29be9734adab7f64a7675764a39ab7d29e1
treeb2e4b9317c1320b7a0a5157c941f39b30c7fc923
parent79f664edc1cf51a87d6681514ec89b6da5fef8e1
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>
drivers/net/ethernet/sfc/ef10.c
drivers/net/ethernet/sfc/ef10_sriov.c
drivers/net/ethernet/sfc/ef10_sriov.h
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/sriov.c
drivers/net/ethernet/sfc/sriov.h