Merge "docs: Update install and release docs for DPDK migration support"
[samplevnf.git] / VNFs / DPPD-PROX / gen / vRouter-gen.cfg
1 ;;
2 ;; Copyright (c) 2010-2017 Intel Corporation
3 ;;
4 ;; Licensed under the Apache License, Version 2.0 (the "License");
5 ;; you may not use this file except in compliance with the License.
6 ;; You may obtain a copy of the License at
7 ;;
8 ;;     http://www.apache.org/licenses/LICENSE-2.0
9 ;;
10 ;; Unless required by applicable law or agreed to in writing, software
11 ;; distributed under the License is distributed on an "AS IS" BASIS,
12 ;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ;; See the License for the specific language governing permissions and
14 ;; limitations under the License.
15 ;;
16
17 [eal options]
18 -n=4 ; force number of memory channels
19 no-output=no ; disable DPDK debug output
20
21 [port 0]
22 name=p0
23 mac=00:00:00:00:00:01
24 rx desc=$rxd
25 tx desc=$txd
26 [port 1]
27 name=p1
28 mac=00:00:00:00:00:02
29 rx desc=$rxd
30 tx desc=$txd
31 [port 2]
32 name=p2
33 mac=00:00:00:00:00:03
34 rx desc=$rxd
35 tx desc=$txd
36 [port 3]
37 name=p3
38 mac=00:00:00:00:00:04
39 rx desc=$rxd
40 tx desc=$txd
41 [port 4]
42 name=p4
43 mac=00:00:00:00:00:05
44 rx desc=$rxd
45 tx desc=$txd
46 [port 5]
47 name=p5
48 mac=00:00:00:00:00:06
49 rx desc=$rxd
50 tx desc=$txd
51 [port 6]
52 name=p6
53 mac=00:00:00:00:00:07
54 rx desc=$rxd
55 tx desc=$txd
56 [port 7]
57 name=p7
58 mac=00:00:00:00:00:08
59 rx desc=$rxd
60 tx desc=$txd
61
62 [variables]
63 $bulk=8
64 $rxd=1024
65 $txd=256
66 $c1=1s1,1s1h,9s1,9s1h
67 $c2=2s1,2s1h,10s1,10s1h
68 $c3=3s1,3s1h,11s1,11s1h
69 $c4=4s1,4s1h,12s1,12s1h
70 $c5=5s1,5s1h,13s1,13s1h
71 $c6=6s1,6s1h,14s1,14s1h
72 $c7=7s1,7s1h,15s1,15s1h
73 $c8=8s1,8s1h,16s1,16s1h
74 $r1=1s0
75 $r2=2s0
76 $r3=3s0
77 $r4=4s0
78 $r5=5s0
79 $r6=6s0
80 $r7=7s0
81 $r8=10s0
82
83 [defaults]
84 mempool size=4K
85
86 [global]
87 start time=5
88 name=Basic Gen
89
90 [core 0s1]
91 mode=master
92
93 [core $c1]
94 name=p0
95 task=0
96 mode=gen
97 tx port=p0
98 bps=1250000000
99 pkt inline=00 1b 21 b1 23 14 00 00 01 00 00 01 08 00 45 00 00 20 00 01 00 00 40 11 00 00 21 00 00 02 44 00 00 02 13 88 13 88 00 0c 00 00 00 00 00 00 00 00 00 00 00
100 min bulk size=$bulk
101 max bulk size=$bulk
102 random=0XXXXXXXXXXXXX10
103 rand_offset=34
104 random=0XXXXXXXXXXXXX10
105 rand_offset=36
106 lat pos=42
107 packet id pos=46
108
109 [core $c2]
110 name=p1
111 task=0
112 mode=gen
113 tx port=p1
114 bps=1250000000
115 pkt inline=00 1b 21 b1 23 15 00 00 02 00 00 02 08 00 45 00 00 20 00 01 00 00 40 11 00 00 29 00 00 02 45 00 00 02 13 88 13 88 00 0c 55 7b 00 00 00 00 00 00 00 00 00
116 min bulk size=$bulk
117 max bulk size=$bulk
118 random=0XXXXXXXXXXXXX10
119 rand_offset=34
120 random=0XXXXXXXXXXXXX10
121 rand_offset=36
122 lat pos=42
123 packet id pos=46
124
125 [core $c3]
126 name=p2
127 task=0
128 mode=gen
129 tx port=p2
130 bps=1250000000
131 pkt inline=90 e2 ba a7 64 44 00 00 02 00 00 02 08 00 45 00 00 20 00 01 00 00 40 11 00 00 31 00 00 02 46 00 00 02 13 88 13 88 00 0c 55 7b 00 00 00 00 00 00 00 00 00
132 min bulk size=$bulk
133 max bulk size=$bulk
134 random=0XXXXXXXXXXXXX10
135 rand_offset=34
136 random=0XXXXXXXXXXXXX10
137 rand_offset=36
138 lat pos=42
139 packet id pos=46
140
141 [core $c4]
142 name=p3
143 task=0
144 mode=gen
145 tx port=p3
146 bps=1250000000
147 pkt inline=90 e2 ba a7 64 45 00 00 02 00 00 02 08 00 45 00 00 20 00 01 00 00 40 11 00 00 39 00 00 02 47 00 00 02 13 88 13 88 00 0c 55 7b 00 00 00 00 00 00 00 00 00
148 min bulk size=$bulk
149 max bulk size=$bulk
150 random=0XXXXXXXXXXXXX10
151 rand_offset=34
152 random=0XXXXXXXXXXXXX10
153 rand_offset=36
154 lat pos=42
155 packet id pos=46
156
157 [core $c5]
158 name=p4
159 task=0
160 mode=gen
161 tx port=p4
162 bps=1250000000
163 pkt inline=90 e2 ba a5 a4 38 00 00 01 00 00 01 08 00 45 00 00 20 00 01 00 00 40 11 00 00 11 00 00 02 42 00 00 02 13 88 13 88 00 0c 00 00 00 00 00 00 00 00 00 00 00
164 min bulk size=$bulk
165 max bulk size=$bulk
166 random=0XXXXXXXXXXXXX10
167 rand_offset=34
168 random=0XXXXXXXXXXXXX10
169 rand_offset=36
170 lat pos=42
171 packet id pos=46
172
173 [core $c6]
174 name=p5
175 task=0
176 mode=gen
177 tx port=p5
178 bps=1250000000
179 pkt inline=90 e2 ba a5 a4 39 00 00 02 00 00 02 08 00 45 00 00 20 00 01 00 00 40 11 00 00 19 00 00 02 43 00 00 02 13 88 13 88 00 0c 55 7b 00 00 00 00 00 00 00 00 00
180 min bulk size=$bulk
181 max bulk size=$bulk
182 random=0XXXXXXXXXXXXX10
183 rand_offset=34
184 random=0XXXXXXXXXXXXX10
185 rand_offset=36
186 lat pos=42
187 packet id pos=46
188
189 [core $c7]
190 name=p6
191 task=0
192 mode=gen
193 tx port=p6
194 bps=1250000000
195 pkt inline=90 e2 ba a5 a4 44 00 00 02 00 00 02 08 00 45 00 00 20 00 01 00 00 40 11 00 00 01 00 00 02 40 00 00 02 13 88 13 88 00 0c 55 7b 00 00 00 00 00 00 00 00 00
196 min bulk size=$bulk
197 max bulk size=$bulk
198 random=0XXXXXXXXXXXXX10
199 rand_offset=34
200 random=0XXXXXXXXXXXXX10
201 rand_offset=36
202 lat pos=42
203 packet id pos=46
204
205 [core $c8]
206 name=p7
207 task=0
208 mode=gen
209 tx port=p7
210 bps=1250000000
211 pkt inline=90 e2 ba a5 a4 45 00 00 02 00 00 02 08 00 45 00 00 20 00 01 00 00 40 11 00 00 09 00 00 02 41 00 00 02 13 88 13 88 00 0c 55 7b 00 00 00 00 00 00 00 00 00
212 min bulk size=$bulk
213 max bulk size=$bulk
214 random=0XXXXXXXXXXXXX10
215 rand_offset=34
216 random=0XXXXXXXXXXXXX10
217 rand_offset=36
218 lat pos=42
219 packet id pos=46
220
221 [core $r1]
222 name=r1
223 task=0
224 mode=arp
225 rx port=p0
226 tx port=p0
227 tx cores=(${r1})t1
228 task=1
229 mode=lat
230 rx ring=yes
231 lat pos=42
232 packet id pos=46
233
234 [core $r2]
235 name=r2
236 task=0
237 mode=arp
238 rx port=p1
239 tx port=p1
240 tx cores=(${r2})t1
241 task=1
242 mode=lat
243 rx ring=yes
244 lat pos=42
245 packet id pos=46
246
247 [core $r3]
248 name=r3
249 task=0
250 mode=arp
251 rx port=p2
252 tx port=p2
253 tx cores=(${r3})t1
254 task=1
255 mode=lat
256 rx ring=yes
257 lat pos=42
258 packet id pos=46
259
260 [core $r4]
261 name=r4
262 task=0
263 mode=arp
264 rx port=p3
265 tx port=p3
266 tx cores=(${r4})t1
267 task=1
268 mode=lat
269 rx ring=yes
270 lat pos=42
271 packet id pos=46
272
273 [core $r5]
274 name=r5
275 task=0
276 mode=arp
277 rx port=p4
278 tx port=p4
279 tx cores=(${r5})t1
280 task=1
281 mode=lat
282 rx ring=yes
283 lat pos=42
284 packet id pos=46
285
286 [core $r6]
287 name=r6
288 task=0
289 mode=arp
290 rx port=p5
291 tx port=p5
292 tx cores=(${r6})t1
293 task=1
294 mode=lat
295 rx ring=yes
296 lat pos=42
297 packet id pos=46
298
299 [core $r7]
300 name=r7
301 task=0
302 mode=arp
303 rx port=p6
304 tx port=p6
305 tx cores=(${r7})t1
306 task=1
307 mode=lat
308 rx ring=yes
309 lat pos=42
310 packet id pos=46
311
312 [core $r8]
313 name=r8
314 task=0
315 mode=arp
316 rx port=p7
317 tx port=p7
318 tx cores=(${r8})t1
319 task=1
320 mode=lat
321 rx ring=yes
322 lat pos=42
323 packet id pos=46