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