Re: [Linuxptp-users] Jump of ~UTC-TAI offset after taking the interface down and up
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
|
From: Keller, J. E <jac...@in...> - 2018-08-21 17:57:13
|
> -----Original Message----- > From: Richard Cochran [mailto:ric...@gm...] > Sent: Tuesday, August 21, 2018 5:33 AM > To: FUSTE Emmanuel <emm...@th...> > Cc: lin...@li... > Subject: Re: [Linuxptp-users] Jump of ~UTC-TAI offset after taking the interface > down and up > > I have complained about this on netdev before, but to no avail. There > drivers that do all of their bringup/teardown in their .open/close > callbacks and *not* in the .probe/remove methods. It may be that > the HW forces implementation in some cases. > I know a lot of drivers end up doing resets, and the hw reset clears their internal timer. :( > But in at least one case, where *I* wrote a perfectly adequate PHC > driver that sets the clock exactly once, in probe/remove, the $corp > developers when ahead and moved that into open/close. Brilliant. > Yea, I remember this happening :( Regards, Jake |