This allows running an automotive-like network without a time-aware bridge. All 
clients will sync directly with the master e.g. via a simple switch with 
Transparent Clock.

Signed-off-by: Martin Pecka <pecka...@fel.cvut.cz>
---
 configs/automotive-master-e2e.cfg | 31 +++++++++++++++++++++++++
 configs/automotive-slave-e2e.cfg  | 38 +++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)
 create mode 100644 configs/automotive-master-e2e.cfg
 create mode 100644 configs/automotive-slave-e2e.cfg

diff --git a/configs/automotive-master-e2e.cfg 
b/configs/automotive-master-e2e.cfg
new file mode 100644
index 0000000..ffeafed
--- /dev/null
+++ b/configs/automotive-master-e2e.cfg
@@ -0,0 +1,31 @@
+#
+# Automotive Profile example configuration for master containing those
+# attributes which differ from the defaults.  See the file, default.cfg, for
+# the complete list of available options.
+#
+[global]
+#
+# Options carried over from gPTP.
+#
+gmCapable              1
+priority1              248
+priority2              248
+logSyncInterval                -3
+syncReceiptTimeout     3
+neighborPropDelayThresh        800
+min_neighbor_prop_delay        -20000000
+assume_two_step                1
+path_trace_enabled     1
+follow_up_info         1
+transportSpecific      0x1
+ptp_dst_mac            01:80:C2:00:00:0E
+network_transport      L2
+#
+# Automotive Profile specific options
+#
+delay_mechanism                E2E
+BMCA                   noop
+serverOnly             1
+inhibit_announce       1
+asCapable               true
+inhibit_delay_req       1
diff --git a/configs/automotive-slave-e2e.cfg b/configs/automotive-slave-e2e.cfg
new file mode 100644
index 0000000..ea273a5
--- /dev/null
+++ b/configs/automotive-slave-e2e.cfg
@@ -0,0 +1,38 @@
+#
+# Automotive Profile example configuration for clients containing those
+# attributes which differ from the defaults.  See the file, default.cfg, for
+# the complete list of available options.
+#
+[global]
+#
+# Options carried over from gPTP.
+#
+gmCapable              1
+priority1              248
+priority2              248
+logSyncInterval                -3
+syncReceiptTimeout     3
+neighborPropDelayThresh        800
+min_neighbor_prop_delay        -20000000
+assume_two_step                1
+path_trace_enabled     1
+follow_up_info         1
+transportSpecific      0x1
+ptp_dst_mac            01:80:C2:00:00:0E
+network_transport      L2
+#
+# Automotive Profile specific options
+#
+delay_mechanism                E2E
+BMCA                   noop
+clientOnly             1
+inhibit_announce       1
+asCapable               true
+ignore_source_id       1
+# Required to quickly correct Time Jumps in master
+step_threshold          1
+operLogSyncInterval     0
+operLogPdelayReqInterval 2
+msg_interval_request     1
+servo_offset_threshold   30
+servo_num_offset_values  10
-- 
2.17.1



_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to