I have noticed that "delay_timeout" returned by pmc with "PORT_SERVICE_STATS_NP" is always increasing, even when rx delay responses are arriving as expected. It appears to happen because code flow does not get to resetting the delay timeout(FD_DELAY_TIMER), unless poll woke on this fd. The problem is that the delay_timeout counter is incremented together with the timer resetting. What I expected is that when a legitimate delay response arrives, the timer should reset. If I understand the behavior correctly, then delay response timeouts cannot be detected by pmc.
BR, Paz
_______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel