On Thu, Jul 28, 2022 at 04:38:52PM +0600, - - wrote:
> Yes, but it doesn't always work.
> I increased it to 100msec.

That driver, e1000e, uses a plain old "work" to process the Tx time
stamp.  Plain "work' runs at the lowest priority in Linux.  On a busy
system, even higher delays than 100 ms are possible.

The way to fix this is change the driver to use the PTP kworker thread
by moving the "work" code to the .do_aux_work callback.

Then you can set the kernel thread's schedule to SCHED_FIFO at high
priority using the chrt command.

Thanks,
Richard




_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to