As tx timestamp timeout is something multiple users encounter, provide information for configuring kthread priorities in manual for ptp4l where tx_timestamp_timeout is already described.
Signed-off-by: Lukasz Plachno <lukasz.plac...@intel.com> --- ptp4l.8 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/ptp4l.8 b/ptp4l.8 index 09ff108af102..02143eec36a2 100644 --- a/ptp4l.8 +++ b/ptp4l.8 @@ -1032,6 +1032,26 @@ to maintain the correct offset between UTC and PTP times. See .BR phc2sys (8) manual page for more details. +.SH KTHREAD PRIORITY + +In case of following log: +.br +.I timed out while polling for tx timestamp +.I increasing tx_timestamp_timeout or increasing +.I kworker priority may correct this issue, +.I but a driver bug likely causes it +.br +one of possible causes is kworker processing timestamps being starved, +user might try manually increasing the priority of the kworker. + +Example for Intel E810 card: +.br +.I pgrep \-fl ice-ptp | cut \-f1 \-d' ' | xargs \-I {} sudo chrt \-r \-\-pid 30 {} + +Each NIC driver assigns a different name for kworkers, in some cases +processing timestamps might not be using kworker at all. Also assigning +too high priority might lead to system becoming unstable. + .SH SEE ALSO .BR pmc (8), .BR phc2sys (8) -- 2.34.1 _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel