3deed2118c599708b2a3085df07bce468ea227d3
[csit.git] / tests / perf / Long_IPv6_Fib_2M_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 | ...        | FIB_2M | 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-dst-${rts_per_flow}
26 | ...           | fail_on_loss=${False}
27 | ...           | AND | Remove startup configuration of VPP from all DUTs
28 | Documentation | *RFC2544: Pkt throughput IPv6 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-IPv6 for IPv6 routing.
33 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with IPv6
34 | ... | routing and 2x1M static IPv6 /64 route entries. DUT1 and DUT2 tested
35 | ... | with 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, 1M flows per flow-group) with all packets
45 | ... | containing Ethernet header, IPv6 header withq IP and static payload.
46 | ... | MAC addresses are matching MAC addresses of the TG node interfaces.
47 | ... | Incrementing of IP.dst (IPv6 destination address) field is applied to
48 | ... | both streams.
49 | ... | *[Ref] Applicable standard specifications:* RFC2544.
50
51 *** Variables ***
52 | ${rts_per_flow}= | 1000000
53
54 *** Test Cases ***
55 | TC01: 78B NDR binary search - DUT IPv6 Fib 2x1M - 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}= | Set Variable | ${10Ge_linerate_pps_78B}
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' without HTT to all DUTs
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   Scale IPv6 forwarding initialized in a 3-node circular topology
72 | | ...   | ${rts_per_flow}
73 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
74 | | ...                                       | ${binary_max}
75 | | ...                                       | 3-node-IPv6-dst-${rts_per_flow}
76 | | ...                                       | ${min_rate} | ${max_rate}
77 | | ...                                       | ${threshold}
78
79 | TC02: 78B PDR binary search - DUT IPv6 Fib 2x1M - 1thread 1core 1rxq
80 | | [Documentation]
81 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
82 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 78 Byte frames
83 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
84 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH
85 | | ${framesize}= | Set Variable | 78
86 | | ${min_rate}= | Set Variable | 100000
87 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B}
88 | | ${binary_min}= | Set Variable | ${min_rate}
89 | | ${binary_max}= | Set Variable | ${max_rate}
90 | | ${threshold}= | Set Variable | ${min_rate}
91 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
92 | | And   Add PCI devices to DUTs from 3-node single link topology
93 | | And   Add No Multi Seg to all DUTs
94 | | And   Apply startup configuration on all VPP DUTs
95 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
96 | | ...   | ${rts_per_flow}
97 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
98 | | ...                                       | ${binary_max}
99 | | ...                                       | 3-node-IPv6-dst-${rts_per_flow}
100 | | ...                                       | ${min_rate} | ${max_rate}
101 | | ...                                       | ${threshold}
102 | | ...                                       | ${glob_loss_acceptance}
103 | | ...                                       | ${glob_loss_acceptance_type}
104
105 | TC03: 1518B NDR binary search - DUT IPv6 Fib 2x1M - 1thread 1core 1rxq
106 | | [Documentation]
107 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
108 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
109 | | ... | using binary search start at 10GE linerate, step 10kpps.
110 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
111 | | ${framesize}= | Set Variable | 1518
112 | | ${min_rate}= | Set Variable | 10000
113 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
114 | | ${binary_min}= | Set Variable | ${min_rate}
115 | | ${binary_max}= | Set Variable | ${max_rate}
116 | | ${threshold}= | Set Variable | ${min_rate}
117 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
118 | | And   Add PCI devices to DUTs from 3-node single link topology
119 | | And   Add No Multi Seg to all DUTs
120 | | And   Apply startup configuration on all VPP DUTs
121 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
122 | | ...   | ${rts_per_flow}
123 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
124 | | ...                                       | ${binary_max}
125 | | ...                                       | 3-node-IPv6-dst-${rts_per_flow}
126 | | ...                                       | ${min_rate} | ${max_rate}
127 | | ...                                       | ${threshold}
128
129 | TC04: 1518B PDR binary search - DUT IPv6 Fib 2x1M - 1thread 1core 1rxq
130 | | [Documentation]
131 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
132 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
133 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
134 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH
135 | | ${framesize}= | Set Variable | 1518
136 | | ${min_rate}= | Set Variable | 10000
137 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
138 | | ${binary_min}= | Set Variable | ${min_rate}
139 | | ${binary_max}= | Set Variable | ${max_rate}
140 | | ${threshold}= | Set Variable | ${min_rate}
141 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
142 | | And   Add PCI devices to DUTs from 3-node single link topology
143 | | And   Add No Multi Seg to all DUTs
144 | | And   Apply startup configuration on all VPP DUTs
145 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
146 | | ...   | ${rts_per_flow}
147 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
148 | | ...                                       | ${binary_max}
149 | | ...                                       | 3-node-IPv6-dst-${rts_per_flow}
150 | | ...                                       | ${min_rate} | ${max_rate}
151 | | ...                                       | ${threshold}
152 | | ...                                       | ${glob_loss_acceptance}
153 | | ...                                       | ${glob_loss_acceptance_type}
154
155 | TC05: 9000B NDR binary search - DUT IPv6 Fib 2x1M - 1thread 1core 1rxq
156 | | [Documentation]
157 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
158 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
159 | | ... | using binary search start at 10GE linerate, step 5kpps.
160 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
161 | | ${framesize}= | Set Variable | 9000
162 | | ${min_rate}= | Set Variable | 5000
163 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
164 | | ${binary_min}= | Set Variable | ${min_rate}
165 | | ${binary_max}= | Set Variable | ${max_rate}
166 | | ${threshold}= | Set Variable | ${min_rate}
167 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
168 | | And   Add PCI devices to DUTs from 3-node single link topology
169 | | And   Apply startup configuration on all VPP DUTs
170 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
171 | | ...   | ${rts_per_flow}
172 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
173 | | ...                                       | ${binary_max}
174 | | ...                                       | 3-node-IPv6-dst-${rts_per_flow}
175 | | ...                                       | ${min_rate} | ${max_rate}
176 | | ...                                       | ${threshold}
177
178 | TC06: 9000B PDR binary search - DUT IPv6 Fib 2x1M - 1thread 1core 1rxq
179 | | [Documentation]
180 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
181 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
182 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
183 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH
184 | | ${framesize}= | Set Variable | 9000
185 | | ${min_rate}= | Set Variable | 5000
186 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
187 | | ${binary_min}= | Set Variable | ${min_rate}
188 | | ${binary_max}= | Set Variable | ${max_rate}
189 | | ${threshold}= | Set Variable | ${min_rate}
190 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
191 | | And   Add PCI devices to DUTs from 3-node single link topology
192 | | And   Apply startup configuration on all VPP DUTs
193 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
194 | | ...   | ${rts_per_flow}
195 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
196 | | ...                                       | ${binary_max}
197 | | ...                                       | 3-node-IPv6-dst-${rts_per_flow}
198 | | ...                                       | ${min_rate} | ${max_rate}
199 | | ...                                       | ${threshold}
200 | | ...                                       | ${glob_loss_acceptance}
201 | | ...                                       | ${glob_loss_acceptance_type}
202
203 | TC07: 78B NDR binary search - DUT IPv6 Fib 2x1M - 2threads 2cores 1rxq
204 | | [Documentation]
205 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
206 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 78 Byte frames
207 | | ... | using binary search start at 10GE linerate, step 100kpps.
208 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
209 | | ${framesize}= | Set Variable | 78
210 | | ${min_rate}= | Set Variable | 100000
211 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B}
212 | | ${binary_min}= | Set Variable | ${min_rate}
213 | | ${binary_max}= | Set Variable | ${max_rate}
214 | | ${threshold}= | Set Variable | ${min_rate}
215 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
216 | | And   Add PCI devices to DUTs from 3-node single link topology
217 | | And   Add No Multi Seg to all DUTs
218 | | And   Apply startup configuration on all VPP DUTs
219 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
220 | | ...   | ${rts_per_flow}
221 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
222 | | ...                                       | ${binary_max}
223 | | ...                                       | 3-node-IPv6-dst-${rts_per_flow}
224 | | ...                                       | ${min_rate} | ${max_rate}
225 | | ...                                       | ${threshold}
226
227 | TC08: 78B PDR binary search - DUT IPv6 Fib 2x1M - 2threads 2cores 1rxq
228 | | [Documentation]
229 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
230 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 78 Byte frames
231 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
232 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH
233 | | ${framesize}= | Set Variable | 78
234 | | ${min_rate}= | Set Variable | 100000
235 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B}
236 | | ${binary_min}= | Set Variable | ${min_rate}
237 | | ${binary_max}= | Set Variable | ${max_rate}
238 | | ${threshold}= | Set Variable | ${min_rate}
239 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
240 | | And   Add PCI devices to DUTs from 3-node single link topology
241 | | And   Add No Multi Seg to all DUTs
242 | | And   Apply startup configuration on all VPP DUTs
243 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
244 | | ...   | ${rts_per_flow}
245 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
246 | | ...                                       | ${binary_max}
247 | | ...                                       | 3-node-IPv6-dst-${rts_per_flow}
248 | | ...                                       | ${min_rate} | ${max_rate}
249 | | ...                                       | ${threshold}
250 | | ...                                       | ${glob_loss_acceptance}
251 | | ...                                       | ${glob_loss_acceptance_type}
252
253 | TC09: 1518B NDR binary search - DUT IPv6 Fib 2x1M - 2threads 2cores 1rxq
254 | | [Documentation]
255 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
256 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
257 | | ... | using binary search start at 10GE linerate, step 10kpps.
258 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH
259 | | ${framesize}= | Set Variable | 1518
260 | | ${min_rate}= | Set Variable | 10000
261 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
262 | | ${binary_min}= | Set Variable | ${min_rate}
263 | | ${binary_max}= | Set Variable | ${max_rate}
264 | | ${threshold}= | Set Variable | ${min_rate}
265 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
266 | | And   Add PCI devices to DUTs from 3-node single link topology
267 | | And   Add No Multi Seg to all DUTs
268 | | And   Apply startup configuration on all VPP DUTs
269 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
270 | | ...   | ${rts_per_flow}
271 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
272 | | ...                                       | ${binary_max}
273 | | ...                                       | 3-node-IPv6-dst-${rts_per_flow}
274 | | ...                                       | ${min_rate} | ${max_rate}
275 | | ...                                       | ${threshold}
276
277 | TC10: 1518B PDR binary search - DUT IPv6 Fib 2x1M - 2threads 2cores 1rxq
278 | | [Documentation]
279 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
280 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
281 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
282 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH
283 | | ${framesize}= | Set Variable | 1518
284 | | ${min_rate}= | Set Variable | 10000
285 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
286 | | ${binary_min}= | Set Variable | ${min_rate}
287 | | ${binary_max}= | Set Variable | ${max_rate}
288 | | ${threshold}= | Set Variable | ${min_rate}
289 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
290 | | And   Add PCI devices to DUTs from 3-node single link topology
291 | | And   Add No Multi Seg to all DUTs
292 | | And   Apply startup configuration on all VPP DUTs
293 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
294 | | ...   | ${rts_per_flow}
295 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
296 | | ...                                       | ${binary_max}
297 | | ...                                       | 3-node-IPv6-dst-${rts_per_flow}
298 | | ...                                       | ${min_rate} | ${max_rate}
299 | | ...                                       | ${threshold}
300 | | ...                                       | ${glob_loss_acceptance}
301 | | ...                                       | ${glob_loss_acceptance_type}
302
303 | TC11: 9000B NDR binary search - DUT IPv6 Fib 2x1M - 2threads 2cores 1rxq
304 | | [Documentation]
305 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
306 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
307 | | ... | using binary search start at 10GE linerate, step 5kpps.
308 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH
309 | | ${framesize}= | Set Variable | 9000
310 | | ${min_rate}= | Set Variable | 5000
311 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
312 | | ${binary_min}= | Set Variable | ${min_rate}
313 | | ${binary_max}= | Set Variable | ${max_rate}
314 | | ${threshold}= | Set Variable | ${min_rate}
315 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
316 | | And   Add PCI devices to DUTs from 3-node single link topology
317 | | And   Apply startup configuration on all VPP DUTs
318 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
319 | | ...   | ${rts_per_flow}
320 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
321 | | ...                                       | ${binary_max}
322 | | ...                                       | 3-node-IPv6-dst-${rts_per_flow}
323 | | ...                                       | ${min_rate} | ${max_rate}
324 | | ...                                       | ${threshold}
325
326 | TC12: 9000B PDR binary search - DUT IPv6 Fib 2x1M - 2threads 2cores 1rxq
327 | | [Documentation]
328 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
329 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
330 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
331 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH
332 | | ${framesize}= | Set Variable | 9000
333 | | ${min_rate}= | Set Variable | 5000
334 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
335 | | ${binary_min}= | Set Variable | ${min_rate}
336 | | ${binary_max}= | Set Variable | ${max_rate}
337 | | ${threshold}= | Set Variable | ${min_rate}
338 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
339 | | And   Add PCI devices to DUTs from 3-node single link topology
340 | | And   Apply startup configuration on all VPP DUTs
341 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
342 | | ...   | ${rts_per_flow}
343 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
344 | | ...                                       | ${binary_max}
345 | | ...                                       | 3-node-IPv6-dst-${rts_per_flow}
346 | | ...                                       | ${min_rate} | ${max_rate}
347 | | ...                                       | ${threshold}
348 | | ...                                       | ${glob_loss_acceptance}
349 | | ...                                       | ${glob_loss_acceptance_type}
350
351 | TC13: 78B NDR binary search - DUT IPv6 Fib 2x1M - 4threads 4cores 2rxq
352 | | [Documentation]
353 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
354 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 78 Byte frames
355 | | ... | using binary search start at 10GE linerate, step 100kpps.
356 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
357 | | ${framesize}= | Set Variable | 78
358 | | ${min_rate}= | Set Variable | 100000
359 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B}
360 | | ${binary_min}= | Set Variable | ${min_rate}
361 | | ${binary_max}= | Set Variable | ${max_rate}
362 | | ${threshold}= | Set Variable | ${min_rate}
363 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
364 | | And   Add PCI devices to DUTs from 3-node single link topology
365 | | And   Add No Multi Seg to all DUTs
366 | | And   Apply startup configuration on all VPP DUTs
367 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
368 | | ...   | ${rts_per_flow}
369 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
370 | | ...                                       | ${binary_max}
371 | | ...                                       | 3-node-IPv6-dst-${rts_per_flow}
372 | | ...                                       | ${min_rate} | ${max_rate}
373 | | ...                                       | ${threshold}
374
375 | TC14: 78B PDR binary search - DUT IPv6 Fib 2x1M - 4threads 4cores 2rxq
376 | | [Documentation]
377 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
378 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 78 Byte frames
379 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
380 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH
381 | | ${framesize}= | Set Variable | 78
382 | | ${min_rate}= | Set Variable | 100000
383 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B}
384 | | ${binary_min}= | Set Variable | ${min_rate}
385 | | ${binary_max}= | Set Variable | ${max_rate}
386 | | ${threshold}= | Set Variable | ${min_rate}
387 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
388 | | And   Add PCI devices to DUTs from 3-node single link topology
389 | | And   Add No Multi Seg to all DUTs
390 | | And   Apply startup configuration on all VPP DUTs
391 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
392 | | ...   | ${rts_per_flow}
393 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
394 | | ...                                       | ${binary_max}
395 | | ...                                       | 3-node-IPv6-dst-${rts_per_flow}
396 | | ...                                       | ${min_rate} | ${max_rate}
397 | | ...                                       | ${threshold}
398 | | ...                                       | ${glob_loss_acceptance}
399 | | ...                                       | ${glob_loss_acceptance_type}
400
401 | TC15: 1518B NDR binary search - DUT IPv6 Fib 2x1M - 4threads 4cores 2rxq
402 | | [Documentation]
403 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
404 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte frames
405 | | ... | using binary search start at 10GE linerate, step 10kpps.
406 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH
407 | | ${framesize}= | Set Variable | 1518
408 | | ${min_rate}= | Set Variable | 100000
409 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
410 | | ${binary_min}= | Set Variable | ${min_rate}
411 | | ${binary_max}= | Set Variable | ${max_rate}
412 | | ${threshold}= | Set Variable | ${min_rate}
413 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
414 | | And   Add PCI devices to DUTs from 3-node single link topology
415 | | And   Add No Multi Seg to all DUTs
416 | | And   Apply startup configuration on all VPP DUTs
417 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
418 | | ...   | ${rts_per_flow}
419 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
420 | | ...                                       | ${binary_max}
421 | | ...                                       | 3-node-IPv6-dst-${rts_per_flow}
422 | | ...                                       | ${min_rate} | ${max_rate}
423 | | ...                                       | ${threshold}
424
425 | TC16: 1518B PDR binary search - DUT IPv6 Fib 2x1M - 4threads 4cores 2rxq
426 | | [Documentation]
427 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
428 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 1518 Byte frames
429 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
430 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH
431 | | ${framesize}= | Set Variable | 1518
432 | | ${min_rate}= | Set Variable | 10000
433 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
434 | | ${binary_min}= | Set Variable | ${min_rate}
435 | | ${binary_max}= | Set Variable | ${max_rate}
436 | | ${threshold}= | Set Variable | ${min_rate}
437 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
438 | | And   Add PCI devices to DUTs from 3-node single link topology
439 | | And   Add No Multi Seg to all DUTs
440 | | And   Apply startup configuration on all VPP DUTs
441 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
442 | | ...   | ${rts_per_flow}
443 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
444 | | ...                                       | ${binary_max}
445 | | ...                                       | 3-node-IPv6-dst-${rts_per_flow}
446 | | ...                                       | ${min_rate} | ${max_rate}
447 | | ...                                       | ${threshold}
448 | | ...                                       | ${glob_loss_acceptance}
449 | | ...                                       | ${glob_loss_acceptance_type}
450
451 | TC17: 9000B NDR binary search - DUT IPv6 Fib 2x1M - 4threads 4cores 2rxq
452 | | [Documentation]
453 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
454 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 9000 Byte frames
455 | | ... | using binary search start at 10GE linerate, step 5kpps.
456 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH
457 | | ${framesize}= | Set Variable | 9000
458 | | ${min_rate}= | Set Variable | 5000
459 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
460 | | ${binary_min}= | Set Variable | ${min_rate}
461 | | ${binary_max}= | Set Variable | ${max_rate}
462 | | ${threshold}= | Set Variable | ${min_rate}
463 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
464 | | And   Add PCI devices to DUTs from 3-node single link topology
465 | | And   Apply startup configuration on all VPP DUTs
466 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
467 | | ...   | ${rts_per_flow}
468 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
469 | | ...                                       | ${binary_max}
470 | | ...                                       | 3-node-IPv6-dst-${rts_per_flow}
471 | | ...                                       | ${min_rate} | ${max_rate}
472 | | ...                                       | ${threshold}
473
474 | TC18: 9000B PDR binary search - DUT IPv6 Fib 2x1M - 4threads 4cores 2rxq
475 | | [Documentation]
476 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
477 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 9000 Byte frames
478 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
479 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH
480 | | ${framesize}= | Set Variable | 9000
481 | | ${min_rate}= | Set Variable | 5000
482 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
483 | | ${binary_min}= | Set Variable | ${min_rate}
484 | | ${binary_max}= | Set Variable | ${max_rate}
485 | | ${threshold}= | Set Variable | ${min_rate}
486 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
487 | | And   Add PCI devices to DUTs from 3-node single link topology
488 | | And   Apply startup configuration on all VPP DUTs
489 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
490 | | ...   | ${rts_per_flow}
491 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
492 | | ...                                       | ${binary_max}
493 | | ...                                       | 3-node-IPv6-dst-${rts_per_flow}
494 | | ...                                       | ${min_rate} | ${max_rate}
495 | | ...                                       | ${threshold}
496 | | ...                                       | ${glob_loss_acceptance}
497 | | ...                                       | ${glob_loss_acceptance_type}