Find PDR using binary search
[csit.git] / tests / suites / performance / Long_Xconnect_Dot1q_Intel-X520-DA2.robot
1 # Copyright (c) 2016 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 *** Settings ***
15 | Resource | resources/libraries/robot/performance.robot
16 | Resource | resources/libraries/robot/tagging.robot
17 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_LONG
18 | ...        | NIC_Intel-X520-DA2
19 | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
20 | ... | L2 | Intel-X520-DA2
21 | Suite Teardown | 3-node Performance Suite Teardown
22 | Test Setup | Setup all DUTs before test
23 | Test Teardown | Run Keyword | Remove startup configuration of VPP from all DUTs
24 | Documentation | *Throughput search suite (based on RFC2544).*
25 | ...
26 | ... | Test suite uses 3-node topology TG - DUT1 - DUT2 - TG, with one link
27 | ... | between nodes. Traffic profile contain 2 L2 streams (1 stream per
28 | ... | direction). Packets contain Ethernet header, IPv4 header,
29 | ... | IP protocol=61 and random payload. Ethernet header MAC addresses are
30 | ... | matching MAC addresses of the TG node. DUT nodes are interconnected
31 | ... | with VLAN dot1q configured interfaces with VLAN 10.
32
33 *** Variables ***
34 | ${subid}= | 10
35 | ${tag_rewrite}= | pop-1
36
37 *** Test Cases ***
38 | Find NDR by using RFC2544 binary search and 64B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology
39 | | [Documentation]
40 | | ... | Find throughput with non drop rate by using binary search with
41 | | ... | threshold 0.1Mpps. Frames from and to TG are 64B long. Tagging is
42 | | ... | applied between DUTs inserting 4B VLAN ID into a packet header.
43 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR
44 | | ${framesize}= | Set Variable | 64
45 | | ${min_rate}= | Set Variable | 100000
46 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_68B}
47 | | ${binary_min}= | Set Variable | ${min_rate}
48 | | ${binary_max}= | Set Variable | ${max_rate}
49 | | ${threshold}= | Set Variable | ${min_rate}
50 | | Given Add '1' worker threads and rss '1' without HTT to all DUTs
51 | | And   Add all PCI devices to all DUTs
52 | | And   Add No Multi Seg to all DUTs
53 | | And   Apply startup configuration on all VPP DUTs
54 | | And   VPP interfaces in path are up
55 | | When VLAN dot1q subinterfaces initialized on 3-node topology
56 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
57 | | And L2 tag rewrite method setup on interfaces
58 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
59 | | ... | ${tag_rewrite}
60 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
61 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
62 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
63 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
64 | | ...                                       | ${binary_max} | 3-node-xconnect
65 | | ...                                       | ${min_rate} | ${max_rate}
66 | | ...                                       | ${threshold}
67
68 | Find PDR by using RFC2544 binary search and 64B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology
69 | | [Documentation]
70 | | ... | Find throughput with non drop rate by using binary search with
71 | | ... | threshold 0.1Mpps. Frames from and to TG are 64B long. Tagging is
72 | | ... | applied between DUTs inserting 4B VLAN ID into a packet header. Loss
73 | | ... | acceptance is set to 0.5 percent of transmitted packets.
74 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | PDR
75 | | ${framesize}= | Set Variable | 64
76 | | ${min_rate}= | Set Variable | 100000
77 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_68B}
78 | | ${binary_min}= | Set Variable | ${min_rate}
79 | | ${binary_max}= | Set Variable | ${max_rate}
80 | | ${threshold}= | Set Variable | ${min_rate}
81 | | Given Add '1' worker threads and rss '1' without HTT to all DUTs
82 | | And   Add all PCI devices to all DUTs
83 | | And   Add No Multi Seg to all DUTs
84 | | And   Apply startup configuration on all VPP DUTs
85 | | And   VPP interfaces in path are up
86 | | When VLAN dot1q subinterfaces initialized on 3-node topology
87 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
88 | | And L2 tag rewrite method setup on interfaces
89 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
90 | | ... | ${tag_rewrite}
91 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
92 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
93 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
94 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
95 | | ...                                       | ${binary_max} | 3-node-xconnect
96 | | ...                                       | ${min_rate} | ${max_rate}
97 | | ...                                       | ${threshold}
98 | | ...                                       | ${glob_loss_acceptance}
99 | | ...                                       | ${glob_loss_acceptance_type}
100
101 | Find NDR by using RFC2544 binary search and 1518B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology
102 | | [Documentation]
103 | | ... | Find throughput with partial drop rate by using binary search with
104 | | ... | threshold 10,000pps. Frames from and to TG are 1518B long. Tagging is
105 | | ... | applied between DUTs inserting 4B VLAN ID into a packet header.
106 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR
107 | | ${framesize}= | Set Variable | 1518
108 | | ${min_rate}= | Set Variable | 10000
109 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1522B}
110 | | ${binary_min}= | Set Variable | ${min_rate}
111 | | ${binary_max}= | Set Variable | ${max_rate}
112 | | ${threshold}= | Set Variable | ${min_rate}
113 | | Given Add '1' worker threads and rss '1' without HTT to all DUTs
114 | | And   Add all PCI devices to all DUTs
115 | | And   Add No Multi Seg to all DUTs
116 | | And   Apply startup configuration on all VPP DUTs
117 | | And   VPP interfaces in path are up
118 | | When VLAN dot1q subinterfaces initialized on 3-node topology
119 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
120 | | And L2 tag rewrite method setup on interfaces
121 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
122 | | ... | ${tag_rewrite}
123 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
124 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
125 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
126 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
127 | | ...                                       | ${binary_max} | 3-node-xconnect
128 | | ...                                       | ${min_rate} | ${max_rate}
129 | | ...                                       | ${threshold}
130
131 | Find PDR by using RFC2544 binary search and 1518B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology
132 | | [Documentation]
133 | | ... | Find throughput with non drop rate by using binary search with
134 | | ... | threshold 10,000pps. Frames from and to TG are 1518B long. Tagging is
135 | | ... | applied between DUTs inserting 4B VLAN ID into a packet header. Loss
136 | | ... | acceptance is set to 0.5 percent of transmitted packets.
137 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | PDR
138 | | ${framesize}= | Set Variable | 1518
139 | | ${min_rate}= | Set Variable | 10000
140 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1522B}
141 | | ${binary_min}= | Set Variable | ${min_rate}
142 | | ${binary_max}= | Set Variable | ${max_rate}
143 | | ${threshold}= | Set Variable | ${min_rate}
144 | | Given Add '1' worker threads and rss '1' without HTT to all DUTs
145 | | And   Add all PCI devices to all DUTs
146 | | And   Add No Multi Seg to all DUTs
147 | | And   Apply startup configuration on all VPP DUTs
148 | | And   VPP interfaces in path are up
149 | | When VLAN dot1q subinterfaces initialized on 3-node topology
150 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
151 | | And L2 tag rewrite method setup on interfaces
152 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
153 | | ... | ${tag_rewrite}
154 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
155 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
156 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
157 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
158 | | ...                                       | ${binary_max} | 3-node-xconnect
159 | | ...                                       | ${min_rate} | ${max_rate}
160 | | ...                                       | ${threshold}
161 | | ...                                       | ${glob_loss_acceptance}
162 | | ...                                       | ${glob_loss_acceptance_type}
163
164 | Find NDR by using RFC2544 binary search and 9000B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology
165 | | [Documentation]
166 | | ... | Find throughput with non drop rate by using binary search with
167 | | ... | threshold 5,000pps. Frames from and to TG are 9000B long. Tagging is
168 | | ... | applied between DUTs inserting 4B VLAN ID into a packet header.
169 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR
170 | | ${framesize}= | Set Variable | 9000
171 | | ${min_rate}= | Set Variable | 5000
172 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9004B}
173 | | ${binary_min}= | Set Variable | ${min_rate}
174 | | ${binary_max}= | Set Variable | ${max_rate}
175 | | ${threshold}= | Set Variable | ${min_rate}
176 | | Given Add '1' worker threads and rss '1' without HTT to all DUTs
177 | | And   Add all PCI devices to all DUTs
178 | | And   Apply startup configuration on all VPP DUTs
179 | | And   VPP interfaces in path are up
180 | | When VLAN dot1q subinterfaces initialized on 3-node topology
181 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
182 | | And L2 tag rewrite method setup on interfaces
183 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
184 | | ... | ${tag_rewrite}
185 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
186 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
187 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
188 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
189 | | ...                                       | ${binary_max} | 3-node-xconnect
190 | | ...                                       | ${min_rate} | ${max_rate}
191 | | ...                                       | ${threshold}
192
193 | Find PDR by using RFC2544 binary search and 9000B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology
194 | | [Documentation]
195 | | ... | Find throughput with partial drop rate by using binary search with
196 | | ... | threshold 5,000pps. Frames from and to TG are 9000B long. Tagging is
197 | | ... | applied between DUTs inserting 4B VLAN ID into a packet header. Loss
198 | | ... | acceptance is set to 0.5 percent of transmitted packets.
199 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | PDR
200 | | ${framesize}= | Set Variable | 9000
201 | | ${min_rate}= | Set Variable | 5000
202 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9004B}
203 | | ${binary_min}= | Set Variable | ${min_rate}
204 | | ${binary_max}= | Set Variable | ${max_rate}
205 | | ${threshold}= | Set Variable | ${min_rate}
206 | | Given Add '1' worker threads and rss '1' without HTT to all DUTs
207 | | And   Add all PCI devices to all DUTs
208 | | And   Apply startup configuration on all VPP DUTs
209 | | And   VPP interfaces in path are up
210 | | When VLAN dot1q subinterfaces initialized on 3-node topology
211 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
212 | | And L2 tag rewrite method setup on interfaces
213 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
214 | | ... | ${tag_rewrite}
215 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
216 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
217 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
218 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
219 | | ...                                       | ${binary_max} | 3-node-xconnect
220 | | ...                                       | ${min_rate} | ${max_rate}
221 | | ...                                       | ${threshold}
222 | | ...                                       | ${glob_loss_acceptance}
223 | | ...                                       | ${glob_loss_acceptance_type}
224
225 | Find NDR with 2 cores and rss 1 by using RFC2544 binary search and 64B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology
226 | | [Documentation]
227 | | ... | Find throughput on 2 cores with non drop rate by using binary search
228 | | ... | with threshold 0.1Mpps. Frames from and to TG are 64B long. Tagging
229 | | ... | is applied between DUTs inserting 4B VLAN ID into a packet header.
230 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR
231 | | ${framesize}= | Set Variable | 64
232 | | ${min_rate}= | Set Variable | 100000
233 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_68B}
234 | | ${binary_min}= | Set Variable | ${min_rate}
235 | | ${binary_max}= | Set Variable | ${max_rate}
236 | | ${threshold}= | Set Variable | ${min_rate}
237 | | Given Add '2' worker threads and rss '1' without HTT to all DUTs
238 | | And   Add all PCI devices to all DUTs
239 | | And   Add No Multi Seg to all DUTs
240 | | And   Apply startup configuration on all VPP DUTs
241 | | And   VPP interfaces in path are up
242 | | When VLAN dot1q subinterfaces initialized on 3-node topology
243 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
244 | | And L2 tag rewrite method setup on interfaces
245 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
246 | | ... | ${tag_rewrite}
247 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
248 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
249 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
250 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
251 | | ...                                       | ${binary_max} | 3-node-xconnect
252 | | ...                                       | ${min_rate} | ${max_rate}
253 | | ...                                       | ${threshold}
254
255 | Find PDR with 2 cores and rss 1 by using RFC2544 binary search and 64B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology
256 | | [Documentation]
257 | | ... | Find throughput on 2 cores with partial drop rate by using binary
258 | | ... | search with threshold 0.1Mpps. Frames from and to TG are 64B long.
259 | | ... | Tagging is applied between DUTs inserting 4B VLAN ID into a packet
260 | | ... | header. Loss acceptance is set to 0.5 percent of transmitted packets.
261 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | PDR
262 | | ${framesize}= | Set Variable | 64
263 | | ${min_rate}= | Set Variable | 100000
264 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_68B}
265 | | ${binary_min}= | Set Variable | ${min_rate}
266 | | ${binary_max}= | Set Variable | ${max_rate}
267 | | ${threshold}= | Set Variable | ${min_rate}
268 | | Given Add '2' worker threads and rss '1' without HTT to all DUTs
269 | | And   Add all PCI devices to all DUTs
270 | | And   Add No Multi Seg to all DUTs
271 | | And   Apply startup configuration on all VPP DUTs
272 | | And   VPP interfaces in path are up
273 | | When VLAN dot1q subinterfaces initialized on 3-node topology
274 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
275 | | And L2 tag rewrite method setup on interfaces
276 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
277 | | ... | ${tag_rewrite}
278 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
279 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
280 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
281 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
282 | | ...                                       | ${binary_max} | 3-node-xconnect
283 | | ...                                       | ${min_rate} | ${max_rate}
284 | | ...                                       | ${threshold}
285 | | ...                                       | ${glob_loss_acceptance}
286 | | ...                                       | ${glob_loss_acceptance_type}
287
288 | Find NDR with 2 cores and rss 1 by using RFC2544 binary search and 1518B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology
289 | | [Documentation]
290 | | ... | Find throughput on 2 cores with non drop rate by using binary search
291 | | ... | with threshold 10,000pps. Frames from and to TG are 1518B long.
292 | | ... | Tagging is applied between DUTs inserting 4B VLAN ID into a packet
293 | | ... | header.
294 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR
295 | | ${framesize}= | Set Variable | 1518
296 | | ${min_rate}= | Set Variable | 10000
297 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1522B}
298 | | ${binary_min}= | Set Variable | ${min_rate}
299 | | ${binary_max}= | Set Variable | ${max_rate}
300 | | ${threshold}= | Set Variable | ${min_rate}
301 | | Given Add '2' worker threads and rss '1' without HTT to all DUTs
302 | | And   Add all PCI devices to all DUTs
303 | | And   Add No Multi Seg to all DUTs
304 | | And   Apply startup configuration on all VPP DUTs
305 | | And   VPP interfaces in path are up
306 | | When VLAN dot1q subinterfaces initialized on 3-node topology
307 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
308 | | And L2 tag rewrite method setup on interfaces
309 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
310 | | ... | ${tag_rewrite}
311 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
312 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
313 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
314 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
315 | | ...                                       | ${binary_max} | 3-node-xconnect
316 | | ...                                       | ${min_rate} | ${max_rate}
317 | | ...                                       | ${threshold}
318
319 | Find PDR with 2 cores and rss 1 by using RFC2544 binary search and 1518B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology
320 | | [Documentation]
321 | | ... | Find throughput on 2 cores with partial drop rate by using binary
322 | | ... | search with threshold 10,000pps. Frames from and to TG are 1518B long.
323 | | ... | Tagging is applied between DUTs inserting 4B VLAN ID into a packet
324 | | ... | header. Loss acceptance is set to 0.5 percent of transmitted packets.
325 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | PDR
326 | | ${framesize}= | Set Variable | 1518
327 | | ${min_rate}= | Set Variable | 10000
328 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1522B}
329 | | ${binary_min}= | Set Variable | ${min_rate}
330 | | ${binary_max}= | Set Variable | ${max_rate}
331 | | ${threshold}= | Set Variable | ${min_rate}
332 | | Given Add '2' worker threads and rss '1' without HTT to all DUTs
333 | | And   Add all PCI devices to all DUTs
334 | | And   Add No Multi Seg to all DUTs
335 | | And   Apply startup configuration on all VPP DUTs
336 | | And   VPP interfaces in path are up
337 | | When VLAN dot1q subinterfaces initialized on 3-node topology
338 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
339 | | And L2 tag rewrite method setup on interfaces
340 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
341 | | ... | ${tag_rewrite}
342 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
343 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
344 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
345 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
346 | | ...                                       | ${binary_max} | 3-node-xconnect
347 | | ...                                       | ${min_rate} | ${max_rate}
348 | | ...                                       | ${threshold}
349 | | ...                                       | ${glob_loss_acceptance}
350 | | ...                                       | ${glob_loss_acceptance_type}
351
352 | Find NDR with 2 cores and rss 1 by using RFC2544 binary search and 9000B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology
353 | | [Documentation]
354 | | ... | Find throughput on 2 cores with non drop rate by using binary search
355 | | ... | with threshold 5,000pps. Frames from and to TG are 9000B long.
356 | | ... | Tagging is applied between DUTs inserting 4B VLAN ID into a packet
357 | | ... | header.
358 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR
359 | | ${framesize}= | Set Variable | 9000
360 | | ${min_rate}= | Set Variable | 5000
361 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9004B}
362 | | ${binary_min}= | Set Variable | ${min_rate}
363 | | ${binary_max}= | Set Variable | ${max_rate}
364 | | ${threshold}= | Set Variable | ${min_rate}
365 | | Given Add '2' worker threads and rss '1' without HTT to all DUTs
366 | | And   Add all PCI devices to all DUTs
367 | | And   Apply startup configuration on all VPP DUTs
368 | | And   VPP interfaces in path are up
369 | | When VLAN dot1q subinterfaces initialized on 3-node topology
370 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
371 | | And L2 tag rewrite method setup on interfaces
372 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
373 | | ... | ${tag_rewrite}
374 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
375 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
376 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
377 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
378 | | ...                                       | ${binary_max} | 3-node-xconnect
379 | | ...                                       | ${min_rate} | ${max_rate}
380 | | ...                                       | ${threshold}
381
382 | Find PDR with 2 cores and rss 1 by using RFC2544 binary search and 9000B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology
383 | | [Documentation]
384 | | ... | Find throughput on 2 cores with partial drop rate by using binary
385 | | ... | search with threshold 5,000pps. Frames from and to TG are 9000B long.
386 | | ... | Tagging is applied between DUTs inserting 4B VLAN ID into a packet
387 | | ... | header. Loss acceptance is set to 0.5 percent of transmitted packets.
388 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | PDR
389 | | ${framesize}= | Set Variable | 9000
390 | | ${min_rate}= | Set Variable | 5000
391 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9004B}
392 | | ${binary_min}= | Set Variable | ${min_rate}
393 | | ${binary_max}= | Set Variable | ${max_rate}
394 | | ${threshold}= | Set Variable | ${min_rate}
395 | | Given Add '2' worker threads and rss '1' without HTT to all DUTs
396 | | And   Add all PCI devices to all DUTs
397 | | And   Apply startup configuration on all VPP DUTs
398 | | And   VPP interfaces in path are up
399 | | When VLAN dot1q subinterfaces initialized on 3-node topology
400 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
401 | | And L2 tag rewrite method setup on interfaces
402 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
403 | | ... | ${tag_rewrite}
404 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
405 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
406 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
407 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
408 | | ...                                       | ${binary_max} | 3-node-xconnect
409 | | ...                                       | ${min_rate} | ${max_rate}
410 | | ...                                       | ${threshold}
411 | | ...                                       | ${glob_loss_acceptance}
412 | | ...                                       | ${glob_loss_acceptance_type}
413
414 | Find NDR with 4 cores and rss 2 by using RFC2544 binary search and 64B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology
415 | | [Documentation]
416 | | ... | Find throughput on 4 cores and rss 2 with non drop rate by using
417 | | ... | binary search with threshold 0.1Mpps. Frames from and to TG are 64B
418 | | ... | long. Tagging is applied between DUTs inserting 4B VLAN ID into a
419 | | ... | packet header.
420 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR
421 | | ${framesize}= | Set Variable | 64
422 | | ${min_rate}= | Set Variable | 100000
423 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_68B}
424 | | ${binary_min}= | Set Variable | ${min_rate}
425 | | ${binary_max}= | Set Variable | ${max_rate}
426 | | ${threshold}= | Set Variable | ${min_rate}
427 | | Given Add '4' worker threads and rss '2' without HTT to all DUTs
428 | | And   Add all PCI devices to all DUTs
429 | | And   Add No Multi Seg to all DUTs
430 | | And   Apply startup configuration on all VPP DUTs
431 | | And   VPP interfaces in path are up
432 | | When VLAN dot1q subinterfaces initialized on 3-node topology
433 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
434 | | And L2 tag rewrite method setup on interfaces
435 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
436 | | ... | ${tag_rewrite}
437 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
438 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
439 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
440 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
441 | | ...                                       | ${binary_max} | 3-node-xconnect
442 | | ...                                       | ${min_rate} | ${max_rate}
443 | | ...                                       | ${threshold}
444
445 | Find PDR with 4 cores and rss 2 by using RFC2544 binary search and 64B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology
446 | | [Documentation]
447 | | ... | Find throughput on 4 cores and rss 2 with partial drop rate by using
448 | | ... | binary search with threshold 0.1Mpps. Frames from and to TG are 64B
449 | | ... | long. Tagging is applied between DUTs inserting 4B VLAN ID into a
450 | | ... | packet header. Loss acceptance is set to 0.5 percent of transmitted
451 | | ... | packets.
452 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | PDR
453 | | ${framesize}= | Set Variable | 64
454 | | ${min_rate}= | Set Variable | 100000
455 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_68B}
456 | | ${binary_min}= | Set Variable | ${min_rate}
457 | | ${binary_max}= | Set Variable | ${max_rate}
458 | | ${threshold}= | Set Variable | ${min_rate}
459 | | Given Add '4' worker threads and rss '2' without HTT to all DUTs
460 | | And   Add all PCI devices to all DUTs
461 | | And   Add No Multi Seg to all DUTs
462 | | And   Apply startup configuration on all VPP DUTs
463 | | And   VPP interfaces in path are up
464 | | When VLAN dot1q subinterfaces initialized on 3-node topology
465 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
466 | | And L2 tag rewrite method setup on interfaces
467 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
468 | | ... | ${tag_rewrite}
469 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
470 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
471 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
472 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
473 | | ...                                       | ${binary_max} | 3-node-xconnect
474 | | ...                                       | ${min_rate} | ${max_rate}
475 | | ...                                       | ${threshold}
476 | | ...                                       | ${glob_loss_acceptance}
477 | | ...                                       | ${glob_loss_acceptance_type}
478
479 | Find NDR with 4 cores and rss 2 by using RFC2544 binary search and 1518B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology
480 | | [Documentation]
481 | | ... | Find throughput on 4 cores and rss 2 with non drop rate by using
482 | | ... | binary search with threshold 10,000pps. Frames from and to TG are
483 | | ... | 1518B long. Tagging is applied between DUTs inserting 4B VLAN ID into
484 | | ... | a packet header.
485 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR
486 | | ${framesize}= | Set Variable | 1518
487 | | ${min_rate}= | Set Variable | 10000
488 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1522B}
489 | | ${binary_min}= | Set Variable | ${min_rate}
490 | | ${binary_max}= | Set Variable | ${max_rate}
491 | | ${threshold}= | Set Variable | ${min_rate}
492 | | Given Add '4' worker threads and rss '2' without HTT to all DUTs
493 | | And   Add all PCI devices to all DUTs
494 | | And   Add No Multi Seg to all DUTs
495 | | And   Apply startup configuration on all VPP DUTs
496 | | And   VPP interfaces in path are up
497 | | When VLAN dot1q subinterfaces initialized on 3-node topology
498 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
499 | | And L2 tag rewrite method setup on interfaces
500 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
501 | | ... | ${tag_rewrite}
502 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
503 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
504 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
505 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
506 | | ...                                       | ${binary_max} | 3-node-xconnect
507 | | ...                                       | ${min_rate} | ${max_rate}
508 | | ...                                       | ${threshold}
509
510 | Find PDR with 4 cores and rss 2 by using RFC2544 binary search and 1518B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology
511 | | [Documentation]
512 | | ... | Find throughput on 4 cores and rss 2 with partial drop rate by using
513 | | ... | binary search with threshold 10,000pps. Frames from and to TG are
514 | | ... | 1518B long. Tagging is applied between DUTs inserting 4B VLAN ID into
515 | | ... | a packet header. Loss acceptance is set to 0.5 percent of transmitted
516 | | ... | packets.
517 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | PDR
518 | | ${framesize}= | Set Variable | 1518
519 | | ${min_rate}= | Set Variable | 10000
520 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1522B}
521 | | ${binary_min}= | Set Variable | ${min_rate}
522 | | ${binary_max}= | Set Variable | ${max_rate}
523 | | ${threshold}= | Set Variable | ${min_rate}
524 | | Given Add '4' worker threads and rss '2' without HTT to all DUTs
525 | | And   Add all PCI devices to all DUTs
526 | | And   Add No Multi Seg to all DUTs
527 | | And   Apply startup configuration on all VPP DUTs
528 | | And   VPP interfaces in path are up
529 | | When VLAN dot1q subinterfaces initialized on 3-node topology
530 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
531 | | And L2 tag rewrite method setup on interfaces
532 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
533 | | ... | ${tag_rewrite}
534 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
535 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
536 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
537 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
538 | | ...                                       | ${binary_max} | 3-node-xconnect
539 | | ...                                       | ${min_rate} | ${max_rate}
540 | | ...                                       | ${threshold}
541 | | ...                                       | ${glob_loss_acceptance}
542 | | ...                                       | ${glob_loss_acceptance_type}
543
544 | Find NDR with 4 cores and rss 2 by using RFC2544 binary search and 9000B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology
545 | | [Documentation]
546 | | ... | Find throughput on 4 cores and rss 2 with non drop rate by using
547 | | ... | binary search with threshold 5,000pps. Frames from and to TG are
548 | | ... | 9000B long. Tagging is applied between DUTs inserting 4B VLAN ID into
549 | | ... | a packet header.
550 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR
551 | | ${framesize}= | Set Variable | 9000
552 | | ${min_rate}= | Set Variable | 5000
553 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9004B}
554 | | ${binary_min}= | Set Variable | ${min_rate}
555 | | ${binary_max}= | Set Variable | ${max_rate}
556 | | ${threshold}= | Set Variable | ${min_rate}
557 | | Given Add '4' worker threads and rss '2' without HTT to all DUTs
558 | | And   Add all PCI devices to all DUTs
559 | | And   Apply startup configuration on all VPP DUTs
560 | | And   VPP interfaces in path are up
561 | | When VLAN dot1q subinterfaces initialized on 3-node topology
562 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
563 | | And L2 tag rewrite method setup on interfaces
564 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
565 | | ... | ${tag_rewrite}
566 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
567 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
568 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
569 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
570 | | ...                                       | ${binary_max} | 3-node-xconnect
571 | | ...                                       | ${min_rate} | ${max_rate}
572 | | ...                                       | ${threshold}
573
574 | Find PDR with 4 cores and rss 2 by using RFC2544 binary search and 9000B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology
575 | | [Documentation]
576 | | ... | Find throughput on 4 cores and rss 2 with partial drop rate by using
577 | | ... | binary search with threshold 5,000pps. Frames from and to TG are
578 | | ... | 9000B long. Tagging is applied between DUTs inserting 4B VLAN ID into
579 | | ... | a packet header. Loss acceptance is set to 0.5 percent of transmitted
580 | | ... | packets.
581 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | PDR
582 | | ${framesize}= | Set Variable | 9000
583 | | ${min_rate}= | Set Variable | 5000
584 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9004B}
585 | | ${binary_min}= | Set Variable | ${min_rate}
586 | | ${binary_max}= | Set Variable | ${max_rate}
587 | | ${threshold}= | Set Variable | ${min_rate}
588 | | Given Add '4' worker threads and rss '2' without HTT to all DUTs
589 | | And   Add all PCI devices to all DUTs
590 | | And   Apply startup configuration on all VPP DUTs
591 | | And   VPP interfaces in path are up
592 | | When VLAN dot1q subinterfaces initialized on 3-node topology
593 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
594 | | And L2 tag rewrite method setup on interfaces
595 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
596 | | ... | ${tag_rewrite}
597 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
598 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
599 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
600 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
601 | | ...                                       | ${binary_max} | 3-node-xconnect
602 | | ...                                       | ${min_rate} | ${max_rate}
603 | | ...                                       | ${threshold}
604 | | ...                                       | ${glob_loss_acceptance}
605 | | ...                                       | ${glob_loss_acceptance_type}