]> git.proxmox.com Git - ceph.git/blame - ceph/src/dpdk/examples/ip_pipeline/config/tm_profile.cfg
bump version to 12.2.12-pve1
[ceph.git] / ceph / src / dpdk / examples / ip_pipeline / config / tm_profile.cfg
CommitLineData
7c673cae
FG
1; BSD LICENSE
2;
3; Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
4; All rights reserved.
5;
6; Redistribution and use in source and binary forms, with or without
7; modification, are permitted provided that the following conditions
8; are met:
9;
10; * Redistributions of source code must retain the above copyright
11; notice, this list of conditions and the following disclaimer.
12; * Redistributions in binary form must reproduce the above copyright
13; notice, this list of conditions and the following disclaimer in
14; the documentation and/or other materials provided with the
15; distribution.
16; * Neither the name of Intel Corporation nor the names of its
17; contributors may be used to endorse or promote products derived
18; from this software without specific prior written permission.
19;
20; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21; "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22; LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23; A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24; OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25; SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26; LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27; DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28; THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
32; This file enables the following hierarchical scheduler configuration for each
33; 10GbE output port:
34; * Single subport (subport 0):
35; - Subport rate set to 100% of port rate
36; - Each of the 4 traffic classes has rate set to 100% of port rate
37; * 4K pipes per subport 0 (pipes 0 .. 4095) with identical configuration:
38; - Pipe rate set to 1/4K of port rate
39; - Each of the 4 traffic classes has rate set to 100% of pipe rate
40; - Within each traffic class, the byte-level WRR weights for the 4 queues
41; are set to 1:1:1:1
42;
43; For more details, please refer to chapter "Quality of Service (QoS) Framework"
44; of Data Plane Development Kit (DPDK) Programmer's Guide.
45
46; Port configuration
47[port]
48frame overhead = 24 ; frame overhead = Preamble (7) + SFD (1) + FCS (4) + IFG (12)
49mtu = 1522; mtu = Q-in-Q MTU (FCS not included)
50number of subports per port = 1
51number of pipes per subport = 4096
52queue sizes = 64 64 64 64
53
54; Subport configuration
55[subport 0]
56tb rate = 1250000000 ; Bytes per second
57tb size = 1000000 ; Bytes
58
59tc 0 rate = 1250000000 ; Bytes per second
60tc 1 rate = 1250000000 ; Bytes per second
61tc 2 rate = 1250000000 ; Bytes per second
62tc 3 rate = 1250000000 ; Bytes per second
63tc period = 10 ; Milliseconds
64
65pipe 0-4095 = 0 ; These pipes are configured with pipe profile 0
66
67; Pipe configuration
68[pipe profile 0]
69tb rate = 305175 ; Bytes per second
70tb size = 1000000 ; Bytes
71
72tc 0 rate = 305175 ; Bytes per second
73tc 1 rate = 305175 ; Bytes per second
74tc 2 rate = 305175 ; Bytes per second
75tc 3 rate = 305175 ; Bytes per second
76tc period = 40 ; Milliseconds
77
78tc 3 oversubscription weight = 1
79
80tc 0 wrr weights = 1 1 1 1
81tc 1 wrr weights = 1 1 1 1
82tc 2 wrr weights = 1 1 1 1
83tc 3 wrr weights = 1 1 1 1
84
85; RED params per traffic class and color (Green / Yellow / Red)
86[red]
87tc 0 wred min = 48 40 32
88tc 0 wred max = 64 64 64
89tc 0 wred inv prob = 10 10 10
90tc 0 wred weight = 9 9 9
91
92tc 1 wred min = 48 40 32
93tc 1 wred max = 64 64 64
94tc 1 wred inv prob = 10 10 10
95tc 1 wred weight = 9 9 9
96
97tc 2 wred min = 48 40 32
98tc 2 wred max = 64 64 64
99tc 2 wred inv prob = 10 10 10
100tc 2 wred weight = 9 9 9
101
102tc 3 wred min = 48 40 32
103tc 3 wred max = 64 64 64
104tc 3 wred inv prob = 10 10 10
105tc 3 wred weight = 9 9 9