On Tue, Mar 25, 2014 at 09:52:32AM +0100, Mohamed Belaouad wrote:

> To sum up, the ppb adjustment passed to the driver is limited to
> [-32,768,000 | 32,768,000] and when passing values > 32,768,000 it
> saturates to -32,768,000.

Why are you passing values greater than what the device can handle?
That doesn't make sense to do, and we don't do it in ptp4l.

> Also, what we would like to know is: is the max ppb adjustment check
> done in the PTP subsystem (I have not found anything about it in
> drivers/ptp, maybe wrong location?) or should it be handled in the
> driver?

There is no check in the kernel. I guess that ptp_clock_adjtime could
return ERANGE in such a case.

You do realize that all of this has nothing to do with your stmmac
troubles, don't you?

Thanks,
Richard

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Linuxptp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to