CSIT-562 HC Test: Persistence suite rework, part1
[csit.git] / tests / perf / 10ge2p1x520-ethip4-ip4scale2m-ndrpdrdisc.robot
1 # Copyright (c) 2017 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 | ...
17 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC
18 | ... | NIC_Intel-X520-DA2 | ETH | IP4FWD | SCALE | FIB_2M
19 | ...
20 | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
21 | ... | L3 | Intel-X520-DA2
22 | Suite Teardown | 3-node Performance Suite Teardown
23 | ...
24 | Test Setup | Performance test setup
25 | Test Teardown | Performance test teardown | ${min_rate}pps | ${framesize}
26 | ... | 3-node-IPv4-dst-${rts_per_flow}
27 | ...
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 2x1M 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, 1M 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}= | ${1000000}
55
56 *** Test Cases ***
57 | tc01-64B-1t1c-ethip4-ip4scale2m-ndrdisc
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] | 64B | 1T1C | STHREAD | NDRDISC
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   Add Heapsize Config to all DUTs | 3G
73 | | And   Apply startup configuration on all VPP DUTs
74 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
75 | | ...   | ${rts_per_flow}
76 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
77 | | ...                                       | ${binary_max}
78 | | ...                                       | 3-node-IPv4-dst-${rts_per_flow}
79 | | ...                                       | ${min_rate} | ${max_rate}
80 | | ...                                       | ${threshold}
81
82 | tc02-64B-1t1c-ethip4-ip4scale2m-pdrdisc
83 | | [Documentation]
84 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \
85 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames
86 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
87 | | [Tags] | 64B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
88 | | ${framesize}= | Set Variable | ${64}
89 | | ${min_rate}= | Set Variable | ${100000}
90 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
91 | | ${binary_min}= | Set Variable | ${min_rate}
92 | | ${binary_max}= | Set Variable | ${max_rate}
93 | | ${threshold}= | Set Variable | ${min_rate}
94 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
95 | | And   Add PCI devices to DUTs from 3-node single link topology
96 | | And   Add No Multi Seg to all DUTs
97 | | And   Add Heapsize Config to all DUTs | 3G
98 | | And   Apply startup configuration on all VPP DUTs
99 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
100 | | ...   | ${rts_per_flow}
101 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
102 | | ...                                       | ${binary_max}
103 | | ...                                       | 3-node-IPv4-dst-${rts_per_flow}
104 | | ...                                       | ${min_rate} | ${max_rate}
105 | | ...                                       | ${threshold}
106 | | ...                                       | ${perf_pdr_loss_acceptance}
107 | | ...                                       | ${perf_pdr_loss_acceptance_type}
108
109 | tc03-1518B-1t1c-ethip4-ip4scale2m-ndrdisc
110 | | [Documentation]
111 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \
112 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
113 | | ... | using binary search start at 10GE linerate, step 10kpps.
114 | | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC
115 | | ${framesize}= | Set Variable | ${1518}
116 | | ${min_rate}= | Set Variable | ${10000}
117 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
118 | | ${binary_min}= | Set Variable | ${min_rate}
119 | | ${binary_max}= | Set Variable | ${max_rate}
120 | | ${threshold}= | Set Variable | ${min_rate}
121 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
122 | | And   Add PCI devices to DUTs from 3-node single link topology
123 | | And   Add No Multi Seg to all DUTs
124 | | And   Add Heapsize Config to all DUTs | 3G
125 | | And   Apply startup configuration on all VPP DUTs
126 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
127 | | ...   | ${rts_per_flow}
128 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
129 | | ...                                       | ${binary_max}
130 | | ...                                       | 3-node-IPv4-dst-${rts_per_flow}
131 | | ...                                       | ${min_rate} | ${max_rate}
132 | | ...                                       | ${threshold}
133
134 | tc04-1518B-1t1c-ethip4-ip4scale2m-pdrdisc
135 | | [Documentation]
136 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \
137 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
138 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
139 | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
140 | | ${framesize}= | Set Variable | ${1518}
141 | | ${min_rate}= | Set Variable | ${10000}
142 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
143 | | ${binary_min}= | Set Variable | ${min_rate}
144 | | ${binary_max}= | Set Variable | ${max_rate}
145 | | ${threshold}= | Set Variable | ${min_rate}
146 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
147 | | And   Add PCI devices to DUTs from 3-node single link topology
148 | | And   Add No Multi Seg to all DUTs
149 | | And   Add Heapsize Config to all DUTs | 3G
150 | | And   Apply startup configuration on all VPP DUTs
151 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
152 | | ...   | ${rts_per_flow}
153 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
154 | | ...                                       | ${binary_max}
155 | | ...                                       | 3-node-IPv4-dst-${rts_per_flow}
156 | | ...                                       | ${min_rate} | ${max_rate}
157 | | ...                                       | ${threshold}
158 | | ...                                       | ${perf_pdr_loss_acceptance}
159 | | ...                                       | ${perf_pdr_loss_acceptance_type}
160
161 | tc05-9000B-1t1c-ethip4-ip4scale2m-ndrdisc
162 | | [Documentation]
163 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \
164 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
165 | | ... | using binary search start at 10GE linerate, step 5kpps.
166 | | [Tags] | 9000B | 1T1C | STHREAD | NDRDISC
167 | | ${framesize}= | Set Variable | ${9000}
168 | | ${min_rate}= | Set Variable | ${10000}
169 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
170 | | ${binary_min}= | Set Variable | ${min_rate}
171 | | ${binary_max}= | Set Variable | ${max_rate}
172 | | ${threshold}= | Set Variable | ${min_rate}
173 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
174 | | And   Add PCI devices to DUTs from 3-node single link topology
175 | | And   Add Heapsize Config to all DUTs | 3G
176 | | And   Apply startup configuration on all VPP DUTs
177 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
178 | | ...   | ${rts_per_flow}
179 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
180 | | ...                                       | ${binary_max}
181 | | ...                                       | 3-node-IPv4-dst-${rts_per_flow}
182 | | ...                                       | ${min_rate} | ${max_rate}
183 | | ...                                       | ${threshold}
184
185 | tc06-9000B-1t1c-ethip4-ip4scale2m-pdrdisc
186 | | [Documentation]
187 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \
188 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
189 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
190 | | [Tags] | 9000B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
191 | | ${framesize}= | Set Variable | ${9000}
192 | | ${min_rate}= | Set Variable | ${10000}
193 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
194 | | ${binary_min}= | Set Variable | ${min_rate}
195 | | ${binary_max}= | Set Variable | ${max_rate}
196 | | ${threshold}= | Set Variable | ${min_rate}
197 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
198 | | And   Add PCI devices to DUTs from 3-node single link topology
199 | | And   Add Heapsize Config to all DUTs | 3G
200 | | And   Apply startup configuration on all VPP DUTs
201 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
202 | | ...   | ${rts_per_flow}
203 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
204 | | ...                                       | ${binary_max}
205 | | ...                                       | 3-node-IPv4-dst-${rts_per_flow}
206 | | ...                                       | ${min_rate} | ${max_rate}
207 | | ...                                       | ${threshold}
208 | | ...                                       | ${perf_pdr_loss_acceptance}
209 | | ...                                       | ${perf_pdr_loss_acceptance_type}
210
211 | tc07-64B-2t2c-ethip4-ip4scale2m-ndrdisc
212 | | [Documentation]
213 | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \
214 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames
215 | | ... | using binary search start at 10GE linerate, step 100kpps.
216 | | [Tags] | 64B | 2T2C | MTHREAD | NDRDISC
217 | | ${framesize}= | Set Variable | ${64}
218 | | ${min_rate}= | Set Variable | ${100000}
219 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
220 | | ${binary_min}= | Set Variable | ${min_rate}
221 | | ${binary_max}= | Set Variable | ${max_rate}
222 | | ${threshold}= | Set Variable | ${min_rate}
223 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
224 | | And   Add PCI devices to DUTs from 3-node single link topology
225 | | And   Add No Multi Seg to all DUTs
226 | | And   Add Heapsize Config to all DUTs | 3G
227 | | And   Apply startup configuration on all VPP DUTs
228 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
229 | | ...   | ${rts_per_flow}
230 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
231 | | ...                                       | ${binary_max}
232 | | ...                                       | 3-node-IPv4-dst-${rts_per_flow}
233 | | ...                                       | ${min_rate} | ${max_rate}
234 | | ...                                       | ${threshold}
235
236 | tc08-64B-2t2c-ethip4-ip4scale2m-pdrdisc
237 | | [Documentation]
238 | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \
239 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames
240 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
241 | | [Tags] | 64B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
242 | | ${framesize}= | Set Variable | ${64}
243 | | ${min_rate}= | Set Variable | ${100000}
244 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
245 | | ${binary_min}= | Set Variable | ${min_rate}
246 | | ${binary_max}= | Set Variable | ${max_rate}
247 | | ${threshold}= | Set Variable | ${min_rate}
248 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
249 | | And   Add PCI devices to DUTs from 3-node single link topology
250 | | And   Add No Multi Seg to all DUTs
251 | | And   Add Heapsize Config to all DUTs | 3G
252 | | And   Apply startup configuration on all VPP DUTs
253 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
254 | | ...   | ${rts_per_flow}
255 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
256 | | ...                                       | ${binary_max}
257 | | ...                                       | 3-node-IPv4-dst-${rts_per_flow}
258 | | ...                                       | ${min_rate} | ${max_rate}
259 | | ...                                       | ${threshold}
260 | | ...                                       | ${perf_pdr_loss_acceptance}
261 | | ...                                       | ${perf_pdr_loss_acceptance_type}
262
263 | tc09-1518B-2t2c-ethip4-ip4scale2m-ndrdisc
264 | | [Documentation]
265 | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \
266 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
267 | | ... | using binary search start at 10GE linerate, step 10kpps.
268 | | [Tags] | 1518B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
269 | | ${framesize}= | Set Variable | ${1518}
270 | | ${min_rate}= | Set Variable | ${10000}
271 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
272 | | ${binary_min}= | Set Variable | ${min_rate}
273 | | ${binary_max}= | Set Variable | ${max_rate}
274 | | ${threshold}= | Set Variable | ${min_rate}
275 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
276 | | And   Add PCI devices to DUTs from 3-node single link topology
277 | | And   Add No Multi Seg to all DUTs
278 | | And   Add Heapsize Config to all DUTs | 3G
279 | | And   Apply startup configuration on all VPP DUTs
280 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
281 | | ...   | ${rts_per_flow}
282 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
283 | | ...                                       | ${binary_max}
284 | | ...                                       | 3-node-IPv4-dst-${rts_per_flow}
285 | | ...                                       | ${min_rate} | ${max_rate}
286 | | ...                                       | ${threshold}
287
288 | tc10-1518B-2t2c-ethip4-ip4scale2m-pdrdisc
289 | | [Documentation]
290 | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \
291 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
292 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
293 | | [Tags] | 1518B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
294 | | ${framesize}= | Set Variable | ${1518}
295 | | ${min_rate}= | Set Variable | ${10000}
296 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
297 | | ${binary_min}= | Set Variable | ${min_rate}
298 | | ${binary_max}= | Set Variable | ${max_rate}
299 | | ${threshold}= | Set Variable | ${min_rate}
300 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
301 | | And   Add PCI devices to DUTs from 3-node single link topology
302 | | And   Add No Multi Seg to all DUTs
303 | | And   Add Heapsize Config to all DUTs | 3G
304 | | And   Apply startup configuration on all VPP DUTs
305 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
306 | | ...   | ${rts_per_flow}
307 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
308 | | ...                                       | ${binary_max}
309 | | ...                                       | 3-node-IPv4-dst-${rts_per_flow}
310 | | ...                                       | ${min_rate} | ${max_rate}
311 | | ...                                       | ${threshold}
312 | | ...                                       | ${perf_pdr_loss_acceptance}
313 | | ...                                       | ${perf_pdr_loss_acceptance_type}
314
315 | tc11-9000B-2t2c-ethip4-ip4scale2m-ndrdisc
316 | | [Documentation]
317 | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \
318 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
319 | | ... | using binary search start at 10GE linerate, step 5kpps.
320 | | [Tags] | 9000B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
321 | | ${framesize}= | Set Variable | ${9000}
322 | | ${min_rate}= | Set Variable | ${10000}
323 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
324 | | ${binary_min}= | Set Variable | ${min_rate}
325 | | ${binary_max}= | Set Variable | ${max_rate}
326 | | ${threshold}= | Set Variable | ${min_rate}
327 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
328 | | And   Add PCI devices to DUTs from 3-node single link topology
329 | | And   Add Heapsize Config to all DUTs | 3G
330 | | And   Apply startup configuration on all VPP DUTs
331 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
332 | | ...   | ${rts_per_flow}
333 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
334 | | ...                                       | ${binary_max}
335 | | ...                                       | 3-node-IPv4-dst-${rts_per_flow}
336 | | ...                                       | ${min_rate} | ${max_rate}
337 | | ...                                       | ${threshold}
338
339 | tc12-9000B-2t2c-ethip4-ip4scale2m-pdrdisc
340 | | [Documentation]
341 | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \
342 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
343 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
344 | | [Tags] | 9000B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
345 | | ${framesize}= | Set Variable | ${9000}
346 | | ${min_rate}= | Set Variable | ${10000}
347 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
348 | | ${binary_min}= | Set Variable | ${min_rate}
349 | | ${binary_max}= | Set Variable | ${max_rate}
350 | | ${threshold}= | Set Variable | ${min_rate}
351 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
352 | | And   Add PCI devices to DUTs from 3-node single link topology
353 | | And   Add Heapsize Config to all DUTs | 3G
354 | | And   Apply startup configuration on all VPP DUTs
355 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
356 | | ...   | ${rts_per_flow}
357 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
358 | | ...                                       | ${binary_max}
359 | | ...                                       | 3-node-IPv4-dst-${rts_per_flow}
360 | | ...                                       | ${min_rate} | ${max_rate}
361 | | ...                                       | ${threshold}
362 | | ...                                       | ${perf_pdr_loss_acceptance}
363 | | ...                                       | ${perf_pdr_loss_acceptance_type}
364
365 | tc13-64B-4t4c-ethip4-ip4scale2m-ndrdisc
366 | | [Documentation]
367 | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \
368 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 64 Byte frames
369 | | ... | using binary search start at 10GE linerate, step 100kpps.
370 | | [Tags] | 64B | 4T4C | MTHREAD | NDRDISC
371 | | ${framesize}= | Set Variable | ${64}
372 | | ${min_rate}= | Set Variable | ${100000}
373 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
374 | | ${binary_min}= | Set Variable | ${min_rate}
375 | | ${binary_max}= | Set Variable | ${max_rate}
376 | | ${threshold}= | Set Variable | ${min_rate}
377 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
378 | | And   Add PCI devices to DUTs from 3-node single link topology
379 | | And   Add No Multi Seg to all DUTs
380 | | And   Add Heapsize Config to all DUTs | 3G
381 | | And   Apply startup configuration on all VPP DUTs
382 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
383 | | ...   | ${rts_per_flow}
384 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
385 | | ...                                       | ${binary_max}
386 | | ...                                       | 3-node-IPv4-dst-${rts_per_flow}
387 | | ...                                       | ${min_rate} | ${max_rate}
388 | | ...                                       | ${threshold}
389
390 | tc14-64B-4t4c-ethip4-ip4scale2m-pdrdisc
391 | | [Documentation]
392 | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \
393 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 64 Byte frames
394 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
395 | | [Tags] | 64B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
396 | | ${framesize}= | Set Variable | ${64}
397 | | ${min_rate}= | Set Variable | ${100000}
398 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
399 | | ${binary_min}= | Set Variable | ${min_rate}
400 | | ${binary_max}= | Set Variable | ${max_rate}
401 | | ${threshold}= | Set Variable | ${min_rate}
402 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
403 | | And   Add PCI devices to DUTs from 3-node single link topology
404 | | And   Add No Multi Seg to all DUTs
405 | | And   Add Heapsize Config to all DUTs | 3G
406 | | And   Apply startup configuration on all VPP DUTs
407 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
408 | | ...   | ${rts_per_flow}
409 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
410 | | ...                                       | ${binary_max}
411 | | ...                                       | 3-node-IPv4-dst-${rts_per_flow}
412 | | ...                                       | ${min_rate} | ${max_rate}
413 | | ...                                       | ${threshold}
414 | | ...                                       | ${perf_pdr_loss_acceptance}
415 | | ...                                       | ${perf_pdr_loss_acceptance_type}
416
417 | tc15-1518B-4t4c-ethip4-ip4scale2m-ndrdisc
418 | | [Documentation]
419 | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \
420 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte frames
421 | | ... | using binary search start at 10GE linerate, step 10kpps.
422 | | [Tags] | 1518B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
423 | | ${framesize}= | Set Variable | ${1518}
424 | | ${min_rate}= | Set Variable | ${10000}
425 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
426 | | ${binary_min}= | Set Variable | ${min_rate}
427 | | ${binary_max}= | Set Variable | ${max_rate}
428 | | ${threshold}= | Set Variable | ${min_rate}
429 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
430 | | And   Add PCI devices to DUTs from 3-node single link topology
431 | | And   Add No Multi Seg to all DUTs
432 | | And   Add Heapsize Config to all DUTs | 3G
433 | | And   Apply startup configuration on all VPP DUTs
434 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
435 | | ...   | ${rts_per_flow}
436 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
437 | | ...                                       | ${binary_max}
438 | | ...                                       | 3-node-IPv4-dst-${rts_per_flow}
439 | | ...                                       | ${min_rate} | ${max_rate}
440 | | ...                                       | ${threshold}
441
442 | tc16-1518B-4t4c-ethip4-ip4scale2m-pdrdisc
443 | | [Documentation]
444 | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \
445 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 1518 Byte frames
446 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
447 | | [Tags] | 1518B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
448 | | ${framesize}= | Set Variable | ${1518}
449 | | ${min_rate}= | Set Variable | ${10000}
450 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
451 | | ${binary_min}= | Set Variable | ${min_rate}
452 | | ${binary_max}= | Set Variable | ${max_rate}
453 | | ${threshold}= | Set Variable | ${min_rate}
454 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
455 | | And   Add PCI devices to DUTs from 3-node single link topology
456 | | And   Add No Multi Seg to all DUTs
457 | | And   Add Heapsize Config to all DUTs | 3G
458 | | And   Apply startup configuration on all VPP DUTs
459 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
460 | | ...   | ${rts_per_flow}
461 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
462 | | ...                                       | ${binary_max}
463 | | ...                                       | 3-node-IPv4-dst-${rts_per_flow}
464 | | ...                                       | ${min_rate} | ${max_rate}
465 | | ...                                       | ${threshold}
466 | | ...                                       | ${perf_pdr_loss_acceptance}
467 | | ...                                       | ${perf_pdr_loss_acceptance_type}
468
469 | tc17-9000B-4t4c-ethip4-ip4scale2m-ndrdisc
470 | | [Documentation]
471 | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \
472 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 9000 Byte frames
473 | | ... | using binary search start at 10GE linerate, step 5kpps.
474 | | [Tags] | 9000B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
475 | | ${framesize}= | Set Variable | ${9000}
476 | | ${min_rate}= | Set Variable | ${10000}
477 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
478 | | ${binary_min}= | Set Variable | ${min_rate}
479 | | ${binary_max}= | Set Variable | ${max_rate}
480 | | ${threshold}= | Set Variable | ${min_rate}
481 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
482 | | And   Add PCI devices to DUTs from 3-node single link topology
483 | | And   Add Heapsize Config to all DUTs | 3G
484 | | And   Apply startup configuration on all VPP DUTs
485 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
486 | | ...   | ${rts_per_flow}
487 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
488 | | ...                                       | ${binary_max}
489 | | ...                                       | 3-node-IPv4-dst-${rts_per_flow}
490 | | ...                                       | ${min_rate} | ${max_rate}
491 | | ...                                       | ${threshold}
492
493 | tc18-9000B-4t4c-ethip4-ip4scale2m-pdrdisc
494 | | [Documentation]
495 | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \
496 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 9000 Byte frames
497 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
498 | | [Tags] | 9000B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
499 | | ${framesize}= | Set Variable | ${9000}
500 | | ${min_rate}= | Set Variable | ${10000}
501 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
502 | | ${binary_min}= | Set Variable | ${min_rate}
503 | | ${binary_max}= | Set Variable | ${max_rate}
504 | | ${threshold}= | Set Variable | ${min_rate}
505 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
506 | | And   Add PCI devices to DUTs from 3-node single link topology
507 | | And   Add Heapsize Config to all DUTs | 3G
508 | | And   Apply startup configuration on all VPP DUTs
509 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
510 | | ...   | ${rts_per_flow}
511 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
512 | | ...                                       | ${binary_max}
513 | | ...                                       | 3-node-IPv4-dst-${rts_per_flow}
514 | | ...                                       | ${min_rate} | ${max_rate}
515 | | ...                                       | ${threshold}
516 | | ...                                       | ${perf_pdr_loss_acceptance}
517 | | ...                                       | ${perf_pdr_loss_acceptance_type}