From 86123d28e7a9785219027c9afb554fd18b7fba6a Mon Sep 17 00:00:00 2001 From: Jacob Keller Date: Mon, 20 Aug 2012 16:03:31 -0700 Subject: [PATCH] ptp4l: update the configuration files with the new defaults and sections Update the configuration files for gPTP and default so that they show more of the options as well as use suitable defaults for each style. -v2 * Add [global] to gPTP.cfg [ RC - also add logging_level, verbose, and use_syslog - use time_stamping, not timestamping ] Signed-off-by: Jacob Keller Signed-off-by: Richard Cochran --- default.cfg | 10 ++++++++++ gPTP.cfg | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/default.cfg b/default.cfg index 2c3245c..857ffd8 100644 --- a/default.cfg +++ b/default.cfg @@ -1,3 +1,4 @@ +[global] # # Default Data Set # @@ -20,10 +21,13 @@ announceReceiptTimeout 3 # # Run time options # +logging_level 6 path_trace_enabled 0 follow_up_info 0 tx_timestamp_retries 2 rx_timestamp_l2only 0 +use_syslog 1 +verbose 0 pi_proportional_const 0.0 pi_integral_const 0.0 # @@ -32,3 +36,9 @@ pi_integral_const 0.0 transportSpecific 0x0 ptp_dst_mac 01:1B:19:00:00:00 p2p_dst_mac 01:80:C2:00:00:0E +# +# Default interface options +# +network_transport UDPv4 +delay_mechanism E2E +time_stamping hardware diff --git a/gPTP.cfg b/gPTP.cfg index 7f4c79d..513816a 100644 --- a/gPTP.cfg +++ b/gPTP.cfg @@ -1,3 +1,4 @@ +[global] # # Default Data Set # @@ -20,10 +21,13 @@ announceReceiptTimeout 3 # Run time options # assume_two_step 1 +logging_level 6 path_trace_enabled 1 follow_up_info 1 tx_timestamp_retries 2 rx_timestamp_l2only 1 +use_syslog 1 +verbose 0 pi_proportional_const 0.0 pi_integral_const 0.0 # @@ -32,3 +36,9 @@ pi_integral_const 0.0 transportSpecific 0x1 ptp_dst_mac 01:80:C2:00:00:0E p2p_dst_mac 01:80:C2:00:00:0E +# +# Default interface options +# +network_transport L2 +delay_mechanism P2P +time_stamping hardware