Merge "Update heat RFC2544 based TC to support SRIOV VF ports."
[yardstick.git] / samples / vnf_samples / nsut / vpe / vpe_config / full_tm_profile_10G.cfg
1 ; Copyright (c) 2017 Intel Corporation
2 ;
3 ; Licensed under the Apache License, Version 2.0 (the "License");
4 ; you may not use this file except in compliance with the License.
5 ; You may obtain a copy of the License at
6 ;
7 ;      http://www.apache.org/licenses/LICENSE-2.0
8 ;
9 ; Unless required by applicable law or agreed to in writing, software
10 ; distributed under the License is distributed on an "AS IS" BASIS,
11 ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 ; See the License for the specific language governing permissions and
13 ; limitations under the License.
14
15 ; This file enables the following hierarchical scheduler configuration for each
16 ; 10GbE output port:
17 ;       * Single subport (subport 0):
18 ;               - Subport rate set to 100% of port rate
19 ;               - Each of the 4 traffic classes has rate set to 100% of port rate
20 ;       * 4K pipes per subport 0 (pipes 0 .. 4095) with identical configuration:
21 ;               - Pipe rate set to 1/4K of port rate
22 ;               - Each of the 4 traffic classes has rate set to 100% of pipe rate
23 ;               - Within each traffic class, the byte-level WRR weights for the 4 queues
24 ;         are set to 1:1:1:1
25 ;
26 ; For more details, please refer to chapter "Quality of Service (QoS) Framework"
27 ; of Intel Data Plane Development Kit (Intel DPDK) Programmer's Guide.
28
29 ; Port configuration
30 [port]
31 frame overhead = 24 ; frame overhead = Preamble (7) + SFD (1) + FCS (4) + IFG (12)
32 mtu = 1522; mtu = Q-in-Q MTU (FCS not included)
33 number of subports per port = 1
34 number of pipes per subport = 4096
35 queue sizes = 64 64 64 64
36
37 ; Subport configuration
38 [subport 0]
39 tb rate = 1250000000           ; Bytes per second
40 tb size = 1000000              ; Bytes
41
42 tc 0 rate = 1250000000         ; Bytes per second
43 tc 1 rate = 1250000000         ; Bytes per second
44 tc 2 rate = 1250000000         ; Bytes per second
45 tc 3 rate = 1250000000         ; Bytes per second
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 = 1250000000           ; Bytes per second
53 tb size = 1000000              ; Bytes
54
55 tc 0 rate = 1250000000         ; Bytes per second
56 tc 1 rate = 1250000000         ; Bytes per second
57 tc 2 rate = 1250000000         ; Bytes per second
58 tc 3 rate = 1250000000         ; Bytes per second
59 tc period = 40                 ; Milliseconds
60
61 tc 3 oversubscription weight = 1
62
63 tc 0 wrr weights = 1 1 1 1
64 tc 1 wrr weights = 1 1 1 1
65 tc 2 wrr weights = 1 1 1 1
66 tc 3 wrr weights = 1 1 1 1
67
68 ; RED params per traffic class and color (Green / Yellow / Red)
69 [red]
70 tc 0 wred min = 48 40 32
71 tc 0 wred max = 64 64 64
72 tc 0 wred inv prob = 10 10 10
73 tc 0 wred weight = 9 9 9
74
75 tc 1 wred min = 48 40 32
76 tc 1 wred max = 64 64 64
77 tc 1 wred inv prob = 10 10 10
78 tc 1 wred weight = 9 9 9
79
80 tc 2 wred min = 48 40 32
81 tc 2 wred max = 64 64 64
82 tc 2 wred inv prob = 10 10 10
83 tc 2 wred weight = 9 9 9
84
85 tc 3 wred min = 48 40 32
86 tc 3 wred max = 64 64 64
87 tc 3 wred inv prob = 10 10 10
88 tc 3 wred weight = 9 9 9