> -----Original Message----- > From: Intel-wired-lan <intel-wired-lan-boun...@osuosl.org> On Behalf Of Karol > Kolacinski > Sent: Monday, January 8, 2024 6:17 PM > To: intel-wired-...@lists.osuosl.org > Cc: Keller, Jacob E <jacob.e.kel...@intel.com>; net...@vger.kernel.org; > Kolacinski, Karol <karol.kolacin...@intel.com>; Nguyen, Anthony L > <anthony.l.ngu...@intel.com>; Brandeburg, Jesse <jesse.brandeb...@intel.com> > Subject: [Intel-wired-lan] [PATCH v5 iwl-next 3/6] ice: rename verify_cached > to has_ready_bitmap > > From: Jacob Keller <jacob.e.kel...@intel.com> > > The tx->verify_cached flag is used to inform the Tx timestamp tracking > code whether it needs to verify the cached Tx timestamp value against > a previous captured value. This is necessary on E810 hardware which does > not have a Tx timestamp ready bitmap. > > In addition, we currently rely on the fact that the > ice_get_phy_tx_tstamp_ready() function returns all 1s for E810 hardware. > Instead of introducing a brand new flag, rename and verify_cached to > has_ready_bitmap, inverting the relevant checks. > > Signed-off-by: Jacob Keller <jacob.e.kel...@intel.com> > Signed-off-by: Karol Kolacinski <karol.kolacin...@intel.com> > Reviewed-by: Jacob Keller <jacob.e.kel...@intel.com> > --- > drivers/net/ethernet/intel/ice/ice_ptp.c | 31 ++++++++++++------------ > drivers/net/ethernet/intel/ice/ice_ptp.h | 8 +++--- > 2 files changed, 20 insertions(+), 19 deletions(-) >
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pu...@intel.com> (A Contingent worker at Intel)