fd74672eb963b424275e27adf4bbae7c757f211a
[samplevnf.git] / VNFs / DPPD-PROX / gen_tap.cfg
1 ;;
2 ;; Copyright (c) 2020 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 vdev=gen_tap
24 local ipv4=$ip1
25
26 [defaults]
27 mempool size=16K
28
29 [global]
30 start time=5
31 name=Basic Gen
32
33 [variables]
34 $hex_ip1=0a 0a 0a 01
35 $hex_ip2=0a 0a 0a 02
36 $ip1=10.10.10.1
37 $ip2=10.10.10.2
38
39 [core 0s0]
40 mode=master
41
42 [core 1s0]
43 name=p0
44 task=0
45 mode=gen
46 sub mode=l3
47 tx port=p0
48 bps=1250000000
49 pkt inline=00 00 01 00 00 01 00 00 02 00 00 02 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d ${hex_ip1} ${hex_ip2} 13 88 13 88 00 08 55 7b
50 pkt size=60
51 lat pos=42
52 packet id pos=46
53 min bulk size=8
54
55 [core 2s0]
56 name=nop
57 task=0
58 mode=lat
59 sub mode=l3
60 rx port=p0
61 drop=no
62 lat pos=42
63 packet id pos=46
64 local ipv4=${ip1}