[Intel-wired-lan] [PATCH iwl-net v2 3/4] igc: Move ktime snapshot into PTM retry loop

Mor Bar-Gabay morx.bar.gabay at intel.com
Thu Oct 31 09:35:22 UTC 2024


On 23/10/2024 5:30, Chris H wrote:
> From: Christopher S M Hall <christopher.s.hall at intel.com>
> 
> Move ktime_get_snapshot() into the loop. If a retry does occur, a more
> recent snapshot will result in a more accurate cross-timestamp.
> 
> Fixes: a90ec8483732 ("igc: Add support for PTP getcrosststamp()")
> Signed-off-by: Christopher S M Hall <christopher.s.hall at intel.com>
> ---
>   drivers/net/ethernet/intel/igc/igc_ptp.c | 18 +++++++++---------
>   1 file changed, 9 insertions(+), 9 deletions(-)
> 
Tested-by: Mor Bar-Gabay <morx.bar.gabay at intel.com>


More information about the Intel-wired-lan mailing list