This adds two example config files to instantate a gPTP domain 0 instance that hosts a CMLDS Link Port (run_cmlds=1) and a gPTP domain 1 instance that invokes the CMLDS using the COMMON_P2P delay mechanism.
Signed-off-by: Kishen Maloor <kishen.mal...@intel.com> --- configs/gPTP-cmlds.cfg | 34 ++++++++++++++++++++++++++++++++++ configs/gPTP-common-p2p.cfg | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 configs/gPTP-cmlds.cfg create mode 100644 configs/gPTP-common-p2p.cfg diff --git a/configs/gPTP-cmlds.cfg b/configs/gPTP-cmlds.cfg new file mode 100644 index 000000000000..d682e5b6c2cd --- /dev/null +++ b/configs/gPTP-cmlds.cfg @@ -0,0 +1,34 @@ +# +# 802.1AS example configuration containing those attributes which +# differ from the defaults. See the file, default.cfg, for the +# complete list of available options. +# +[global] +gmCapable 1 +priority1 248 +priority2 248 +logAnnounceInterval 0 +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 +delay_mechanism P2P +phc_index 11 + +# Configure a distinct UDS for this PTP instance +uds_address /var/run/ptp4l.dom0 + +# Assign a CMLDS clock identity +cmlds_clockIdentity 123456.7890.abcdef + +[enp4s0] +# Declare that this port will expose the CMLDS +run_cmlds 1 +# Configure a CMLDS Link Port PortNumber for this link +cmlds_portNumber 20 \ No newline at end of file diff --git a/configs/gPTP-common-p2p.cfg b/configs/gPTP-common-p2p.cfg new file mode 100644 index 000000000000..e6a252648b76 --- /dev/null +++ b/configs/gPTP-common-p2p.cfg @@ -0,0 +1,35 @@ +# +# 802.1AS example configuration containing those attributes which +# differ from the defaults. See the file, default.cfg, for the +# complete list of available options. +# +[global] +gmCapable 1 +priority1 248 +priority2 248 +logAnnounceInterval 0 +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 +phc_index 12 + +# Configure a distinct UDS for this PTP instance +uds_address /var/run/ptp4l.dom1 + +# Configure a clockIdentity for this PTP instance that is +# unique across the PTP network +clockIdentity 000001.0001.000001 +domainNumber 1 + +[enp4s0] +# Configure the CMLDS Link Port parameters for this link +cmlds_portNumber 20 +cmlds_uds_address /var/run/ptp4l.dom0 +delay_mechanism COMMON_P2P -- 2.31.1 _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel