On 11/12/21 11:09, Vladimir Oltean wrote:

To be honest with you, I'm a bit concerned that it still won't work as
intended even if I remove the error from posix_clock_add(). This is
because find_dst_clock() from phc2sys finds clocks by phc_index. When
you run phc2sys between this /dev/ptp_kvm and CLOCK_REALTIME, I think it
might happen for this function to find the unintended clock, since both
of them have clock->phc_index = -1.


I tried phc2sys training my clock (with the symlink name changed) from CLOCK_REALTIME, and I don't see that problem. It appears to work fine and the associated message "skipping %s: %s has the same clock and is already selected" does not appear in the output.

- Ed Branch

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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

Reply via email to