diff options
| author | Christopher S M Hall <[email protected]> | 2025-04-01 23:35:31 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2025-04-11 16:13:28 +0000 |
| commit | cd7f7328d691937102732f39f97ead35b15bf803 (patch) | |
| tree | 3b6e166b1e0dafa3d0077a5ac0e2d24db5436e4e /drivers/net/ethernet/intel/igc/igc_dump.c | |
| parent | igc: increase wait time before retrying PTM (diff) | |
| download | kernel-cd7f7328d691937102732f39f97ead35b15bf803.tar.gz kernel-cd7f7328d691937102732f39f97ead35b15bf803.zip | |
igc: move ktime snapshot into PTM retry loop
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()")
Reviewed-by: Michal Swiatkowski <[email protected]>
Tested-by: Mor Bar-Gabay <[email protected]>
Tested-by: Avigail Dahan <[email protected]>
Signed-off-by: Christopher S M Hall <[email protected]>
Reviewed-by: Corinna Vinschen <[email protected]>
Signed-off-by: Jacob Keller <[email protected]>
Acked-by: Vinicius Costa Gomes <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_dump.c')
0 files changed, 0 insertions, 0 deletions
