Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1342420

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

From Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v8 8/8] net: e1000e: Adds hardware supported cross timestamp on e1000e nic
Date 2016-02-24 21:30 +0100
Message-ID <r5Oem-1hM-3@gated-at.bofh.it> (permalink)
References <r53p8-1tx-21@gated-at.bofh.it> <r53p9-1tx-49@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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@intel.com>
> [jstultz: Reworked to use new interface, commit message tweaks]
> Signed-off-by: John Stultz <john.stultz@linaro.org>
> ---
>  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@intel.com>

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v8 8/8] net: e1000e: Adds hardware supported cross  timestamp on e1000e nic Jeff Kirsher <jeffrey.t.kirsher@intel.com> - 2016-02-24 21:30 +0100

csiph-web