Increase the default number of rx and tx descriptors to 2K
[samplevnf.git] / VNFs / DPPD-PROX / config / nop.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 one of the most basic configurations. Note that this configuration
19 ; does not perform any real work as opposed to configurations like BNG/BRAS
20 ; or lwAFTR. This configuration sets up four interfaces and five cores (one
21 ; master core and four worker cores). Packets are passed (i.e. without being
22 ; touched) as follows:
23 ; - interface 0 to interface 1 (handled by core 1)
24 ; - interface 1 to interface 0 (handled by core 2)
25 ; - interface 2 to interface 3 (handled by core 3)
26 ; - interface 3 to interface 2 (handled by core 4)
27 ;;
28
29 [eal options]
30 -n=4 ; force number of memory channels
31 no-output=no ; disable DPDK debug output
32
33 [port 0]
34 name=if0
35 mac=hardware
36 [port 1]
37 name=if1
38 mac=hardware
39 [port 2]
40 name=if2
41 mac=hardware
42 [port 3]
43 name=if3
44 mac=hardware
45
46 [defaults]
47 mempool size=8K
48
49 [global]
50 start time=5
51 name=NOP forwarding (4x)
52
53 [core 0s0]
54 mode=master
55
56 [core 1s0]
57 name=nop
58 task=0
59 mode=nop
60 rx port=if0
61 tx port=if1
62 drop=no
63
64 [core 2s0]
65 name=nop
66 task=0
67 mode=nop
68 rx port=if1
69 tx port=if0
70 drop=no
71
72 [core 3s0]
73 name=nop
74 task=0
75 mode=nop
76 rx port=if2
77 tx port=if3
78 drop=no
79
80 [core 4s0]
81 name=nop
82 task=0
83 mode=nop
84 rx port=if3
85 tx port=if2
86 drop=no