summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sfc/mcdi_port_common.h
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2020-06-30 15:02:56 +0300
committerDavid S. Miller <davem@davemloft.net>2020-06-30 23:09:09 +0300
commit272e53aa5c1648bdb1a11831d4ce96c17d69d99a (patch)
tree409a18967e876ac72f438e39b652ddc98d4d9950 /drivers/net/ethernet/sfc/mcdi_port_common.h
parent83d00531cbc837ab354e9ab429d49539797c7f1c (diff)
downloadlinux-272e53aa5c1648bdb1a11831d4ce96c17d69d99a.tar.xz
sfc: commonise MCDI MAC stats handling
Most of it was already declared in mcdi_port_common.h, so just move the implementations to mcdi_port_common.c. Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/mcdi_port_common.h')
-rw-r--r--drivers/net/ethernet/sfc/mcdi_port_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/mcdi_port_common.h b/drivers/net/ethernet/sfc/mcdi_port_common.h
index b16f11265269..54c0acf8e243 100644
--- a/drivers/net/ethernet/sfc/mcdi_port_common.h
+++ b/drivers/net/ethernet/sfc/mcdi_port_common.h
@@ -51,6 +51,8 @@ int efx_mcdi_phy_get_fecparam(struct efx_nic *efx,
struct ethtool_fecparam *fec);
int efx_mcdi_phy_test_alive(struct efx_nic *efx);
int efx_mcdi_set_mac(struct efx_nic *efx);
+int efx_mcdi_mac_init_stats(struct efx_nic *efx);
+void efx_mcdi_mac_fini_stats(struct efx_nic *efx);
int efx_mcdi_port_get_number(struct efx_nic *efx);
void efx_mcdi_process_link_change(struct efx_nic *efx, efx_qword_t *ev);