Code rewrite and Python3 support
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / rapid / l2gen.cfg
1 ;;
2 ;; Copyright (c) 2010-2019 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 [lua]
18 dofile("parameters.lua")
19
20 [eal options]
21 -n=4 ; force number of memory channels
22 no-output=no ; disable DPDK debug output
23 eal=--proc-type auto ${eal}
24
25 [port 0]
26 name=p0
27 rx desc=2048
28 tx desc=2048
29 vlan=yes
30
31 [variables]
32 $mbs=8
33
34 [defaults]
35 mempool size=8K
36
37 [global]
38 name=${name}
39
40 [core 0]
41 mode=master
42
43 [core $gencores]
44 name=p0
45 task=0
46 mode=gen
47 tx port=p0
48 bps=1250000000
49 pkt inline=${dest_hex_mac1} 00 00 00 00 00 00 08 00 45 00 00 2e 00 01 00 00 40 11 f7 7d ${local_hex_ip1} ${dest_hex_ip1} 0b b8 0b b9 00 1a 55 7b
50 pkt size=60
51 ;gateway ipv4=${gw_ip1}
52 local ipv4=${local_ip1}
53 min bulk size=$mbs
54 max bulk size=16
55 drop=yes
56 lat pos=42
57 accuracy pos=46
58 packet id pos=50
59 signature=0x98765432
60 signature pos=56
61
62 [core $latcores]
63 name=lat
64 task=0
65 mode=lat
66 rx port=p0
67 lat pos=42
68 accuracy pos=46
69 packet id pos=50
70 signature=0x98765432
71 signature pos=56