common/mlx5: fix user mode register access command
[dpdk.git] / examples / qos_sched / profile.cfg
1 ;   SPDX-License-Identifier: BSD-3-Clause
2 ;   Copyright(c) 2010-2019 Intel Corporation.
3
4 ; This file enables the following hierarchical scheduler configuration for each
5 ; 10GbE output port:
6 ;       * Single subport (subport 0):
7 ;               - Subport rate set to 100% of port rate
8 ;               - Each of the 13 traffic classes has rate set to 100% of port rate
9 ;       * 4K pipes per subport 0 (pipes 0 .. 4095) with identical configuration:
10 ;               - Pipe rate set to 1/4K of port rate
11 ;               - Each of the 13 traffic classes has rate set to 100% of pipe rate
12 ;               - Within lowest priority traffic class (best-effort), the byte-level
13 ;                 WRR weights for the 4 queues of best effort traffic class are set
14 ;                 to 1:1:1:1
15 ;
16 ; For more details, please refer to chapter "Quality of Service (QoS) Framework"
17 ; of Data Plane Development Kit (DPDK) Programmer's Guide.
18
19 ; Port configuration
20 [port]
21 frame overhead = 24
22 number of subports per port = 1
23
24 ; Subport configuration
25 [subport 0]
26 number of pipes per subport = 4096
27 queue sizes = 64 64 64 64 64 64 64 64 64 64 64 64 64
28
29 tb rate = 1250000000           ; Bytes per second
30 tb size = 1000000              ; Bytes
31
32 tc 0 rate = 1250000000         ; Bytes per second
33 tc 1 rate = 1250000000         ; Bytes per second
34 tc 2 rate = 1250000000         ; Bytes per second
35 tc 3 rate = 1250000000         ; Bytes per second
36 tc 4 rate = 1250000000         ; Bytes per second
37 tc 5 rate = 1250000000         ; Bytes per second
38 tc 6 rate = 1250000000         ; Bytes per second
39 tc 7 rate = 1250000000         ; Bytes per second
40 tc 8 rate = 1250000000         ; Bytes per second
41 tc 9 rate = 1250000000         ; Bytes per second
42 tc 10 rate = 1250000000        ; Bytes per second
43 tc 11 rate = 1250000000        ; Bytes per second
44 tc 12 rate = 1250000000        ; Bytes per second
45
46 tc period = 10                 ; Milliseconds
47
48 pipe 0-4095 = 0                ; These pipes are configured with pipe profile 0
49
50 ; Pipe configuration
51 [pipe profile 0]
52 tb rate = 305175               ; Bytes per second
53 tb size = 1000000              ; Bytes
54
55 tc 0 rate = 305175             ; Bytes per second
56 tc 1 rate = 305175             ; Bytes per second
57 tc 2 rate = 305175             ; Bytes per second
58 tc 3 rate = 305175             ; Bytes per second
59 tc 4 rate = 305175             ; Bytes per second
60 tc 5 rate = 305175             ; Bytes per second
61 tc 6 rate = 305175             ; Bytes per second
62 tc 7 rate = 305175             ; Bytes per second
63 tc 8 rate = 305175             ; Bytes per second
64 tc 9 rate = 305175             ; Bytes per second
65 tc 10 rate = 305175            ; Bytes per second
66 tc 11 rate = 305175            ; Bytes per second
67 tc 12 rate = 305175            ; Bytes per second
68
69 tc period = 40                ; Milliseconds
70
71 tc 12 oversubscription weight = 1
72
73 tc 12 wrr weights = 1 1 1 1
74
75 ; RED params per traffic class and color (Green / Yellow / Red)
76 [red]
77 tc 0 wred min = 48 40 32
78 tc 0 wred max = 64 64 64
79 tc 0 wred inv prob = 10 10 10
80 tc 0 wred weight = 9 9 9
81
82 tc 1 wred min = 48 40 32
83 tc 1 wred max = 64 64 64
84 tc 1 wred inv prob = 10 10 10
85 tc 1 wred weight = 9 9 9
86
87 tc 2 wred min = 48 40 32
88 tc 2 wred max = 64 64 64
89 tc 2 wred inv prob = 10 10 10
90 tc 2 wred weight = 9 9 9
91
92 tc 3 wred min = 48 40 32
93 tc 3 wred max = 64 64 64
94 tc 3 wred inv prob = 10 10 10
95 tc 3 wred weight = 9 9 9
96
97 tc 4 wred min = 48 40 32
98 tc 4 wred max = 64 64 64
99 tc 4 wred inv prob = 10 10 10
100 tc 4 wred weight = 9 9 9
101
102 tc 5 wred min = 48 40 32
103 tc 5 wred max = 64 64 64
104 tc 5 wred inv prob = 10 10 10
105 tc 5 wred weight = 9 9 9
106
107 tc 6 wred min = 48 40 32
108 tc 6 wred max = 64 64 64
109 tc 6 wred inv prob = 10 10 10
110 tc 6 wred weight = 9 9 9
111
112 tc 7 wred min = 48 40 32
113 tc 7 wred max = 64 64 64
114 tc 7 wred inv prob = 10 10 10
115 tc 7 wred weight = 9 9 9
116
117 tc 8 wred min = 48 40 32
118 tc 8 wred max = 64 64 64
119 tc 8 wred inv prob = 10 10 10
120 tc 8 wred weight = 9 9 9
121
122 tc 9 wred min = 48 40 32
123 tc 9 wred max = 64 64 64
124 tc 9 wred inv prob = 10 10 10
125 tc 9 wred weight = 9 9 9
126
127 tc 10 wred min = 48 40 32
128 tc 10 wred max = 64 64 64
129 tc 10 wred inv prob = 10 10 10
130 tc 10 wred weight = 9 9 9
131
132 tc 11 wred min = 48 40 32
133 tc 11 wred max = 64 64 64
134 tc 11 wred inv prob = 10 10 10
135 tc 11 wred weight = 9 9 9
136
137 tc 12 wred min = 48 40 32
138 tc 12 wred max = 64 64 64
139 tc 12 wred inv prob = 10 10 10
140 tc 12 wred weight = 9 9 9