summaryrefslogtreecommitdiff
path: root/lib/avtp_pipeline/endpoint/endpoint.ini
blob: 5138c6615f726bf29dd63c654bcf4946ddeaa8cd (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
[network]

# interface name on which to talk/listen
ifname=eth0

# information rate (wire speed) for the link specified in kilobits/sec
# (fast ethernet = 100000, gigabit ethernet = 1000000)
link_kbit = 1000000

# Bandwidth reserved for non-SR traffic
# specified in kilobits/sec
nsr_kbit = 250000

[ptp]

# Endpoint will always start openavb_gptp on the interface specified by ifname (above)
# (unless gptp_asCapable_not_required = 1 is set - see warning below)
# Additional openavb_gptp command line options may be provided here, if desired
start_options = -u 60

[fqtss]

# FQTSS mode - how talker traffic will be shaped.
#
# Modes are:
# 0 = AVB_SHAPER_DISABLED  - Disable FQTSS (no shaping)
# 1 = AVB_SHAPER_DROP_ALL  - Drop all frames
# 2 = AVB_SHAPER_ALL_NONSR - Treat everything as non-SR traffic
# 3 = AVB_SHAPER_DROP_SR   - Drop all AVTP frames
# 4 = AVB_SHAPER_SW        - Credit-based shaping per-class (in software)
# 5 = AVB_SHAPER_HWQ_PER_CLASS - shaping in HW per AVB class
#
# By default on platforms which support HW shaping, the default mode
# will be AVB_SHAPER_HWQ_PER_CLASS, on other platforms the default
# mode is AVB_SHAPER_SW.
#mode = 4

[srp]

# To disable dynamic SRP operation in the case of manually preconfigured streams
# (e.g. in an AVB network using Broadcom Polar Switches) set:
#preconfigured = 1
# CAUTION: All streams registered by talker or listener are assumed to be valid.
# WARNING: Preconfigured streams require COMPLETE manual stream configuration
#          on EVERY device in the network, without exception.
#          ANY NETWORK WHICH IS NOT EITHER
#           - USING DYNAMIC SRP ON **EVERY** NETWORK DEVICE, OR
#           - HAS COMPLETE MANUAL STREAM CONFIGURATION ON **EVERY** NETWORK DEVICE
#          IS NOT AN ETHERNET AVB NETWORK AND WILL NOT FUNCTION PROPERLY.

# IEEE 802.1ba section 6.4 requires that SRP grant stream reservations on a link
# only if that link is "asCapable" with gPTP (IEEE 802.1AS) operating.  To bypass
# that requirement, set:
# gptp_asCapable_not_required = 1
# WARNING: This non-standards complaint option is intended ONLY to allow for the
#          use of PTPv2 on older AVB netowrks where gPTP may not be supported.
#          ANY NETWORK WHICH IS NOT USING PTP TO KEEP ALL DEVICE CLOCKS IN SYNC
#          IS NOT AN ETHERNET AVB NETWORK AND WILL NOT FUNCTION PROPERLY.