Fix minor compilation issue on recent gcc compilers
[samplevnf.git] / VNFs / DPPD-PROX / swap_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=swap_tap
24 local ipv4=$ip2
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=swap
44 task=0
45 mode=swap
46 sub mode=l3
47 rx port=p0
48 tx port=p0
49 drop=no
50 local ipv4=${ip2}