Commit 6fea33e
net/e1000: use device timestamp for clock read in igc
Change eth_igc_read_clock() to read from hardware timestamp registers
(E1000_SYSTIML/E1000_SYSTIMH) instead of using system clock_gettime().
This ensures that the clock reading is consistent with the hardware's
internal time base used for Qbv cycle and launch time scheduling,
providing better accuracy for Time-Sensitive Networking applications.
Fixes: 9630f7c ("net/igc: enable launch time offloading")
Cc: [email protected]
Signed-off-by: David Zage <[email protected]>
Signed-off-by: Song Yoong Siang <[email protected]>
Acked-by: Bruce Richardson <[email protected]>1 parent cd60dcd commit 6fea33e
2 files changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| 354 | + | |
354 | 355 | | |
355 | 356 | | |
356 | 357 | | |
| |||
1525 | 1526 | | |
1526 | 1527 | | |
1527 | 1528 | | |
| 1529 | + | |
1528 | 1530 | | |
1529 | 1531 | | |
1530 | 1532 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2813 | 2813 | | |
2814 | 2814 | | |
2815 | 2815 | | |
| 2816 | + | |
| 2817 | + | |
| 2818 | + | |
| 2819 | + | |
| 2820 | + | |
| 2821 | + | |
2816 | 2822 | | |
2817 | 2823 | | |
2818 | 2824 | | |
| |||
2972 | 2978 | | |
2973 | 2979 | | |
2974 | 2980 | | |
2975 | | - | |
| 2981 | + | |
2976 | 2982 | | |
2977 | | - | |
2978 | | - | |
| 2983 | + | |
| 2984 | + | |
2979 | 2985 | | |
2980 | 2986 | | |
2981 | 2987 | | |
| |||
0 commit comments