sfc: simplify RX datapath timestamping
authorLaurence Evans <levans@solarflare.com>
Thu, 25 Jan 2018 17:27:02 +0000 (17:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jan 2018 21:05:14 +0000 (16:05 -0500)
commitc4f64fcc4d31e7f773cb4eec9d90c40ebb049c14
tree71a3274bc1437a46cc7a0e78327655f3661103d5
parent6aa47c87cb053670bb636fb2001deb4a868f9486
sfc: simplify RX datapath timestamping

Use timestamp conversion function with correction to avoid duplicate
 correction handling.

Signed-off-by: Laurence Evans <levans@solarflare.com>
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ptp.c