Check the sanity of the synchronized clock by comparing its uncorrected frequency with the system monotonic clock. When the measured frequency offset is larger than the value of the sanity_freq_limit option (20% by default), a warning message will be printed and the servo will be reset. Setting the option to zero disables the check. This is useful to detect when the clock is broken or adjusted by another program. Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
78 lines
1.3 KiB
INI
78 lines
1.3 KiB
INI
[global]
|
|
#
|
|
# Default Data Set
|
|
#
|
|
twoStepFlag 1
|
|
slaveOnly 0
|
|
priority1 128
|
|
priority2 128
|
|
domainNumber 0
|
|
clockClass 248
|
|
clockAccuracy 0xFE
|
|
offsetScaledLogVariance 0xFFFF
|
|
free_running 0
|
|
freq_est_interval 1
|
|
#
|
|
# Port Data Set
|
|
#
|
|
logAnnounceInterval 1
|
|
logSyncInterval 0
|
|
logMinDelayReqInterval 0
|
|
logMinPdelayReqInterval 0
|
|
announceReceiptTimeout 3
|
|
syncReceiptTimeout 0
|
|
delayAsymmetry 0
|
|
fault_reset_interval 4
|
|
neighborPropDelayThresh 20000000
|
|
#
|
|
# Run time options
|
|
#
|
|
assume_two_step 0
|
|
logging_level 6
|
|
path_trace_enabled 0
|
|
follow_up_info 0
|
|
tx_timestamp_timeout 1
|
|
use_syslog 1
|
|
verbose 0
|
|
summary_interval 0
|
|
kernel_leap 1
|
|
check_fup_sync 0
|
|
#
|
|
# Servo Options
|
|
#
|
|
pi_proportional_const 0.0
|
|
pi_integral_const 0.0
|
|
pi_proportional_scale 0.0
|
|
pi_proportional_exponent -0.3
|
|
pi_proportional_norm_max 0.7
|
|
pi_integral_scale 0.0
|
|
pi_integral_exponent 0.4
|
|
pi_integral_norm_max 0.3
|
|
pi_offset_const 0.0
|
|
pi_f_offset_const 0.0000001
|
|
pi_max_frequency 900000000
|
|
clock_servo pi
|
|
sanity_freq_limit 200000000
|
|
#
|
|
# Transport options
|
|
#
|
|
transportSpecific 0x0
|
|
ptp_dst_mac 01:1B:19:00:00:00
|
|
p2p_dst_mac 01:80:C2:00:00:0E
|
|
udp6_scope 0x0E
|
|
uds_address /var/run/ptp4l
|
|
#
|
|
# Default interface options
|
|
#
|
|
network_transport UDPv4
|
|
delay_mechanism E2E
|
|
time_stamping hardware
|
|
#
|
|
# Clock description
|
|
#
|
|
productDescription ;;
|
|
revisionData ;;
|
|
manufacturerIdentity 00:00:00
|
|
userDescription ;
|
|
timeSource 0xA0
|