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