Merge "Bug in NSB Prox ACL Test 4 Port"
[yardstick.git] / samples / vnf_samples / nsut / prox / configs / gen_l2fwd_multiflow-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 #;
16
17 [eal options]
18 -n=4 ; force number of memory channels
19 no-output=no ; disable DPDK debug output
20
21 [variables]
22 $sut_mac0=@@dst_mac0
23 $sut_mac1=@@dst_mac1
24 $sut_mac2=@@dst_mac2
25 $sut_mac3=@@dst_mac3
26
27 [port 0]
28 name=p0
29 mac=hardware
30 promiscuous=yes
31
32 [port 1]
33 name=p1
34 mac=hardware
35 promiscuous=yes
36
37 [port 2]
38 name=p2
39 mac=hardware
40 promiscuous=yes
41
42 [port 3]
43 name=p3
44 mac=hardware
45 promiscuous=yes
46
47 [defaults]
48 mempool size=4K
49
50 [global]
51 start time=5
52 name=Basic Gen
53
54 [core 0]
55 mode=master
56
57 [core 1]
58 name=p0
59 task=0
60 mode=gen
61 tx port=p0
62 bps=1250000000
63 ; Ethernet + IP + UDP
64 pkt inline=${sut_mac0} 70 00 00 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d 98 10 64 01 98 10 64 02 13 88 13 88 00 08 55 7b
65 ; src_ip: 152.16.100.0/8
66 random=0000XXX1
67 rand_offset=29
68 ; dst_ip: 152.16.100.0/8
69 random=0000XXX0
70 rand_offset=33
71 random=0001001110001XXX0001001110001XXX
72 rand_offset=34
73
74 [core 2]
75 name=p1
76 task=0
77 mode=gen
78 tx port=p1
79 bps=1250000000
80 ; Ethernet + IP + UDP
81 pkt inline=${sut_mac1} 70 00 00 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d 98 10 64 01 98 10 64 02 13 88 13 88 00 08 55 7b
82 ; src_ip: 152.16.100.0/8
83 random=0000XXX1
84 rand_offset=29
85 ; dst_ip: 152.16.100.0/8
86 random=0000XXX0
87 rand_offset=33
88 random=0001001110001XXX0001001110001XXX
89 rand_offset=34
90
91 [core 3]
92 name=p2
93 task=0
94 mode=gen
95 tx port=p2
96 bps=1250000000
97 ; Ethernet + IP + UDP
98 pkt inline=${sut_mac2} 70 00 00 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d 98 10 64 01 98 10 64 02 13 88 13 88 00 08 55 7b
99 ; src_ip: 152.16.100.0/8
100 random=0000XXX1
101 rand_offset=29
102 ; dst_ip: 152.16.100.0/8
103 random=0000XXX0
104 rand_offset=33
105 random=0001001110001XXX0001001110001XXX
106 rand_offset=34
107
108 [core 4]
109 name=p3
110 task=0
111 mode=gen
112 tx port=p3
113 bps=1250000000
114 ; Ethernet + IP + UDP
115 pkt inline=${sut_mac3} 70 00 00 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d 98 10 64 01 98 10 64 02 13 88 13 88 00 08 55 7b
116 ; src_ip: 152.16.100.0/8
117 random=0000XXX1
118 rand_offset=29
119 ; dst_ip: 152.16.100.0/8
120 random=0000XXX0
121 rand_offset=33
122 random=0001001110001XXX0001001110001XXX
123 rand_offset=34
124
125 [core 5]
126 name=rec 0
127 task=0
128 mode=lat
129 rx port=p0
130
131 [core 6]
132 name=rec 1
133 task=0
134 mode=lat
135 rx port=p1
136
137 [core 7]
138 name=rec 2
139 task=0
140 mode=lat
141 rx port=p2
142
143 [core 8]
144 name=rec 3
145 task=0
146 mode=lat
147 rx port=p3