Re: [Linuxptp-users] UtcOffset (leap seconds)
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Keller, J. E <jac...@in...> - 2012-02-23 18:31:09
|
> -----Original Message----- > From: Richard Cochran [mailto:ric...@gm...] > Sent: Thursday, February 23, 2012 4:31 AM > To: Keller, Jacob E > Cc: lin...@li... > Subject: Re: [Linuxptp-users] UtcOffset (leap seconds) > > On Wed, Feb 22, 2012 at 11:35:40PM +0000, Keller, Jacob E wrote: > > > Is it correct to not properly configure the ptp4l clock when it is > > in fallback mode, or should it be changed to update the clock > > settings when it goes to master mode as a fallback? Normally the > > clock would go to grandmaster mode because there are no other clocks > > on the network with higher priority.. But it never does this in > > fallback mode, because it never receives an announce message at all. > > I think the right thing would be to initialize the time properties in > clock.tds in clock_create(). In that way, if a port enters into master > state by default, the data set values will be correct. > > I will add this soon (or please post a patch if you DIY). > > Thanks, > > Richard > Yes this seems correct. I can probably make a patch if you haven't done it already. Jake |