[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CYYPR11MB84298A8503A906E87E35ED93BD9C2@CYYPR11MB8429.namprd11.prod.outlook.com>
Date: Wed, 4 Sep 2024 09:09:36 +0000
From: "Pucha, HimasekharX Reddy" <himasekharx.reddy.pucha@...el.com>
To: "Temerkhanov, Sergey" <sergey.temerkhanov@...el.com>,
"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>
CC: "Temerkhanov, Sergey" <sergey.temerkhanov@...el.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>, Simon Horman
<horms@...nel.org>, "Kitszel, Przemyslaw" <przemyslaw.kitszel@...el.com>
Subject: RE: [Intel-wired-lan] [PATCH iwl-next v6 4/5] ice: Use ice_adapter
for PTP shared data instead of auxdev
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of Sergey Temerkhanov
> Sent: Wednesday, August 21, 2024 6:40 PM
> To: intel-wired-lan@...ts.osuosl.org
> Cc: Temerkhanov, Sergey <sergey.temerkhanov@...el.com>; netdev@...r.kernel.org; Simon Horman <horms@...nel.org>; Kitszel, Przemyslaw <przemyslaw.kitszel@...el.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.temerkhanov@...el.com>
> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@...el.com>
> Reviewed-by: Simon Horman <horms@...nel.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.pucha@...el.com> (A Contingent worker at Intel)
Powered by blists - more mailing lists