Re: [Linuxptp-users] ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: - - <art...@gm...> - 2022-07-29 09:45:09
|
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 <ric...@gm...>: > 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 > > > |