sfc: support separate PTP and general timestamping
authorLaurence Evans <levans@solarflare.com>
Thu, 25 Jan 2018 17:27:22 +0000 (17:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jan 2018 21:05:14 +0000 (16:05 -0500)
commit04796f4c4dc4ac4c4f405c22e20dc9ae1068eea5
treea25d16ed6f81f717717c112a975478e4dd4db88f
parentc4f64fcc4d31e7f773cb4eec9d90c40ebb049c14
sfc: support separate PTP and general timestamping

Support MC_CMD_PTP_OUT_GET_TIMESTAMP_CORRECTIONS_V2.  Extract general
 timestamp corrections in addition to PTP corrections.  Apply receive
 timestamp corrections for general datapath receive timestamping, and
 correspondingly for transmit.

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