On Mon, Jan 09, 2017 at 08:22:42PM +0100, Achim Gratz wrote: > Eric S. Raymond writes: > > Good idea. I'd do it something like this: > > > > 1. Every time we ship a packet, take timestamps at the beginning and end of > > the > > critical region. > > If it is possible to get the actual time the packet left, then that's > the data to get the adjustment value from. I'm not sure exactly how > hardware timestamping is implemented in the kernel, but at least some of > the interfaces should be able to read back the timestamp that was > attached to the outgoing packet.
See: https://www.kernel.org/doc/Documentation/networking/timestamping.txt Kurt _______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel