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 <jacob.e.keller@intel.com>
Signed-off-by: Richard Cochran <richardcochran@gmail.com>
master
Jacob Keller 2012-08-20 16:03:31 -07:00 committed by Richard Cochran
parent 06756e29d2
commit 86123d28e7
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,4 @@
[global]
# #
# Default Data Set # Default Data Set
# #
@ -20,10 +21,13 @@ announceReceiptTimeout 3
# #
# Run time options # Run time options
# #
logging_level 6
path_trace_enabled 0 path_trace_enabled 0
follow_up_info 0 follow_up_info 0
tx_timestamp_retries 2 tx_timestamp_retries 2
rx_timestamp_l2only 0 rx_timestamp_l2only 0
use_syslog 1
verbose 0
pi_proportional_const 0.0 pi_proportional_const 0.0
pi_integral_const 0.0 pi_integral_const 0.0
# #
@ -32,3 +36,9 @@ pi_integral_const 0.0
transportSpecific 0x0 transportSpecific 0x0
ptp_dst_mac 01:1B:19:00:00:00 ptp_dst_mac 01:1B:19:00:00:00
p2p_dst_mac 01:80:C2:00:00:0E p2p_dst_mac 01:80:C2:00:00:0E
#
# Default interface options
#
network_transport UDPv4
delay_mechanism E2E
time_stamping hardware

View File

@ -1,3 +1,4 @@
[global]
# #
# Default Data Set # Default Data Set
# #
@ -20,10 +21,13 @@ announceReceiptTimeout 3
# Run time options # Run time options
# #
assume_two_step 1 assume_two_step 1
logging_level 6
path_trace_enabled 1 path_trace_enabled 1
follow_up_info 1 follow_up_info 1
tx_timestamp_retries 2 tx_timestamp_retries 2
rx_timestamp_l2only 1 rx_timestamp_l2only 1
use_syslog 1
verbose 0
pi_proportional_const 0.0 pi_proportional_const 0.0
pi_integral_const 0.0 pi_integral_const 0.0
# #
@ -32,3 +36,9 @@ pi_integral_const 0.0
transportSpecific 0x1 transportSpecific 0x1
ptp_dst_mac 01:80:C2:00:00:0E ptp_dst_mac 01:80:C2:00:00:0E
p2p_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