On Mon, May 18, 2020 at 07:58:47AM +0000, FUSTE Emmanuel wrote: > Perhaps too late, and should have been raised on netdev but why ns > granularity for phase adjustment ?
This comes from the traditional NTP timex interface. > Talking about net device phc clock and phase adjustment I directly think > "white rabbit". If your PHC is locked on the ethernet carrier (SyncE), > the final step is phase adjustment to go to sub ns sync. > Choosing ps granularity would be more future proof for the interface and > would allow to expose white rabbit hardware clock/board as a PHC and > implement the WR control plane in userspace using standard interface > (would need more extension, but it is a start). I think it wouldn't be hard to extend the interface. You could take one of the unused 32 bit fields and make that fractional nanoseconds, for example. If white rabbit wants to submit an patch to the kernel along with a driver, then I would support the idea. Thanks, Richard _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel