RE: [PATCH iwl-net 08/12] ice: wait for in-flight Tx timestamps before flushing the tracker
flat view
From: Nowlin, Alexander <hidden>
Date: 2026-08-22 04:17:51
Also in:
intel-wired-lan
-----Original Message-----
From: Keller, Jacob E <jacob.e.keller@intel.com>
Sent: Friday, August 21, 2026 5:13 PM
To: Intel Wired LAN <redacted>
Cc: netdev@vger.kernel.org; Machnikowski, Maciej <redacted>; Nguyen, Anthony L <anthony.l.nguyen@intel.com>; Korba, Przemyslaw <redacted>; Nitka, Grzegorz <redacted>; Oros, Petr <redacted>; Nowlin, Alexander <redacted>; Bross, Kevin <redacted>; Cavatur, Ranjit <redacted>; Keller, Jacob E <jacob.e.keller@intel.com>; Machnikowski, Maciej <redacted>
Subject: [PATCH iwl-net 08/12] ice: wait for in-flight Tx timestamps before flushing the tracker
From: Petr Oros <redacted>
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 <redacted>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Maciek Machnikowski <redacted>
---
drivers/net/ethernet/intel/ice/ice_ptp.c | 33 ++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)Tested-by: Alexander Nowlin <redacted>