On Thu, Nov 16, 2023 at 11:11:50PM +0100, Andrew Zaborowski wrote:
> The two timestamps are passed to clock_peer_delay() by the receiving
> port and stored in c->tsproc. Then they're accessed by
> get_raw_delay() which is used in the filter logic. I'm not sure how
> much value that has, we can possibly pass 0s to clock_peer_delay().
If the client uses CMLDS, then it doesn't need tsproc logic at all.
It simply take the delay value from the CMLDS server.
> Regarding "source_port_index", I assume that would contain the ifindex
> of the interface? With virtual clocks I believe the PHC indices may
> differ between the PTP ports on one physical port ("link port").
No, I mean the PTP port number. These are taken from the order of the
interfaces on the command line and in the configuration file.
Thanks,
Richard
_______________________________________________
Linuxptp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel