Merge "PROX generator: performance optimization (3/4)"
[samplevnf.git] / VNFs / DPPD-PROX / config / esp.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 ;;
18 ; This is sample ESP config.
19 ;;
20
21
22 [eal options]
23 -n=4 ; force number of memory channels
24 no-output=no ; disable DPDK debug output
25
26 [port 1]
27 name=esp_out
28 #mac=68:05:ca:33:3a:00
29 ;00:1b:21:40:4c:e1
30 [port 0]
31 name=esp_in
32 #mac=00:1b:21:40:4c:e0
33
34
35 [variables]
36 $tun_hop_limit=5
37 $lookup_port_mask=0xffc0
38
39
40 [defaults]
41 mempool size=16K
42
43 [global]
44 start time=20
45 name=esp
46 ;esp cfg=esp.csv
47
48 [core 1s0]
49 mode=master
50
51 ;*****************************************************************************************
52 [core 2s0]
53 name=esp_enc
54 task=0
55 mode=esp_enc
56 local ipv4=21.22.23.24
57 remote ipv4=21.22.23.25
58 rx port=esp_in
59 tx cores=3s0 task=0 proto=ipv4
60
61 ;*****************************************************************************************
62 ;# Binding table is checked to ensure src IPv4 address and port combo is allocated to the originating tunnel
63 [core 3s0]
64 name=esp_dec
65 task=0
66 mode=esp_dec
67 local ipv4=21.22.23.24
68 rx ring=yes ; gre received from internal queue
69 ;tx port=esp_out
70 tx port=esp_in