Merge "Bug in NSB Prox ACL Test 4 Port"
[yardstick.git] / samples / vnf_samples / nsut / prox / configs / gen_l2fwd_multiflow-2.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
25 [port 0]
26 name=p0
27 mac=hardware
28 rx desc=2048
29 tx desc=2048
30 promiscuous=yes
31
32 [port 1]
33 name=p1
34 mac=hardware
35 rx desc=2048
36 tx desc=2048
37 promiscuous=yes
38
39 [defaults]
40 mempool size=4K
41
42 [global]
43 start time=5
44 name=Basic Gen
45
46 [core 0]
47 mode=master
48
49 [core 1]
50 name=p0
51 task=0
52 mode=gen
53 tx port=p0
54 bps=1250000000
55 ; Ethernet + IP + UDP
56 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
57 ; src_ip: 152.16.100.0/8
58 random=0000XXX1
59 rand_offset=29
60 ; dst_ip: 152.16.100.0/8
61 random=0000XXX0
62 rand_offset=33
63 random=0001001110001XXX0001001110001XXX
64 rand_offset=34
65
66 [core 2]
67 name=p1
68 task=0
69 mode=gen
70 tx port=p1
71 bps=1250000000
72 ; Ethernet + IP + UDP
73 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 28 01 98 10 28 02 13 88 13 88 00 08 55 7b
74 ; src_ip: 152.16.40.0/8
75 random=1001100000010000001010000000XXXX
76 rand_offset=26
77 ; dst_ip: 152.16.40.0/8
78 random=1001100000010000001010000000XXXX
79 rand_offset=30
80 random=0001001110001XXX0001001110001XXX
81 rand_offset=34
82
83
84 [core 3]
85 name=rec 0
86 task=0
87 mode=lat
88 rx port=p0
89 lat pos=42
90
91 [core 4]
92 name=rec 1
93 task=0
94 mode=lat
95 rx port=p1
96 lat pos=42