Re: [Linuxptp-users] Synchronization fault with stmmac
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Richard C. <ric...@gm...> - 2014-03-25 11:30:13
|
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 |