summaryrefslogtreecommitdiff
path: root/daemons/gptp/gptp_cfg.ini
diff options
context:
space:
mode:
authorChristopher S. Hall <christopher.s.hall@intel.com>2018-06-04 13:43:52 -0400
committerChristopher S. Hall <christopher.s.hall@intel.com>2018-06-12 10:54:27 -0400
commit87acb2c7a6423db8df70acdcd2404785b3198a74 (patch)
treedafacce2d09cc3369d2b62f0dc9475b1ee7cdfd7 /daemons/gptp/gptp_cfg.ini
parent247413605cc4cda855ea89cc6b5c4168a247a91a (diff)
downloadOpen-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.ini8
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