Merge "Fix potential crash in rx and tx distribution"
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / openstackrapid / l2gen.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 [lua]
22 dofile("parameters.lua")
23
24 [port 0]
25 name=p0
26
27 [variables]
28 $mbs=8
29
30 [defaults]
31 mempool size=4K
32
33 [global]
34 name=${name}
35
36 [core 0]
37 mode=master
38
39 [core ${group1}]
40 name=p0
41 task=0
42 mode=gen
43 tx port=p0
44 bps=1250000000
45 pkt inline=${dest_hex_mac} 00 00 00 00 00 00 08 00 45 00 00 24 00 01 00 00 40 11 f7 7d ${local_hex_ip} ${dest_hex_ip} 0b b8 0b b9 00 10 55 7b
46 pkt size=50
47 min bulk size=$mbs
48 max bulk size=16
49 drop=no
50 lat pos=42
51 accuracy pos=46
52
53 [core ${group2}]
54 name=lat
55 task=0
56 mode=lat
57 rx port=p0
58 lat pos=42
59 accuracy pos=46
60
61