> -----Original Message-----
> From: Zhang, Qi Z <qi.z.zh...@intel.com>
> Sent: Tuesday, August 10, 2021 10:51
> To: Yang, Qiming <qiming.y...@intel.com>
> Cc: Guo, Junfeng <junfeng....@intel.com>; dev@dpdk.org; Zhang, Qi Z
> <qi.z.zh...@intel.com>; Keller, Jacob E <jacob.e.kel...@intel.com>
> Subject: [PATCH 09/28] net/ice/base: implement Vernier calibration logic
> for E822 devices
>
> Move the implementation of Vernier calibration from Linux core ice_ptp.c
> into the shared ice_ptp_hw.c file.
>
> This implementation was recently refactored in Linux, so the move should
> be verbatim with the latest Linux code that we had implemented.
>
> This includes a new constant table with pre-determined values based on
> link speed, new functions to aide in reading the multi-register values
> from the PHY, functions to program the PAR/PCS conversion ratios, and
> the UIX conversion ratios, functions to program the total Tx and Rx
> offset after vernier calibration in the hardware completes, and finally
> a function to start and stop the PHY timestamping block.
>
> Signed-off-by: Jacob Keller <jacob.e.kel...@intel.com>
> Signed-off-by: Qi Zhang <qi.z.zh...@intel.com>
> ---
> drivers/net/ice/base/ice_ptp_consts.h | 216 ++++++
> drivers/net/ice/base/ice_ptp_hw.c | 999
> ++++++++++++++++++++++++++
> drivers/net/ice/base/ice_ptp_hw.h | 47 ++
> 3 files changed, 1262 insertions(+)
>
> --
> 2.26.2
Acked-by: Junfeng Guo <junfeng....@intel.com>
Regards,
Junfeng Guo