41c31bf827cbf176748a541e60d95448e67c332e
[yardstick.git] / samples / vnf_samples / nsut / prox / configs / gen_l2fwd-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
19 no-output=no ; disable DPDK debug output
20
21 [port 0]
22 name=p0
23 mac=hardware
24 promiscuous=yes
25
26 [port 1]
27 name=p1
28 mac=hardware
29 promiscuous=yes
30
31 [port 2]
32 name=p2
33 mac=hardware
34 promiscuous=yes
35
36 [port 3]
37 name=p3
38 mac=hardware
39 promiscuous=yes
40
41 [defaults]
42 mempool size=4K
43
44 [variables]
45 $sut_mac0=@@dst_mac0
46 $sut_mac1=@@dst_mac1
47 $sut_mac2=@@dst_mac2
48 $sut_mac3=@@dst_mac3
49
50 [global]
51 start time=5
52 name=Basic Gen x4
53
54 [core 0]
55 mode=master
56
57 [core 1]
58 name=gen 0
59 task=0
60 mode=gen
61 tx port=p0
62 bps=1250000000
63 ; Ethernet + IP + UDP
64 pkt inline=${sut_mac0} 3c fd fe 9f a3 08 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 08 55 7b
65 lat pos=38
66
67 [core 2]
68 name=gen 1
69 task=0
70 mode=gen
71 tx port=p1
72 bps=1250000000
73 ; Ethernet + IP + UDP
74 pkt inline=${sut_mac1} 3c fd fe 9f a3 08 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 08 55 7b
75 lat pos=38
76
77 [core 3]
78 name=gen 2
79 task=0
80 mode=gen
81 tx port=p2
82 bps=1250000000
83 ; Ethernet + IP + UDP
84 pkt inline=${sut_mac2} 3c fd fe 9f a5 08 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 08 55 7b
85 lat pos=38
86
87 [core 4]
88 name=gen 3
89 task=0
90 mode=gen
91 tx port=p3
92 bps=1250000000
93 ; Ethernet + IP + UDP
94 pkt inline=${sut_mac3} 3c fd fe 9f a5 08 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 08 55 7b
95 lat pos=38
96
97 [core 5]
98 name=rec 0
99 task=0
100 mode=lat
101 rx port=p0
102
103 [core 6]
104 name=rec 1
105 task=0
106 mode=lat
107 rx port=p1
108
109 [core 7]
110 name=rec 2
111 task=0
112 mode=lat
113 rx port=p2
114
115 [core 8]
116 name=rec 3
117 task=0
118 mode=lat
119 rx port=p3
120