Add warning in case of wrong configuration (missing l3 submode)
[samplevnf.git] / VNFs / DPPD-PROX / config / l2fwd-4ports.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=50:00:00:00:00:01
24 [port 1]
25 name=if1
26 mac=50:00:00:00:00:02
27 [port 2]
28 name=if2
29 mac=50:00:00:00:00:03
30 [port 3]
31 name=if3
32 mac=50:00:00:00:00:04
33
34 [defaults]
35 mempool size=4K
36
37 [global]
38 start time=5
39 name=L2 forward (4x)
40
41 [core 0s0]
42 mode=master
43
44 [core 1s0]
45 name=L2 fwd
46 task=0
47 mode=l2fwd
48 rx port=if0
49 tx port=if1
50 drop=no
51
52 [core 2s0]
53 name=L2 fwd
54 task=0
55 mode=l2fwd
56 rx port=if1
57 tx port=if0
58 drop=no
59
60 [core 3s0]
61 name=L2 fwd
62 task=0
63 mode=l2fwd
64 rx port=if2
65 tx port=if3
66 drop=no
67
68 [core 4s0]
69 name=L2 fwd
70 task=0
71 mode=l2fwd
72 rx port=if3
73 tx port=if2
74 drop=no