diff options
author | Martin Habets <mhabets@solarflare.com> | 2018-01-25 20:25:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-26 00:05:14 +0300 |
commit | c1d0d33946725775be1c68515c07d0ff8237d222 (patch) | |
tree | d9b46639951eefe13a76f9f3c85e94037d3b0fc8 /drivers/net/ethernet/sfc/nic.h | |
parent | 50663fe1808fcd08cc60c3adfa3692b27a51161d (diff) | |
download | linux-c1d0d33946725775be1c68515c07d0ff8237d222.tar.xz |
sfc: MAC TX timestamp handling on the 8000 series
TX timestamps on 8000 series are supplied from the MAC. This timestamp is
only 48 bits long. The high order bits from the last time sync event are
used for the top 16 bits.
Signed-off-by: Martin Habets <mhabets@solarflare.com>
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/nic.h')
-rw-r--r-- | drivers/net/ethernet/sfc/nic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/nic.h b/drivers/net/ethernet/sfc/nic.h index ac54b50f57a5..6549fc685a48 100644 --- a/drivers/net/ethernet/sfc/nic.h +++ b/drivers/net/ethernet/sfc/nic.h @@ -449,6 +449,7 @@ void efx_fini_sriov(void); struct ethtool_ts_info; int efx_ptp_probe(struct efx_nic *efx, struct efx_channel *channel); void efx_ptp_defer_probe_with_channel(struct efx_nic *efx); +struct efx_channel *efx_ptp_channel(struct efx_nic *efx); void efx_ptp_remove(struct efx_nic *efx); int efx_ptp_set_ts_config(struct efx_nic *efx, struct ifreq *ifr); int efx_ptp_get_ts_config(struct efx_nic *efx, struct ifreq *ifr); |