> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-boun...@osuosl.org> On Behalf Of 
> Sergey Temerkhanov
> Sent: Wednesday, August 21, 2024 6:40 PM
> To: intel-wired-...@lists.osuosl.org
> Cc: Temerkhanov, Sergey <sergey.temerkha...@intel.com>; 
> net...@vger.kernel.org; Simon Horman <ho...@kernel.org>; Kitszel, Przemyslaw 
> <przemyslaw.kits...@intel.com>
> Subject: [Intel-wired-lan] [PATCH iwl-next v6 4/5] ice: Use ice_adapter for 
> PTP shared data instead of auxdev
>
> Use struct ice_adapter to hold shared PTP data and control PTP related 
> actions instead of auxbus. This allows significant code simplification and 
> faster access to the container fields used in the PTP support code.
>
> Move the PTP port list to the ice_adapter container to simplify the code and 
> avoid race conditions which could occur due to the synchronous nature of the 
> initialization/access and certain memory saving can be achieved by moving PTP 
> data into the ice_adapter itself.
>
> Signed-off-by: Sergey Temerkhanov <sergey.temerkha...@intel.com>
> Reviewed-by: Przemek Kitszel <przemyslaw.kits...@intel.com>
> Reviewed-by: Simon Horman <ho...@kernel.org>
> ---
>  drivers/net/ethernet/intel/ice/ice_adapter.c |   6 +
>  drivers/net/ethernet/intel/ice/ice_adapter.h |  17 +++
>  drivers/net/ethernet/intel/ice/ice_ptp.c     | 115 ++++++++++++-------
>  drivers/net/ethernet/intel/ice/ice_ptp.h     |   5 +-
>  drivers/net/ethernet/intel/ice/ice_ptp_hw.h  |   5 +
>  5 files changed, 105 insertions(+), 43 deletions(-)
>

Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pu...@intel.com> (A 
Contingent worker at Intel)


Reply via email to