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