sfc: MAC TX timestamp handling on the 8000 series
authorMartin Habets <mhabets@solarflare.com>
Thu, 25 Jan 2018 17:25:50 +0000 (17:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jan 2018 21:05:14 +0000 (16:05 -0500)
commitc1d0d33946725775be1c68515c07d0ff8237d222
treed9b46639951eefe13a76f9f3c85e94037d3b0fc8
parent50663fe1808fcd08cc60c3adfa3692b27a51161d
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>
drivers/net/ethernet/sfc/nic.h
drivers/net/ethernet/sfc/ptp.c