summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/nic.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2013-12-11 02:36:08 +0000
committerBen Hutchings <bhutchings@solarflare.com>2013-12-12 22:07:30 +0000
commit99691c4ac112666fe8aef30cffef1cc9f6f94f79 (patch)
tree43fe421c4ca59224489109723d2c96fbadd024e7 /drivers/net/ethernet/sfc/nic.h
parent79ac47ae74c1e905c204c2eeb090c8098d570ef2 (diff)
downloadop-kernel-dev-99691c4ac112666fe8aef30cffef1cc9f6f94f79.zip
op-kernel-dev-99691c4ac112666fe8aef30cffef1cc9f6f94f79.tar.gz
sfc: Add PTP counters to ethtool stats
These were implemented by Andrew Jackson and Laurence Evans but not previously included in-tree. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/nic.h')
-rw-r--r--drivers/net/ethernet/sfc/nic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/nic.h b/drivers/net/ethernet/sfc/nic.h
index 170ac6e..a001fae 100644
--- a/drivers/net/ethernet/sfc/nic.h
+++ b/drivers/net/ethernet/sfc/nic.h
@@ -566,6 +566,8 @@ int efx_ptp_change_mode(struct efx_nic *efx, bool enable_wanted,
unsigned int new_mode);
int efx_ptp_tx(struct efx_nic *efx, struct sk_buff *skb);
void efx_ptp_event(struct efx_nic *efx, efx_qword_t *ev);
+size_t efx_ptp_describe_stats(struct efx_nic *efx, u8 *strings);
+size_t efx_ptp_update_stats(struct efx_nic *efx, u64 *stats);
void efx_time_sync_event(struct efx_channel *channel, efx_qword_t *ev);
void __efx_rx_skb_attach_timestamp(struct efx_channel *channel,
struct sk_buff *skb);
OpenPOWER on IntegriCloud