Increase the default number of rx and tx descriptors to 2K
[samplevnf.git] / VNFs / DPPD-PROX / config / cgnat.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=if0
23 mac=hardware
24 [port 1]
25 name=if1
26 mac=hardware
27
28 [lua]
29 nat_table = dofile("cgnat_table.lua")
30 lpm4 = dofile("ipv4_1port.lua")
31
32 [defaults]
33 mempool size=8K
34
35 [global]
36 start time=5
37 name=CGNAT
38
39 [core 0s0]
40 mode=master
41
42 [core 1s0]
43 name=nat
44 task=0
45 mode=cgnat
46 private=yes
47 nat table=nat_table
48 route table=lpm4
49 rx port=if0
50 tx ports from routing table=if1
51
52 task=1
53 mode=cgnat
54 private=no
55 nat table=nat_table
56 route table=lpm4
57 rx port=if1
58 tx port=if0