+++ This bug was initially created as a clone of Bug #1643983 +++
Description of problem:
A new ioctl is needed to enable a more accurate synchronization of the system clock with HW timestamping (bug #1643974). When available, the ioctl needs to be supported by chrony.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run chronyd as an NTP client with HW timestamping and look for hwclock messages in the debug output:
chronyd -d -d "server $LOCAL_NTPSERVER minpoll 2 maxpoll 2" \
'hwtimestamp *' |& grep 'hwclock.*err='
2018-10-20T19:19:44Z hwclock.c:191:(HCL_AccumulateSample) HW clock samples=16 offset=-1.859570e-08 freq=2.936241e-05 raw_freq=3.643518e-05 err=1.193500e-06 ref_diff=7.251244e+03
It depends on the NIC, PCIe slot, and other things, but usually the reported error is about 0.7-2.5 microseconds.
Reported error smaller than 0.5 microsecond at least for some supported NICs.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.