Suite: performance.
[csit.git] / tests / suites / performance / Long_IPv4_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 | Library | resources.libraries.python.topology.Topology
17 | Library | resources.libraries.python.NodePath
18 | Library | resources.libraries.python.InterfaceUtil
19 | Library | resources.libraries.python.IPv4Setup.Dut | ${nodes['DUT1']} | WITH NAME | dut1_v4
20 | Library | resources.libraries.python.IPv4Setup.Dut | ${nodes['DUT2']} | WITH NAME | dut2_v4
21 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_LONG
22 | ...        | NIC_Intel-X520-DA2
23 | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
24 | ... | L3 | Intel-X520-DA2
25 | Suite Teardown | 3-node Performance Suite Teardown
26 | Test Setup | Setup all DUTs before test
27 | Test Teardown | Run Keyword | Remove startup configuration of VPP from all DUTs
28 | Documentation | *RFC2544: Pkt throughput IPv4 routing test cases*
29 | ...
30 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology
31 | ... | with single links between nodes.
32 | ... | *[Enc] Packet Encapsulations:* Eth-IPv4 for IPv4 routing.
33 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with IPv4
34 | ... | routing and two static IPv4 /24 route entries. DUT1 and DUT2 tested with
35 | ... | 2p10GE NIC X520 Niantic by Intel.
36 | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop
37 | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop
38 | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage
39 | ... | of packets transmitted. NDR and PDR are discovered for different
40 | ... | Ethernet L2 frame sizes using either binary search or linear search
41 | ... | algorithms with configured starting rate and final step that determines
42 | ... | throughput measurement resolution. Test packets are generated by TG on
43 | ... | links to DUTs. TG traffic profile contains two L3 flow-groups
44 | ... | (flow-group per direction, 253 flows per flow-group) with all packets
45 | ... | containing Ethernet header, IPv4 header with IP protocol=61 and static
46 | ... | payload. MAC addresses are matching MAC addresses of the TG node
47 | ... | interfaces.
48 | ... | *[Ref] Applicable standard specifications:* RFC2544.
49
50 *** Test Cases ***
51 | TC01: 64B NDR binary search - DUT IPv4 - 1thread 1core 1rxq
52 | | [Documentation]
53 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \
54 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames
55 | | ... | using binary search start at 10GE linerate, step 100kpps.
56 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
57 | | ${framesize}= | Set Variable | 64
58 | | ${min_rate}= | Set Variable | 100000
59 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
60 | | ${binary_min}= | Set Variable | ${min_rate}
61 | | ${binary_max}= | Set Variable | ${max_rate}
62 | | ${threshold}= | Set Variable | ${min_rate}
63 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
64 | | And   Add all PCI devices to all DUTs
65 | | And   Add No Multi Seg to all DUTs
66 | | And   Apply startup configuration on all VPP DUTs
67 | | And   IPv4 forwarding initialized in a 3-node circular topology
68 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
69 | | ...                                       | ${binary_max} | 3-node-IPv4
70 | | ...                                       | ${min_rate} | ${max_rate}
71 | | ...                                       | ${threshold}
72
73 | TC02: 64B PDR binary search - DUT IPv4 - 1thread 1core 1rxq
74 | | [Documentation]
75 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \
76 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames
77 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
78 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR
79 | | ${framesize}= | Set Variable | 64
80 | | ${min_rate}= | Set Variable | 100000
81 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
82 | | ${binary_min}= | Set Variable | ${min_rate}
83 | | ${binary_max}= | Set Variable | ${max_rate}
84 | | ${threshold}= | Set Variable | ${min_rate}
85 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
86 | | And   Add all PCI devices to all DUTs
87 | | And   Add No Multi Seg to all DUTs
88 | | And   Apply startup configuration on all VPP DUTs
89 | | And   IPv4 forwarding initialized in a 3-node circular topology
90 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
91 | | ...                                       | ${binary_max} | 3-node-IPv4
92 | | ...                                       | ${min_rate} | ${max_rate}
93 | | ...                                       | ${threshold}
94 | | ...                                       | ${glob_loss_acceptance}
95 | | ...                                       | ${glob_loss_acceptance_type}
96
97 | TC03: 1518B NDR binary search - DUT IPv4 - 1thread 1core 1rxq
98 | | [Documentation]
99 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \
100 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
101 | | ... | using binary search start at 10GE linerate, step 10kpps.
102 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
103 | | ${framesize}= | Set Variable | 1518
104 | | ${min_rate}= | Set Variable | 10000
105 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
106 | | ${binary_min}= | Set Variable | ${min_rate}
107 | | ${binary_max}= | Set Variable | ${max_rate}
108 | | ${threshold}= | Set Variable | ${min_rate}
109 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
110 | | And   Add all PCI devices to all DUTs
111 | | And   Add No Multi Seg to all DUTs
112 | | And   Apply startup configuration on all VPP DUTs
113 | | And   IPv4 forwarding initialized in a 3-node circular topology
114 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
115 | | ...                                       | ${binary_max} | 3-node-IPv4
116 | | ...                                       | ${min_rate} | ${max_rate}
117 | | ...                                       | ${threshold}
118
119 | TC04: 1518B PDR binary search - DUT IPv4 - 1thread 1core 1rxq
120 | | [Documentation]
121 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \
122 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
123 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
124 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR
125 | | ${framesize}= | Set Variable | 1518
126 | | ${min_rate}= | Set Variable | 10000
127 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
128 | | ${binary_min}= | Set Variable | ${min_rate}
129 | | ${binary_max}= | Set Variable | ${max_rate}
130 | | ${threshold}= | Set Variable | ${min_rate}
131 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
132 | | And   Add all PCI devices to all DUTs
133 | | And   Add No Multi Seg to all DUTs
134 | | And   Apply startup configuration on all VPP DUTs
135 | | And   IPv4 forwarding initialized in a 3-node circular topology
136 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
137 | | ...                                       | ${binary_max} | 3-node-IPv4
138 | | ...                                       | ${min_rate} | ${max_rate}
139 | | ...                                       | ${threshold}
140 | | ...                                       | ${glob_loss_acceptance}
141 | | ...                                       | ${glob_loss_acceptance_type}
142
143 | TC05: 9000B NDR binary search - DUT IPv4 - 1thread 1core 1rxq
144 | | [Documentation]
145 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \
146 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
147 | | ... | using binary search start at 10GE linerate, step 5kpps.
148 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
149 | | ${framesize}= | Set Variable | 9000
150 | | ${min_rate}= | Set Variable | 5000
151 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
152 | | ${binary_min}= | Set Variable | ${min_rate}
153 | | ${binary_max}= | Set Variable | ${max_rate}
154 | | ${threshold}= | Set Variable | ${min_rate}
155 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
156 | | And   Add all PCI devices to all DUTs
157 | | And   Apply startup configuration on all VPP DUTs
158 | | And   IPv4 forwarding initialized in a 3-node circular topology
159 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
160 | | ...                                       | ${binary_max} | 3-node-IPv4
161 | | ...                                       | ${min_rate} | ${max_rate}
162 | | ...                                       | ${threshold}
163
164 | TC06: 9000B PDR binary search - DUT IPv4 - 1thread 1core 1rxq
165 | | [Documentation]
166 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \
167 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
168 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
169 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR
170 | | ${framesize}= | Set Variable | 9000
171 | | ${min_rate}= | Set Variable | 5000
172 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
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 rxqueues '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   IPv4 forwarding initialized in a 3-node circular topology
180 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
181 | | ...                                       | ${binary_max} | 3-node-IPv4
182 | | ...                                       | ${min_rate} | ${max_rate}
183 | | ...                                       | ${threshold}
184 | | ...                                       | ${glob_loss_acceptance}
185 | | ...                                       | ${glob_loss_acceptance_type}
186
187 | TC07: 64B NDR binary search - DUT IPv4 - 2threads 2cores 1rxq
188 | | [Documentation]
189 | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \
190 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames
191 | | ... | using binary search start at 10GE linerate, step 100kpps.
192 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
193 | | ${framesize}= | Set Variable | 64
194 | | ${min_rate}= | Set Variable | 100000
195 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
196 | | ${binary_min}= | Set Variable | ${min_rate}
197 | | ${binary_max}= | Set Variable | ${max_rate}
198 | | ${threshold}= | Set Variable | ${min_rate}
199 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
200 | | And   Add all PCI devices to all DUTs
201 | | And   Add No Multi Seg to all DUTs
202 | | And   Apply startup configuration on all VPP DUTs
203 | | And   IPv4 forwarding initialized in a 3-node circular topology
204 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
205 | | ...                                       | ${binary_max} | 3-node-IPv4
206 | | ...                                       | ${min_rate} | ${max_rate}
207 | | ...                                       | ${threshold}
208
209 | TC08: 64B PDR binary search - DUT IPv4 - 2threads 2cores 1rxq
210 | | [Documentation]
211 | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \
212 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames
213 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
214 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR
215 | | ${framesize}= | Set Variable | 64
216 | | ${min_rate}= | Set Variable | 100000
217 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
218 | | ${binary_min}= | Set Variable | ${min_rate}
219 | | ${binary_max}= | Set Variable | ${max_rate}
220 | | ${threshold}= | Set Variable | ${min_rate}
221 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
222 | | And   Add all PCI devices to all DUTs
223 | | And   Add No Multi Seg to all DUTs
224 | | And   Apply startup configuration on all VPP DUTs
225 | | And   IPv4 forwarding initialized in a 3-node circular topology
226 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
227 | | ...                                       | ${binary_max} | 3-node-IPv4
228 | | ...                                       | ${min_rate} | ${max_rate}
229 | | ...                                       | ${threshold}
230 | | ...                                       | ${glob_loss_acceptance}
231 | | ...                                       | ${glob_loss_acceptance_type}
232
233 | TC09: 1518B NDR binary search - DUT IPv4 - 2threads 2cores 1rxq
234 | | [Documentation]
235 | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \
236 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
237 | | ... | using binary search start at 10GE linerate, step 10kpps.
238 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
239 | | ${framesize}= | Set Variable | 1518
240 | | ${min_rate}= | Set Variable | 10000
241 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
242 | | ${binary_min}= | Set Variable | ${min_rate}
243 | | ${binary_max}= | Set Variable | ${max_rate}
244 | | ${threshold}= | Set Variable | ${min_rate}
245 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
246 | | And   Add all PCI devices to all DUTs
247 | | And   Add No Multi Seg to all DUTs
248 | | And   Apply startup configuration on all VPP DUTs
249 | | And   IPv4 forwarding initialized in a 3-node circular topology
250 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
251 | | ...                                       | ${binary_max} | 3-node-IPv4
252 | | ...                                       | ${min_rate} | ${max_rate}
253 | | ...                                       | ${threshold}
254
255 | TC10: 1518B PDR binary search - DUT IPv4 - 2threads 2cores 1rxq
256 | | [Documentation]
257 | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \
258 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
259 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
260 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR
261 | | ${framesize}= | Set Variable | 1518
262 | | ${min_rate}= | Set Variable | 10000
263 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
264 | | ${binary_min}= | Set Variable | ${min_rate}
265 | | ${binary_max}= | Set Variable | ${max_rate}
266 | | ${threshold}= | Set Variable | ${min_rate}
267 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
268 | | And   Add all PCI devices to all DUTs
269 | | And   Add No Multi Seg to all DUTs
270 | | And   Apply startup configuration on all VPP DUTs
271 | | And   IPv4 forwarding initialized in a 3-node circular topology
272 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
273 | | ...                                       | ${binary_max} | 3-node-IPv4
274 | | ...                                       | ${min_rate} | ${max_rate}
275 | | ...                                       | ${threshold}
276 | | ...                                       | ${glob_loss_acceptance}
277 | | ...                                       | ${glob_loss_acceptance_type}
278
279 | TC11: 9000B NDR binary search - DUT IPv4 - 2threads 2cores 1rxq
280 | | [Documentation]
281 | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \
282 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
283 | | ... | using binary search start at 10GE linerate, step 5kpps.
284 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
285 | | ${framesize}= | Set Variable | 9000
286 | | ${min_rate}= | Set Variable | 5000
287 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
288 | | ${binary_min}= | Set Variable | ${min_rate}
289 | | ${binary_max}= | Set Variable | ${max_rate}
290 | | ${threshold}= | Set Variable | ${min_rate}
291 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
292 | | And   Add all PCI devices to all DUTs
293 | | And   Apply startup configuration on all VPP DUTs
294 | | And   IPv4 forwarding initialized in a 3-node circular topology
295 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
296 | | ...                                       | ${binary_max} | 3-node-IPv4
297 | | ...                                       | ${min_rate} | ${max_rate}
298 | | ...                                       | ${threshold}
299
300 | TC12: 9000B PDR binary search - DUT IPv4 - 2threads 2cores 1rxq
301 | | [Documentation]
302 | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \
303 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
304 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
305 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR
306 | | ${framesize}= | Set Variable | 9000
307 | | ${min_rate}= | Set Variable | 5000
308 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
309 | | ${binary_min}= | Set Variable | ${min_rate}
310 | | ${binary_max}= | Set Variable | ${max_rate}
311 | | ${threshold}= | Set Variable | ${min_rate}
312 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
313 | | And   Add all PCI devices to all DUTs
314 | | And   Apply startup configuration on all VPP DUTs
315 | | And   IPv4 forwarding initialized in a 3-node circular topology
316 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
317 | | ...                                       | ${binary_max} | 3-node-IPv4
318 | | ...                                       | ${min_rate} | ${max_rate}
319 | | ...                                       | ${threshold}
320 | | ...                                       | ${glob_loss_acceptance}
321 | | ...                                       | ${glob_loss_acceptance_type}
322
323 | TC13: 64B NDR binary search - DUT IPv4 - 4threads 4cores 2rxq
324 | | [Documentation]
325 | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \
326 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 64 Byte frames
327 | | ... | using binary search start at 10GE linerate, step 100kpps.
328 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
329 | | ${framesize}= | Set Variable | 64
330 | | ${min_rate}= | Set Variable | 100000
331 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
332 | | ${binary_min}= | Set Variable | ${min_rate}
333 | | ${binary_max}= | Set Variable | ${max_rate}
334 | | ${threshold}= | Set Variable | ${min_rate}
335 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
336 | | And   Add all PCI devices to all DUTs
337 | | And   Add No Multi Seg to all DUTs
338 | | And   Apply startup configuration on all VPP DUTs
339 | | And   IPv4 forwarding initialized in a 3-node circular topology
340 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
341 | | ...                                       | ${binary_max} | 3-node-IPv4
342 | | ...                                       | ${min_rate} | ${max_rate}
343 | | ...                                       | ${threshold}
344
345 | TC14: 64B PDR binary search - DUT IPv4 - 4threads 4cores 2rxq
346 | | [Documentation]
347 | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \
348 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 64 Byte frames
349 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
350 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR
351 | | ${framesize}= | Set Variable | 64
352 | | ${min_rate}= | Set Variable | 100000
353 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
354 | | ${binary_min}= | Set Variable | ${min_rate}
355 | | ${binary_max}= | Set Variable | ${max_rate}
356 | | ${threshold}= | Set Variable | ${min_rate}
357 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
358 | | And   Add all PCI devices to all DUTs
359 | | And   Add No Multi Seg to all DUTs
360 | | And   Apply startup configuration on all VPP DUTs
361 | | And   IPv4 forwarding initialized in a 3-node circular topology
362 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
363 | | ...                                       | ${binary_max} | 3-node-IPv4
364 | | ...                                       | ${min_rate} | ${max_rate}
365 | | ...                                       | ${threshold}
366 | | ...                                       | ${glob_loss_acceptance}
367 | | ...                                       | ${glob_loss_acceptance_type}
368
369 | TC15: 1518B NDR binary search - DUT IPv4 - 4threads 4cores 2rxq
370 | | [Documentation]
371 | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \
372 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte frames
373 | | ... | using binary search start at 10GE linerate, step 10kpps.
374 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
375 | | ${framesize}= | Set Variable | 1518
376 | | ${min_rate}= | Set Variable | 10000
377 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
378 | | ${binary_min}= | Set Variable | ${min_rate}
379 | | ${binary_max}= | Set Variable | ${max_rate}
380 | | ${threshold}= | Set Variable | ${min_rate}
381 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
382 | | And   Add all PCI devices to all DUTs
383 | | And   Add No Multi Seg to all DUTs
384 | | And   Apply startup configuration on all VPP DUTs
385 | | And   IPv4 forwarding initialized in a 3-node circular topology
386 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
387 | | ...                                       | ${binary_max} | 3-node-IPv4
388 | | ...                                       | ${min_rate} | ${max_rate}
389 | | ...                                       | ${threshold}
390
391 | TC16: 1518B PDR binary search - DUT IPv4 - 4threads 4cores 2rxq
392 | | [Documentation]
393 | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \
394 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 1518 Byte frames
395 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
396 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR
397 | | ${framesize}= | Set Variable | 1518
398 | | ${min_rate}= | Set Variable | 10000
399 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
400 | | ${binary_min}= | Set Variable | ${min_rate}
401 | | ${binary_max}= | Set Variable | ${max_rate}
402 | | ${threshold}= | Set Variable | ${min_rate}
403 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
404 | | And   Add all PCI devices to all DUTs
405 | | And   Add No Multi Seg to all DUTs
406 | | And   Apply startup configuration on all VPP DUTs
407 | | And   IPv4 forwarding initialized in a 3-node circular topology
408 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
409 | | ...                                       | ${binary_max} | 3-node-IPv4
410 | | ...                                       | ${min_rate} | ${max_rate}
411 | | ...                                       | ${threshold}
412 | | ...                                       | ${glob_loss_acceptance}
413 | | ...                                       | ${glob_loss_acceptance_type}
414
415 | TC17: 9000B NDR binary search - DUT IPv4 - 4threads 4cores 2rxq
416 | | [Documentation]
417 | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \
418 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 9000 Byte frames
419 | | ... | using binary search start at 10GE linerate, step 5kpps.
420 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
421 | | ${framesize}= | Set Variable | 9000
422 | | ${min_rate}= | Set Variable | 5000
423 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
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 rxqueues '2' without HTT to all DUTs
428 | | And   Add all PCI devices to all DUTs
429 | | And   Apply startup configuration on all VPP DUTs
430 | | And   IPv4 forwarding initialized in a 3-node circular topology
431 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
432 | | ...                                       | ${binary_max} | 3-node-IPv4
433 | | ...                                       | ${min_rate} | ${max_rate}
434 | | ...                                       | ${threshold}
435
436 | TC18: 9000B PDR binary search - DUT IPv4 - 4threads 4cores 2rxq
437 | | [Documentation]
438 | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \
439 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 9000 Byte frames
440 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
441 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR
442 | | ${framesize}= | Set Variable | 9000
443 | | ${min_rate}= | Set Variable | 5000
444 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
445 | | ${binary_min}= | Set Variable | ${min_rate}
446 | | ${binary_max}= | Set Variable | ${max_rate}
447 | | ${threshold}= | Set Variable | ${min_rate}
448 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
449 | | And   Add all PCI devices to all DUTs
450 | | And   Apply startup configuration on all VPP DUTs
451 | | And   IPv4 forwarding initialized in a 3-node circular topology
452 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
453 | | ...                                       | ${binary_max} | 3-node-IPv4
454 | | ...                                       | ${min_rate} | ${max_rate}
455 | | ...                                       | ${threshold}
456 | | ...                                       | ${glob_loss_acceptance}
457 | | ...                                       | ${glob_loss_acceptance_type}