]> 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)
commitaec4611c36c0caa1dd660649add4b86ec245501f
treed9b46639951eefe13a76f9f3c85e94037d3b0fc8
parenteae1c18bbd2a4d2c8d8527362c24390706aabba3
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