Fix latency in l2 and l3 PROX generator config files
[yardstick.git] / samples / vnf_samples / nsut / prox / configs / gen_vpe-4.cfg
1 # Copyright (c) 2016-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
16 [eal options]
17 -n=4
18 no-output=no ; disable DPDK debug output
19
20 [variables]
21 $qinq_tag_inline=88 a8
22 $sut_mac0=@@dst_mac0
23 $sut_mac1=@@dst_mac1
24 $sut_mac2=@@dst_mac2
25 $sut_mac3=@@dst_mac3
26
27 [port 0]
28 name=cpe0
29 mac=hardware
30 [port 1]
31 name=inet0
32 mac=hardware
33 [port 2]
34 name=cpe1
35 mac=hardware
36 [port 3]
37 name=inet1
38 mac=hardware
39
40 [defaults]
41 mempool size=4K
42
43 [global]
44 start time=5
45 name=vPE gen
46
47 [core 0]
48 mode=master
49
50 [core 1]
51 name=cpe0
52 task=0
53 mode=gen
54 tx port=cpe0
55 bps=625000000
56 ; Ethernet + QinQ + IP + UDP
57 pkt inline=${sut_mac0} 70 00 00 00 00 01 ${qinq_tag_inline} 00 01 81 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 21  FFFFFFFF
58 ; svlan: [0,1]
59 random=000000000000000X
60 rand_offset=14
61 ; cvlan: [0..255]
62 random=00000000XXXXXXXX
63 rand_offset=18
64 ; src_ip: 192.168.0.0/20
65 random=11000000101010000000XXXXXXXXXXXX
66 rand_offset=34
67 ; dst_ip: [10,11,74,75].[0..255].[0,16,32,48,64,80,96,112,128,144,160,176,192,208,224,240].[0..255]
68 random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
69 rand_offset=38
70 ; dscp: [0..63]
71 random=XXXXXX00
72 rand_offset=23
73 ; sport: [0,2,4,6,8,10,12,14]
74 random=000000000000XXX0
75 rand_offset=42
76 ; dport: [0..511]
77 random=0000000XXXXXXXXX
78 rand_offset=44
79 lat pos=50
80
81 [core 2]
82 name=cpe1
83 task=0
84 mode=gen
85 tx port=cpe1
86 bps=625000000
87 ; Ethernet + QinQ + IP + UDP
88 pkt inline=${sut_mac2} 70 00 00 00 00 03 ${qinq_tag_inline} 00 01 81 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 21  FFFFFFFF
89 ; svlan: [32,33]
90 random=000000000010000X
91 rand_offset=14
92 ; cvlan: [0..255]
93 random=00000000XXXXXXXX
94 rand_offset=18
95 ; src_ip: 192.168.32.0/20
96 random=11000000101010000010XXXXXXXXXXXX
97 rand_offset=34
98 ; dst_ip: [10,11,74,75].[0..255].[0,16,32,48,64,80,96,112,128,144,160,176,192,208,224,240].[0..255]
99 random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
100 rand_offset=38
101 ; dscp: [0..63]
102 random=XXXXXX00
103 rand_offset=23
104 ; sport: [0,2,4,6,8,10,12,14]
105 random=000000000000XXX0
106 rand_offset=42
107 ; dport: [0..511]
108 random=0000000XXXXXXXXX
109 rand_offset=44
110 lat pos=50
111
112 [core 3]
113 name=cpe0
114 task=0
115 mode=gen
116 tx port=cpe0
117 bps=625000000
118 ; Ethernet + QinQ + IP + UDP
119 pkt inline=${sut_mac0} 70 00 00 00 00 01 ${qinq_tag_inline} 00 01 81 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 21  FFFFFFFF
120 ; svlan: [16,17]
121 random=000000000001000X
122 rand_offset=14
123 ; cvlan: [0..255]
124 random=00000000XXXXXXXX
125 rand_offset=18
126 ; src_ip: 192.168.16.0/20
127 random=11000000101010000001XXXXXXXXXXXX
128 rand_offset=34
129 ; dst_ip: [10,11,74,75].[0..255].[0,16,32,48,64,80,96,112,128,144,160,176,192,208,224,240].[0..255]
130 random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
131 rand_offset=38
132 ; dscp: [0..63]
133 random=XXXXXX00
134 rand_offset=23
135 ; sport: [0,2,4,6,8,10,12,14]
136 random=000000000000XXX0
137 rand_offset=42
138 ; dport: [0..511]
139 random=0000000XXXXXXXXX
140 rand_offset=44
141 lat pos=50
142
143 [core 4]
144 name=cpe1
145 task=0
146 mode=gen
147 tx port=cpe1
148 bps=625000000
149 ; Ethernet + QinQ + IP + UDP
150 pkt inline=${sut_mac2} 70 00 00 00 00 03 ${qinq_tag_inline} 00 01 81 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 21  FFFFFFFF
151 ; svlan: [48,49]
152 random=000000000011000X
153 rand_offset=14
154 ; cvlan: [0..255]
155 random=00000000XXXXXXXX
156 rand_offset=18
157 ; src_ip: 192.168.48.0/20
158 random=11000000101010000011XXXXXXXXXXXX
159 rand_offset=34
160 ; dst_ip: [10,11,74,75].[0..255].[0,16,32,48,64,80,96,112,128,144,160,176,192,208,224,240].[0..255]
161 random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
162 rand_offset=38
163 ; dscp: [0..63]
164 random=XXXXXX00
165 rand_offset=23
166 ; sport: [0,2,4,6,8,10,12,14]
167 random=000000000000XXX0
168 rand_offset=42
169 ; dport: [0..511]
170 random=0000000XXXXXXXXX
171 rand_offset=44
172 lat pos=50
173
174 [core 5]
175 name=inet0
176 task=0
177 mode=gen
178 tx port=inet0
179 bps=1250000000
180 ; Ethernet + MPLS + IP + UDP
181 pkt inline=${sut_mac1} 70 00 00 00 00 02 88 47 00 00 31 00 45 00 00 1c 00 01 00 00 40 11 77 fe c0 a8 80 80 c0 a8 01 01 00 35 00 35 00 08 fc a1  FFFFFFFF
182 ; dst_ip: 192.168.0.0/18
183 random=110000001010100000XXXXXXXXXXXXXX
184 rand_offset=34
185 ; dscp: [0..63]
186 random=XXXXXX00
187 rand_offset=19
188 lat pos=46
189
190 [core 8]
191 name=inet1
192 task=0
193 mode=gen
194 tx port=inet1
195 bps=1250000000
196 ; Ethernet + MPLS + IP + UDP
197 pkt inline=${sut_mac3} 70 00 00 00 00 04 88 47 00 00 31 00 45 00 00 1c 00 01 00 00 40 11 77 fe c0 a8 80 80 c0 a8 01 01 00 35 00 35 00 08 fc a1  FFFFFFFF
198 ; dst_ip: 192.168.0.0/18
199 random=110000001010100000XXXXXXXXXXXXXX
200 rand_offset=34
201 ; dscp: [0..63]
202 random=XXXXXX00
203 rand_offset=19
204 lat pos=46
205
206 [core 9]
207 name=CPE0
208 task=0
209 mode=lat
210 rx port=cpe0
211 lat pos=50
212
213 [core 10]
214 name=CPE1
215 task=0
216 mode=lat
217 rx port=cpe1
218 lat pos=50
219
220 [core 11]
221 name=INET0
222 task=0
223 mode=lat
224 rx port=inet0
225 lat pos=46
226
227 [core 12]
228 name=INET1
229 task=0
230 mode=lat
231 rx port=inet1
232 lat pos=46
233