> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of Karol > Kolacinski > Sent: Tuesday, January 23, 2024 4:21 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 v7 iwl-next 3/7] ice: rename verify_cached > to has_ready_bitmap > > From: Jacob Keller <[email protected]> > > 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 <[email protected]> > Signed-off-by: Karol Kolacinski <[email protected]> > Reviewed-by: Jacob Keller <[email protected]> > --- > V6 -> V7: renamed one missed verify_cached > V5 -> V6: split the patch and left only rename part here > > drivers/net/ethernet/intel/ice/ice_ptp.c | 12 ++++++------ > drivers/net/ethernet/intel/ice/ice_ptp.h | 8 +++++--- > 2 files changed, 11 insertions(+), 9 deletions(-) >
Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel)
