These patches should make the clock check more reliable, e.g. when the clock is controlled externally by another process, or when there are multiple clocks in the jbod mode as was discussed recently on this list.
The first patch is not strictly related to the clock check, e.g. it also fixes the path delay after switching the slave port. Miroslav Lichvar (3): clock: Reset state when switching port with same best clock. clock: Reset clock check on port state change. port: Don't check timestamps from non-slave ports. clock.c | 3 ++- clockcheck.c | 9 ++++++++- clockcheck.h | 6 ++++++ port.c | 5 ++++- 4 files changed, 20 insertions(+), 3 deletions(-) -- 2.26.3 _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel