> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of Karol > Kolacinski > Sent: Monday, January 8, 2024 6:17 PM > To: [email protected] > Cc: Keller, Jacob E <[email protected]>; [email protected]; > Kolacinski, Karol <[email protected]>; Nguyen, Anthony L > <[email protected]>; Brandeburg, Jesse <[email protected]> > Subject: [Intel-wired-lan] [PATCH v5 iwl-next 1/6] ice: introduce PTP state > machine > > Add PTP state machine so that the driver can correctly identify PTP > state around resets. > When the driver got information about ungraceful reset, PTP was not > prepared for reset and it returned error. When this situation occurs, > prepare PTP before rebuilding its structures. > > Signed-off-by: Jacob Keller <[email protected]> > Signed-off-by: Karol Kolacinski <[email protected]> > Reviewed-by: Jacob Keller <[email protected]> > --- > V3 -> V4: removed merge conflict leftovers > V2 -> V3: fixed Tx timestamps missing by moving ICE_PTP_READY before > ice_ptp_init_work() > > drivers/net/ethernet/intel/ice/ice.h | 1 - > drivers/net/ethernet/intel/ice/ice_ethtool.c | 2 +- > drivers/net/ethernet/intel/ice/ice_ptp.c | 112 +++++++++++-------- > drivers/net/ethernet/intel/ice/ice_ptp.h | 10 ++ > 4 files changed, 76 insertions(+), 49 deletions(-) >
Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel)
