[dpdk-dev] [PATCH 06/28] net/ice/base: add clock initialization function

Guo, Junfeng junfeng.guo at intel.com
Tue Aug 10 06:36:37 CEST 2021



> -----Original Message-----
> From: Zhang, Qi Z <qi.z.zhang at intel.com>
> Sent: Tuesday, August 10, 2021 10:51
> To: Yang, Qiming <qiming.yang at intel.com>
> Cc: Guo, Junfeng <junfeng.guo at intel.com>; dev at dpdk.org; Zhang, Qi Z
> <qi.z.zhang at intel.com>; Keller, Jacob E <jacob.e.keller at intel.com>
> Subject: [PATCH 06/28] net/ice/base: add clock initialization function
> 
> Before the device PTP hardware clock can be initialized, some steps must
> be taken by the driver. This includes writing some registers and
> initializing the PHY.
> 
> Some of these steps are distinct depending on the device type (E810 or
> E822). Additionally, a future change will introduce more steps for E822
> devices to program the Clock Generation Unit.
> 
> Introduce ice_ptp_init_phc as well as device-specific sub-functions for
> e810 and e822 devices.
> 
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> Signed-off-by: Qi Zhang <qi.z.zhang at intel.com>
> ---
>  drivers/net/ice/base/ice_cgu_regs.h   | 117 +++++++++
>  drivers/net/ice/base/ice_ptp_consts.h |  74 ++++++
>  drivers/net/ice/base/ice_ptp_hw.c     | 348
> +++++++++++++++++++++++++-
>  drivers/net/ice/base/ice_ptp_hw.h     |  24 ++
>  4 files changed, 562 insertions(+), 1 deletion(-)
> --
> 2.26.2

Acked-by: Junfeng Guo <junfeng.guo at intel.com>

Regards,
Junfeng Guo


More information about the dev mailing list