sfc: support second + quarter ns time format for receive datapath
authorEdward Cree <ecree@solarflare.com>
Thu, 25 Jan 2018 17:27:40 +0000 (17:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jan 2018 21:05:15 +0000 (16:05 -0500)
commit1280c0f8aafc4c09c59c576c8d50f367070b2619
treeed1d349c753ab408604ef6dcd7bb5037c5e5c3f2
parent04796f4c4dc4ac4c4f405c22e20dc9ae1068eea5
sfc: support second + quarter ns time format for receive datapath

The time_format that we stash in the PTP data structure is never
 referenced, so we can remove it.  Instead, store the information needed
 to interpret sync event timestamps.
Also rolls in a couple of other related minor PTP fixes.

Based on patches by Bert Kenward <bkenward@solarflare.com> and 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