Thanks for the help, I will try to change the driver. Can you also help: I periodically see this message from the slave side: port 1: UNCALIBRATED to LISTENING on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
Which leads to a loss of synchronization. I don't see an error on the master side. I have added a tx and rx timestamp output and I see that the master does not stop. So I understand the problem is on the slave side. Best regards, Vyasheslav чт, 28 июл. 2022 г. в 20:26, Richard Cochran <richardcoch...@gmail.com>: > 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