summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/efx_common.h
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2020-06-29 15:35:25 +0200
committerDavid S. Miller <davem@davemloft.net>2020-06-30 02:37:48 +0200
commit53e1f21abd89bde46ed30061c58370b8a079f6f5 (patch)
tree8d9a5a10aefeaa99abeeebc070ba79945e18426b /drivers/net/ethernet/sfc/efx_common.h
parentsfc: commonise other ethtool bits (diff)
downloadlinux-53e1f21abd89bde46ed30061c58370b8a079f6f5.tar.xz
linux-53e1f21abd89bde46ed30061c58370b8a079f6f5.zip
sfc: commonise FC advertising
Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/efx_common.h')
-rw-r--r--drivers/net/ethernet/sfc/efx_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/efx_common.h b/drivers/net/ethernet/sfc/efx_common.h
index fa2fc681e7f9..c522a5be43d2 100644
--- a/drivers/net/ethernet/sfc/efx_common.h
+++ b/drivers/net/ethernet/sfc/efx_common.h
@@ -18,6 +18,9 @@ int efx_init_struct(struct efx_nic *efx, struct pci_dev *pci_dev,
struct net_device *net_dev);
void efx_fini_struct(struct efx_nic *efx);
+void efx_link_clear_advertising(struct efx_nic *efx);
+void efx_link_set_wanted_fc(struct efx_nic *efx, u8);
+
void efx_start_all(struct efx_nic *efx);
void efx_stop_all(struct efx_nic *efx);