[Intel-wired-lan] [PATCH] igb: adjust ptp timestamps for tx/rx latency
Brown, Aaron F
aaron.f.brown at intel.com
Tue May 10 01:31:49 UTC 2016
> From: netdev-owner at vger.kernel.org [mailto:netdev-
> owner at vger.kernel.org] On Behalf Of Nathan Sullivan
> Sent: Tuesday, May 3, 2016 4:11 PM
> To: Kirsher, Jeffrey T <jeffrey.t.kirsher at intel.com>; Brandeburg, Jesse
> <jesse.brandeburg at intel.com>; Nelson, Shannon
> <shannon.nelson at intel.com>; Wyborny, Carolyn
> <carolyn.wyborny at intel.com>; Skidmore, Donald C
> <donald.c.skidmore at intel.com>; Allan, Bruce W <bruce.w.allan at intel.com>;
> Ronciak, John <john.ronciak at intel.com>; Williams, Mitch A
> <mitch.a.williams at intel.com>
> Cc: intel-wired-lan at lists.osuosl.org; netdev at vger.kernel.org; linux-
> kernel at vger.kernel.org; Nathan Sullivan <nathan.sullivan at ni.com>
> Subject: [PATCH] igb: adjust ptp timestamps for tx/rx latency
>
> Table 7-62 on page 338 of the i210 datasheet lists TX and RX latencies
> for the various speeds the chip supports. To give better ptp timestamp
> accuracy, adjust the timestamps by the amounts Intel gives based on
> current link speed.
>
> Signed-off-by: Nathan Sullivan <nathan.sullivan at ni.com>
> ---
> drivers/net/ethernet/intel/igb/igb.h | 8 +++++++
> drivers/net/ethernet/intel/igb/igb_ptp.c | 36
> ++++++++++++++++++++++++++++++
> 2 files changed, 44 insertions(+)
Tested-by: Aaron Brown <aaron.f.brown at intel.com>
More information about the Intel-wired-lan
mailing list