diff options
author | Christopher S. Hall <christopher.s.hall@intel.com> | 2018-06-04 13:43:52 -0400 |
---|---|---|
committer | Christopher S. Hall <christopher.s.hall@intel.com> | 2018-06-12 10:54:27 -0400 |
commit | 87acb2c7a6423db8df70acdcd2404785b3198a74 (patch) | |
tree | dafacce2d09cc3369d2b62f0dc9475b1ee7cdfd7 /daemons/gptp/gptp_cfg.ini | |
parent | 247413605cc4cda855ea89cc6b5c4168a247a91a (diff) | |
download | Open-AVB-87acb2c7a6423db8df70acdcd2404785b3198a74.tar.gz |
gptp: Add monotonic raw clock option
Timestamp clocks that implement the PTP_SYS_OFFSET_PRECISE ioctl return
cross-timestamps with respect to monotonic raw and realtime
Add configuration file option allowing clock selection for system/local
clock relation
The default clock type is Realtime which is equivalent to the
CLOCK_REALTIME option to clock_gettime
Optionally, MonotonicRaw (equivalent to CLOCK_MONOTONIC_RAW) can be
specified in the gPTP daemon configuration file:
[clock]
SystemClock = MonotonicRaw
Fixed Makefile issue where some shell configurations use built-in 'echo'
and others don't
Forces all to use /bin/echo
Diffstat (limited to 'daemons/gptp/gptp_cfg.ini')
-rw-r--r-- | daemons/gptp/gptp_cfg.ini | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/daemons/gptp/gptp_cfg.ini b/daemons/gptp/gptp_cfg.ini index ee593e9e..83387606 100644 --- a/daemons/gptp/gptp_cfg.ini +++ b/daemons/gptp/gptp_cfg.ini @@ -6,6 +6,14 @@ # The lower the number, the higher the priority for the BMCA. priority1 = 248 +# Clock option to specify system clock type +# Currently, Linux only. Options are MonotonicRaw and Realtime. +# Realtime works on all network interfaces. MonotonicRaw is available on +# interfaces that support it. + +#[clock] +#SystemClock = MonotonicRaw + [port] # TODO |