On Wed, 10 Dec 2014 10:03:35 +0100, Delio Brignoli wrote:
> I just wanted to point out that, in the scenario above, correctly
> implemented drivers and user mode applications should also track link
> state changes (link speed mostly, but other factors could affect
> latency) and update corrections accordingly. Drivers should probably be
> given a chance to update the correction before user-mode is notified or
> you’d end up with driver defaults overriding user-mode settings.

You're right, that complicates things and means we'll need user space
to be involved in the decision anyway. And when the user space needs to
listen for link changes and act on them, there's no reason to put
complicated logic into the kernel. Seems that an interface to query
the driver for the current suggested correction is enough and the
actual addition/subtraction should be indeed done in ptp4l. It also
seems that ptp4l will need to listen for link change events.

 Jiri

-- 
Jiri Benc

------------------------------------------------------------------------------
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

Reply via email to