> -----Original Message----- > From: Richard Cochran [mailto:richardcoch...@gmail.com] > Sent: Wednesday, December 10, 2014 7:54 AM > To: Jiri Benc > Cc: linuxptp-devel@lists.sourceforge.net > Subject: Re: [Linuxptp-devel] [PATCH RFC 0/4] Time stamp asymmetry > correction > > On Wed, Dec 10, 2014 at 10:20:06AM +0100, Jiri Benc wrote: > > actual addition/subtraction should be indeed done in ptp4l. It also > > seems that ptp4l will need to listen for link change events. > > Or this can be done by a helper program. > > Thanks, > Richard > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and > Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/os > tg.clktrk >
A helper program which queries link speed changes, (or any other possible changes which affect latency) and uses an ethtool (or ptp maybe?) ioctl to get the suggested latency with "0" being the default for unimplemented. Then it can suggest the value and user can override it if necessary. This seems like the simplest solution. Thanks, Jake ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel