summaryrefslogtreecommitdiff
path: root/daemons/gptp/gptp_cfg.ini
blob: 83387606ae7980ee6cff3f17602b06373f2c4f53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70

[ptp]

# Priority1 value
# It can assume values between 0 and 255.
# The lower the number, the higher the priority for the BMCA.
priority1 = 248

# Clock option to specify system clock type
# Currently, Linux only. Options are MonotonicRaw and Realtime.
# Realtime works on all network interfaces. MonotonicRaw is available on
# interfaces that support it.

#[clock]
#SystemClock = MonotonicRaw

[port]

# TODO
announceReceiptTimeout = 3

# TODO
syncReceiptTimeout = 3

# Neighbor propagation delay threshold in nanoseconds
# The default pdelay threshold for various hardware link types is specified in
# IEEE Std 802.1AS-Cor1-2013 Table 11-0 "Value of neighborPropDelayThresh for
# various links, in clause 11.2.2. It needs to be configurable because a
# user may be using a converter to fibre and the software wont know until the
# administrator changes it.
neighborPropDelayThresh = 800

# Sync Receipt Threshold
# This value defines the number of syncs with wrong seqID that will trigger
# the ptp slave to become master (it will start announcing)
# Normally sync messages are sent every 125ms, so setting it to 8 will allow
# up to 1 second of wrong messages before switching
syncReceiptThresh = 8

[eth]

# Older deprecated format
# PHY delay GB TX in nanoseconds
# The default for I210 is 184
#phy_delay_gb_tx = 184

# Older deprecated format
# PHY delay GB RX in nanoseconds
# The default for I210 is 184
#phy_delay_gb_rx = 382

# Older deprecated format
# PHY delay 100 MB TX in nanoseconds
# The default for I210 is 1044
#phy_delay_mb_tx = 1044

# Older deprecated format
# PHY delay 100 MB RX in nanoseconds
# The default for I210 is 2133
#phy_delay_mb_rx = 2133

# Newer flexible format
# PHY delay GB RX/TX in nanoseconds
# Link speed may be specified numerically or by name
#phy_delay = 1000000 184 382
phy_delay = LINKSPEED_1G 184 382

# PHY delay 100 MB RX/TX in nanoseconds
phy_delay = LINKSPEED_100MB 1044 2133