[Intel-wired-lan] [net-next PATCH v3 9/9] ice: support crosstimestamping on E822 devices if supported

G, GurucharanX gurucharanx.g at intel.com
Tue Dec 14 09:15:03 UTC 2021



> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Jacob Keller
> Sent: Wednesday, October 13, 2021 3:03 AM
> To: Nguyen, Anthony L <anthony.l.nguyen at intel.com>; Intel Wired LAN <intel-
> wired-lan at lists.osuosl.org>
> Subject: [Intel-wired-lan] [net-next PATCH v3 9/9] ice: support
> crosstimestamping on E822 devices if supported
> 
> E822 devices on supported platforms can generate a cross timestamp between
> the platform ART and the device time. This process allows for very precise
> measurement of the difference between the PTP hardware clock and the
> platform time.
> 
> This is only supported if we know the TSC frequency relative to ART, so we do
> not enable this unless the boot CPU has a known TSC frequency (as required by
> convert_art_ns_to_tsc).
> 
> Because PCIe PTM support is not available on all platforms, introduce
> CONFIG_ICE_HWTS and make it depend on X86 where we know the support
> exists.
> 
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> ---
>  drivers/net/ethernet/intel/Kconfig            |  10 ++
>  .../net/ethernet/intel/ice/ice_hw_autogen.h   |   8 ++
>  drivers/net/ethernet/intel/ice/ice_ptp.c      | 117 ++++++++++++++++++
>  3 files changed, 135 insertions(+)
> 

Tested-by: Gurucharan G <gurucharanx.g at intel.com> (A Contingent worker at Intel)


More information about the Intel-wired-lan mailing list