Do not create (empty) latency loss file if disabled
[samplevnf.git] / VNFs / DPPD-PROX / gen / lw_aftr-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=inet_0
23 mac=00:00:00:00:01:01
24 [port 2]
25 name=lwB4_0
26 mac=00:00:00:00:00:02
27 [port 4]
28 name=inet_1
29 mac=00:00:00:00:01:03
30 [port 6]
31 name=lwB4_1
32 mac=00:00:00:00:00:04
33
34 [variables]
35 $tun_pcap=./lwAFTR_tun_100k.pcap
36 $inet_pcap=./lwAFTR_inet_100k.pcap
37
38 [defaults]
39 mempool size=16K
40
41 [global]
42 start time=20
43 name=Gen lwAFTR
44
45 [core 0s0]
46 mode=master
47
48 [core 1s0,2s0]
49 name=tun_0
50 task=0
51 mode=gen
52 tx port=lwB4_0
53 pcap file=$tun_pcap
54 lat pos=58
55
56 [core 3s0,4s0]
57 name=inet_0
58 task=0
59 mode=gen
60 tx port=inet_0
61 pcap file=$inet_pcap
62 lat pos=18
63
64 [core 1s1,2s1]
65 name=tun_1
66 task=0
67 mode=gen
68 tx port=lwB4_1
69 pcap file=$tun_pcap
70 lat pos=58
71
72 [core 3s1,4s1]
73 name=inet_1
74 task=0
75 mode=gen
76 tx port=inet_1
77 pcap file=$inet_pcap
78 lat pos=18
79
80 [core 5s0]
81 name=lat_in0
82 task=0
83 mode=lat
84 rx port=inet_0
85 lat pos=18
86
87 [core 6s0]
88 name=lat_tun0
89 task=0
90 mode=lat
91 rx port=lwB4_0
92 lat pos=58
93
94 [core 5s1]
95 name=lat_in1
96 task=0
97 mode=lat
98 rx port=inet_1
99 lat pos=18
100
101 [core 6s1]
102 name=lat_tun1
103 task=0
104 mode=lat
105 rx port=lwB4_1
106 lat pos=58