On Thu, Dec 03, 2020 at 07:18:58PM +0200, Vladimir Oltean wrote:
> Isn't this game over already? Who guarantees that the TC will be
> synchronized within 215 seconds of the master, considering that the spec
> doesn't even require the TC to synchronize to the GM in the first place,
> just syntonize?

The ptp4l program can ensure this.  It would have to check that
synchronization is enabled, and that the estimated offset is reasonable.

> Actually, for dpaa2, the one-step timestamping procedure just does:
> 
> correctionField += t_TX - t_passed_inband
> 
> where the driver populates:
> t_passed_inband = originTimestamp = approximate PTP time of software packet 
> delivery

ptp4l sets to originTimestamp zero!

> So I don't actually care about one-step TC on sja1105 or in general.
> This discussion however seems to be leaning towards the conclusion that
> we should let sleeping dogs lie. Hardware one-step TCs should just do
> their own thing and ptp4l is just concerned with the software based
> ones. Ok.

Yeah, I don't really see the benefit to the end users.

Thanks,
Richard


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

Reply via email to