> -----Original Message----- > From: Keller, Jacob E <[email protected]> > Sent: Friday, August 21, 2026 5:13 PM > To: Intel Wired LAN <[email protected]> > Cc: [email protected]; Machnikowski, Maciej > <[email protected]>; Nguyen, Anthony L > <[email protected]>; Korba, Przemyslaw <[email protected]>; > Nitka, Grzegorz <[email protected]>; Oros, Petr <[email protected]>; > Nowlin, Alexander <[email protected]>; Bross, Kevin > <[email protected]>; Cavatur, Ranjit <[email protected]>; Keller, > Jacob E <[email protected]>; Machnikowski, Maciej > <[email protected]> > Subject: [PATCH iwl-net 08/12] ice: wait for in-flight Tx timestamps before > flushing the tracker > > From: Petr Oros <[email protected]> > > ice_ptp_flush_tx_tracker() frees every tracked request, but a request whose > timestamp is still being captured by the PHY at that moment is freed without > touching the PHY entry. The ready bit published shortly > after has no > tracked owner, and the PHY does not raise another Tx timestamp interrupt > until every outstanding ready bit is read, so delivery for the whole quad > degrades to the periodic work. > > Wait up to 10 ms for in-flight captures to publish their ready bits before > flushing, so the flush clears them together with the rest. > > Fixes: ea9b847cda64 ("ice: enable transmit timestamps for E810 devices") > Signed-off-by: Petr Oros <[email protected]> > Signed-off-by: Jacob Keller <[email protected]> > Reviewed-by: Maciek Machnikowski <[email protected]> > --- > drivers/net/ethernet/intel/ice/ice_ptp.c | 33 > ++++++++++++++++++++++++++++++++ > 1 file changed, 33 insertions(+)
Tested-by: Alexander Nowlin <[email protected]>
