RE: [PATCH iwl-net 2/2] ice: remove redundant cross-timestamp PTP command
From: Singh, Ayush1X
Date: Mon Nov 23 2026 - 02:15:08 EST
> -----Original Message-----
> From: Nitka, Grzegorz <grzegorz.nitka@xxxxxxxxx>
> Sent: 26 September 2026 03:58
> To: intel-wired-lan@xxxxxxxxxxxxxxxx
> Cc: netdev@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; richardcochran@xxxxxxxxx; andrew+netdev@xxxxxxx; Kitszel, Przemyslaw <przemyslaw.kitszel@xxxxxxxxx>; Nguyen, Anthony L <anthony.l.nguyen@xxxxxxxxx>; Kubalewski, Arkadiusz <arkadiusz.kubalewski@xxxxxxxxx>; davem@xxxxxxxxxxxxx; edumazet@xxxxxxxxxx; Nitka, Grzegorz <grzegorz.nitka@xxxxxxxxx>; Temerkhanov, Sergey <sergey.temerkhanov@xxxxxxxxx>; Olech, Milena <milena.olech@xxxxxxxxx>
> Subject: [PATCH iwl-net 2/2] ice: remove redundant cross-timestamp PTP command
>
> The cross-timestamp capture path programs GLTSYN_CMD with READ_TIME before starting the ART/device capture and clears it with NOP afterwards.
>
> It was assumed that this change was needed for E823 devices, which turned out to be not true. The hardware supported by this driver does not require it.
>
> Since GLTSYN_CMD is shared with other PTP operations, touching it here only adds a potential race source.
> Remove the redundant source command programming instead of adding another guard around it.
>
> Testing hints:
> Verify crosstimestamp path, for example with phc2sys tool, on
> E822/E823/E825/E830 devices. Please note that the phc2sys tool performs cross-timestamping by default when supported by the hardware. This can be observed when the reported delay is 0, indicating that the system time and PHC time were latched simultaneously.
>
> Fixes: 88c360e49f51 ("ice: Support cross-timestamping for E823 devices")
> Signed-off-by: Grzegorz Nitka <grzegorz.nitka@xxxxxxxxx>
> Reviewed-by: Sergey Temerkhanov <sergey.temerkhanov@xxxxxxxxx>
> Reviewed-by: Milena Olech <milena.olech@xxxxxxxxx>
> ---
> drivers/net/ethernet/intel/ice/ice_ptp.c | 6 ------
> 1 file changed, 6 deletions(-)
Tested-by: Singh, Ayush1X < ayush1x.singh@xxxxxxxxx > (A Contingent worker at Intel)