Merge "Bug in NSB Prox ACL Test 4 Port"
[yardstick.git] / samples / vnf_samples / nsut / prox / configs / handle_acl-4.cfg
1 ; Copyright (c) 2016-2017 Intel Corporation
2 ;
3 ; Licensed under the Apache License, Version 2.0 (the "License");
4 ; you may not use this file except in compliance with the License.
5 ; You may obtain a copy of the License at
6 ;
7 ;      http://www.apache.org/licenses/LICENSE-2.0
8 ;
9 ; Unless required by applicable law or agreed to in writing, software
10 ; distributed under the License is distributed on an "AS IS" BASIS,
11 ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 ; See the License for the specific language governing permissions and
13 ; limitations under the License.
14
15 [lua]
16 acl_table = dofile("acl_rules-2.lua")
17
18 [eal options]
19 -n=4 ; force number of memory channels
20 no-output=no ; disable DPDK debug output
21
22 [port 0]
23 name=if0
24 mac=hardware
25 rx desc=2048
26 tx desc=2048
27 [port 1]
28 name=if1
29 mac=hardware
30 rx desc=2048
31 tx desc=2048
32 [port 2]
33 name=if2
34 mac=hardware
35 rx desc=2048
36 tx desc=2048
37 [port 3]
38 name=if3
39 mac=hardware
40 rx desc=2048
41 tx desc=2048
42
43 [defaults]
44 mempool size=65K
45 memcache size=512
46 qinq tag="0xa888"
47
48 [global]
49 start time=5
50 name=ACL handle x4
51
52 [core 0]
53 task=0
54 mode=master
55
56 [core 1]
57 name=W-up
58 task=0
59 mode=acl
60 max rules=32768
61 rules=acl_table
62 rx port=if0
63 tx cores=1t1
64 drop=no
65
66 name=l2fwd_if0
67 task=1
68 mode=l2fwd
69 rx ring=yes
70 dst mac=@@tester_p0
71 tx port=if0
72 drop=no
73
74 [core 2]
75 name=W-up
76 task=0
77 mode=acl
78 max rules=32768
79 rules=acl_table
80 rx port=if1
81 tx cores=2t1
82 drop=no
83
84 name=l2fwd_if1
85 task=1
86 mode=l2fwd
87 rx ring=yes
88 dst mac=@@tester_p1
89 tx port=if1
90 drop=no
91
92 [core 3]
93 name=W-up
94 task=0
95 mode=acl
96 max rules=32768
97 rules=acl_table
98 rx port=if2
99 tx cores=3t1
100 drop=no
101
102 name=l2fwd_if2
103 task=1
104 mode=l2fwd
105 rx ring=yes
106 dst mac=@@tester_p2
107 tx port=if2
108 drop=no
109
110 [core 4]
111 name=W-up
112 task=0
113 mode=acl
114 max rules=32768
115 rules=acl_table
116 rx port=if3
117 tx cores=4t1
118 drop=no
119
120 name=l2fwd_if3
121 task=1
122 mode=l2fwd
123 rx ring=yes
124 dst mac=@@tester_p3
125 tx port=if3
126 drop=no