Thread (28 messages) flat view 28 messages, 6 authors, 2015-09-05

Re: [PATCH v3 3/4] Add support for driver cross-timestamp to PTP_SYS_OFFSET ioctl

From: Richard Cochran <richardcochran@gmail.com>
Date: 2015-08-23 11:26:05
Also in: intel-wired-lan, lkml

On Sun, Aug 23, 2015 at 10:15:00AM +0200, Thomas Gleixner wrote:
So why can't you take N samples from the synced hardware? It does not
make any sense to me to switch to the imprecise mode if nsamples > 1.
Ok, then I prefer to leave this "imprecise" method in place and ...
 
You can also provide a new IOCTL PTP_SYS_OFFSET_PRECISE which returns
-ENOSYS if hardware timestamping is not available and avoid the whole
nsamples dance for the case where we can get precise timestamps.
have this for the new way.

By keeping the imprecise method, we will be able to run both methods
on the new hardware.  That will help to quantify how imprecise the old
method is.

Thanks,
Richard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help