Re: [PATCH v8 8/8] net: e1000e: Adds hardware supported cross timestamp on e1000e nic

From: Jeff Kirsher
Date: Wed Feb 24 2016 - 15:22:54 EST


On Mon, 2016-02-22 at 03:15 -0800, Christopher S. Hall wrote:
> Modern Intel systems supports cross timestamping of the network
> device
> clock and Always Running Timer (ART) in hardware. This allows the
> device time and system time to be precisely correlated. The timestamp
> pair is returned through e1000e_phc_get_syncdevicetime() used by
> get_system_device_crosststamp(). The hardware cross-timestamp result
> is made available to applications through the PTP_SYS_OFFSET_PRECISE
> ioctl which calls e1000e_phc_getcrosststamp().
>
> Signed-off-by: Christopher S. Hall <christopher.s.hall@xxxxxxxxx>
> [jstultz: Reworked to use new interface, commit message tweaks]
> Signed-off-by: John Stultz <john.stultz@xxxxxxxxxx>
> ---
> Âdrivers/net/ethernet/intel/KconfigÂÂÂÂÂÂÂÂÂ |Â 9 +++
> Âdrivers/net/ethernet/intel/e1000e/defines.h |Â 5 ++
> Âdrivers/net/ethernet/intel/e1000e/ptp.cÂÂÂÂ | 85
> +++++++++++++++++++++++++++++
> Âdrivers/net/ethernet/intel/e1000e/regs.hÂÂÂ |Â 4 ++
> Â4 files changed, 103 insertions(+)

Acked-by: Jeff Kirsher <jeffrey.t.kirsher@xxxxxxxxx>

Attachment: signature.asc
Description: This is a digitally signed message part