]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerSultan Alsawaf <sultan.alsawaf@canonical.com>
Wed, 24 Jul 2019 15:45:14 +0000 (09:45 -0600)
commitca7daa274abb2d124b8b5d04b967ca9b8852e33c
treee428f5922d8f42ab92d0cfe95b8f141f02d8151d
parente48480ac12a8a4cac3890a46be10c160be1ccbcb
sfc: MAC TX timestamp handling on the 8000 series

BugLink: https://bugs.launchpad.net/bugs/1836635
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>
(cherry picked from commit c1d0d33946725775be1c68515c07d0ff8237d222)
Signed-off-by: Mauricio Faria de Oliveira <mfo@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/net/ethernet/sfc/nic.h
drivers/net/ethernet/sfc/ptp.c