]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit633290c5d51c457c26634c9ac8af98dfdaf6f98f
treed9b46639951eefe13a76f9f3c85e94037d3b0fc8
parenta7d0596067ee6094d583875a4d42d6f6e379d3ca
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