CSIT-664: Refactor setups and teardowns
[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 | Set up 3-node performance topology with DUT's NIC model
21 | ... | L3 | Intel-X520-DA2
22 | Suite Teardown | Tear down 3-node performance topology
23 | ...
24 | Test Setup | Set up performance test
25 | ...
26 | Test Teardown | Tear down performance discovery test | ${min_rate}pps
27 | ... | ${framesize} | ${traffic_profile}
28 | ...
29 | Documentation | *RFC2544: Pkt throughput IPv4 routing test cases*
30 | ...
31 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology
32 | ... | with single links between nodes.
33 | ... | *[Enc] Packet Encapsulations:* Eth-IPv4 for IPv4 routing.
34 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with IPv4
35 | ... | routing and 2x1M static IPv4 /32 route entries. DUT1 and DUT2 tested
36 | ... | with 2p10GE NIC X520 Niantic by Intel.
37 | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop
38 | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop
39 | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage
40 | ... | of packets transmitted. NDR and PDR are discovered for different
41 | ... | Ethernet L2 frame sizes using either binary search or linear search
42 | ... | algorithms with configured starting rate and final step that determines
43 | ... | throughput measurement resolution. Test packets are generated by TG on
44 | ... | links to DUTs. TG traffic profile contains two L3 flow-groups
45 | ... | (flow-group per direction, 1M flows per flow-group) with all packets
46 | ... | containing Ethernet header, IPv4 header with IP protocol=61 and
47 | ... | static payload. MAC addresses are matching MAC addresses of the TG
48 | ... | node interfaces. Incrementing of IP.dst (IPv4 destination address) field
49 | ... | is applied to both streams.
50 | ... | *[Ref] Applicable standard specifications:* RFC2544.
51
52 *** Variables ***
53 # X520-DA2 bandwidth limit
54 | ${s_limit} | ${10000000000}
55 | ${rts_per_flow}= | ${1000000}
56 # Traffic profile:
57 | ${traffic_profile} | trex-sl-3n-ethip4-ip4dst${rts_per_flow}
58
59 *** Test Cases ***
60 | tc01-64B-1t1c-ethip4-ip4scale2m-ndrdisc
61 | | [Documentation]
62 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \
63 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames
64 | | ... | using binary search start at 10GE linerate, step 100kpps.
65 | | [Tags] | 64B | 1T1C | STHREAD | NDRDISC
66 | | ${framesize}= | Set Variable | ${64}
67 | | ${min_rate}= | Set Variable | ${100000}
68 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
69 | | ${binary_min}= | Set Variable | ${min_rate}
70 | | ${binary_max}= | Set Variable | ${max_rate}
71 | | ${threshold}= | Set Variable | ${min_rate}
72 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
73 | | And Add PCI devices to DUTs in 3-node single link topology
74 | | And Add no multi seg to all DUTs
75 | | And Add heapsize config to all DUTs | 3G
76 | | And Apply startup configuration on all VPP DUTs
77 | | And Initialize IPv4 forwarding with scaling in 3-node circular topology
78 | | ... | ${rts_per_flow}
79 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
80 | | ... | ${binary_max} | ${traffic_profile}
81 | | ... | ${min_rate} | ${max_rate} | ${threshold}
82
83 | tc02-64B-1t1c-ethip4-ip4scale2m-pdrdisc
84 | | [Documentation]
85 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \
86 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames
87 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
88 | | [Tags] | 64B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
89 | | ${framesize}= | Set Variable | ${64}
90 | | ${min_rate}= | Set Variable | ${100000}
91 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
92 | | ${binary_min}= | Set Variable | ${min_rate}
93 | | ${binary_max}= | Set Variable | ${max_rate}
94 | | ${threshold}= | Set Variable | ${min_rate}
95 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
96 | | And Add PCI devices to DUTs in 3-node single link topology
97 | | And Add no multi seg to all DUTs
98 | | And Add heapsize config to all DUTs | 3G
99 | | And Apply startup configuration on all VPP DUTs
100 | | And Initialize IPv4 forwarding with scaling in 3-node circular topology
101 | | ... | ${rts_per_flow}
102 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
103 | | ... | ${binary_max} | ${traffic_profile}
104 | | ... | ${min_rate} | ${max_rate} | ${threshold}
105 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
106
107 | tc03-1518B-1t1c-ethip4-ip4scale2m-ndrdisc
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] | 1518B | 1T1C | STHREAD | NDRDISC
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 '1' rxqueues in 3-node single-link circular topology
120 | | And Add PCI devices to DUTs in 3-node single link topology
121 | | And Add no multi seg to all DUTs
122 | | And Add heapsize config to all DUTs | 3G
123 | | And Apply startup configuration on all VPP DUTs
124 | | And Initialize IPv4 forwarding with scaling in 3-node circular topology
125 | | ... | ${rts_per_flow}
126 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
127 | | ... | ${binary_max} | ${traffic_profile}
128 | | ... | ${min_rate} | ${max_rate} | ${threshold}
129
130 | tc04-1518B-1t1c-ethip4-ip4scale2m-pdrdisc
131 | | [Documentation]
132 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \
133 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
134 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
135 | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
136 | | ${framesize}= | Set Variable | ${1518}
137 | | ${min_rate}= | Set Variable | ${10000}
138 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
139 | | ${binary_min}= | Set Variable | ${min_rate}
140 | | ${binary_max}= | Set Variable | ${max_rate}
141 | | ${threshold}= | Set Variable | ${min_rate}
142 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
143 | | And Add PCI devices to DUTs in 3-node single link topology
144 | | And Add no multi seg to all DUTs
145 | | And Add heapsize config to all DUTs | 3G
146 | | And Apply startup configuration on all VPP DUTs
147 | | And Initialize IPv4 forwarding with scaling in 3-node circular topology
148 | | ... | ${rts_per_flow}
149 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
150 | | ... | ${binary_max} | ${traffic_profile}
151 | | ... | ${min_rate} | ${max_rate} | ${threshold}
152 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
153
154 | tc05-9000B-1t1c-ethip4-ip4scale2m-ndrdisc
155 | | [Documentation]
156 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \
157 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
158 | | ... | using binary search start at 10GE linerate, step 5kpps.
159 | | [Tags] | 9000B | 1T1C | STHREAD | NDRDISC
160 | | ${framesize}= | Set Variable | ${9000}
161 | | ${min_rate}= | Set Variable | ${10000}
162 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
163 | | ${binary_min}= | Set Variable | ${min_rate}
164 | | ${binary_max}= | Set Variable | ${max_rate}
165 | | ${threshold}= | Set Variable | ${min_rate}
166 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
167 | | And Add PCI devices to DUTs in 3-node single link topology
168 | | And Add heapsize config to all DUTs | 3G
169 | | And Apply startup configuration on all VPP DUTs
170 | | And Initialize IPv4 forwarding with scaling in 3-node circular topology
171 | | ... | ${rts_per_flow}
172 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
173 | | ... | ${binary_max} | ${traffic_profile}
174 | | ... | ${min_rate} | ${max_rate} | ${threshold}
175
176 | tc06-9000B-1t1c-ethip4-ip4scale2m-pdrdisc
177 | | [Documentation]
178 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \
179 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
180 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
181 | | [Tags] | 9000B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
182 | | ${framesize}= | Set Variable | ${9000}
183 | | ${min_rate}= | Set Variable | ${10000}
184 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
185 | | ${binary_min}= | Set Variable | ${min_rate}
186 | | ${binary_max}= | Set Variable | ${max_rate}
187 | | ${threshold}= | Set Variable | ${min_rate}
188 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
189 | | And Add PCI devices to DUTs in 3-node single link topology
190 | | And Add heapsize config to all DUTs | 3G
191 | | And Apply startup configuration on all VPP DUTs
192 | | And Initialize IPv4 forwarding with scaling in 3-node circular topology
193 | | ... | ${rts_per_flow}
194 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
195 | | ... | ${binary_max} | ${traffic_profile}
196 | | ... | ${min_rate} | ${max_rate} | ${threshold}
197 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
198
199 | tc07-64B-2t2c-ethip4-ip4scale2m-ndrdisc
200 | | [Documentation]
201 | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \
202 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames
203 | | ... | using binary search start at 10GE linerate, step 100kpps.
204 | | [Tags] | 64B | 2T2C | MTHREAD | NDRDISC
205 | | ${framesize}= | Set Variable | ${64}
206 | | ${min_rate}= | Set Variable | ${100000}
207 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
208 | | ${binary_min}= | Set Variable | ${min_rate}
209 | | ${binary_max}= | Set Variable | ${max_rate}
210 | | ${threshold}= | Set Variable | ${min_rate}
211 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
212 | | And Add PCI devices to DUTs in 3-node single link topology
213 | | And Add no multi seg to all DUTs
214 | | And Add heapsize config to all DUTs | 3G
215 | | And Apply startup configuration on all VPP DUTs
216 | | And Initialize IPv4 forwarding with scaling in 3-node circular topology
217 | | ... | ${rts_per_flow}
218 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
219 | | ... | ${binary_max} | ${traffic_profile}
220 | | ... | ${min_rate} | ${max_rate} | ${threshold}
221
222 | tc08-64B-2t2c-ethip4-ip4scale2m-pdrdisc
223 | | [Documentation]
224 | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \
225 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames
226 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
227 | | [Tags] | 64B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
228 | | ${framesize}= | Set Variable | ${64}
229 | | ${min_rate}= | Set Variable | ${100000}
230 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
231 | | ${binary_min}= | Set Variable | ${min_rate}
232 | | ${binary_max}= | Set Variable | ${max_rate}
233 | | ${threshold}= | Set Variable | ${min_rate}
234 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
235 | | And Add PCI devices to DUTs in 3-node single link topology
236 | | And Add no multi seg to all DUTs
237 | | And Add heapsize config to all DUTs | 3G
238 | | And Apply startup configuration on all VPP DUTs
239 | | And Initialize IPv4 forwarding with scaling in 3-node circular topology
240 | | ... | ${rts_per_flow}
241 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
242 | | ... | ${binary_max} | ${traffic_profile}
243 | | ... | ${min_rate} | ${max_rate} | ${threshold}
244 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
245
246 | tc09-1518B-2t2c-ethip4-ip4scale2m-ndrdisc
247 | | [Documentation]
248 | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \
249 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
250 | | ... | using binary search start at 10GE linerate, step 10kpps.
251 | | [Tags] | 1518B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
252 | | ${framesize}= | Set Variable | ${1518}
253 | | ${min_rate}= | Set Variable | ${10000}
254 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
255 | | ${binary_min}= | Set Variable | ${min_rate}
256 | | ${binary_max}= | Set Variable | ${max_rate}
257 | | ${threshold}= | Set Variable | ${min_rate}
258 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
259 | | And Add PCI devices to DUTs in 3-node single link topology
260 | | And Add no multi seg to all DUTs
261 | | And Add heapsize config to all DUTs | 3G
262 | | And Apply startup configuration on all VPP DUTs
263 | | And Initialize IPv4 forwarding with scaling in 3-node circular topology
264 | | ... | ${rts_per_flow}
265 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
266 | | ... | ${binary_max} | ${traffic_profile}
267 | | ... | ${min_rate} | ${max_rate} | ${threshold}
268
269 | tc10-1518B-2t2c-ethip4-ip4scale2m-pdrdisc
270 | | [Documentation]
271 | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \
272 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
273 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
274 | | [Tags] | 1518B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
275 | | ${framesize}= | Set Variable | ${1518}
276 | | ${min_rate}= | Set Variable | ${10000}
277 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
278 | | ${binary_min}= | Set Variable | ${min_rate}
279 | | ${binary_max}= | Set Variable | ${max_rate}
280 | | ${threshold}= | Set Variable | ${min_rate}
281 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
282 | | And Add PCI devices to DUTs in 3-node single link topology
283 | | And Add no multi seg to all DUTs
284 | | And Add heapsize config to all DUTs | 3G
285 | | And Apply startup configuration on all VPP DUTs
286 | | And Initialize IPv4 forwarding with scaling in 3-node circular topology
287 | | ... | ${rts_per_flow}
288 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
289 | | ... | ${binary_max} | ${traffic_profile}
290 | | ... | ${min_rate} | ${max_rate} | ${threshold}
291 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
292
293 | tc11-9000B-2t2c-ethip4-ip4scale2m-ndrdisc
294 | | [Documentation]
295 | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \
296 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
297 | | ... | using binary search start at 10GE linerate, step 5kpps.
298 | | [Tags] | 9000B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
299 | | ${framesize}= | Set Variable | ${9000}
300 | | ${min_rate}= | Set Variable | ${10000}
301 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
302 | | ${binary_min}= | Set Variable | ${min_rate}
303 | | ${binary_max}= | Set Variable | ${max_rate}
304 | | ${threshold}= | Set Variable | ${min_rate}
305 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
306 | | And Add PCI devices to DUTs in 3-node single link topology
307 | | And Add heapsize config to all DUTs | 3G
308 | | And Apply startup configuration on all VPP DUTs
309 | | And Initialize IPv4 forwarding with scaling in 3-node circular topology
310 | | ... | ${rts_per_flow}
311 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
312 | | ... | ${binary_max} | ${traffic_profile}
313 | | ... | ${min_rate} | ${max_rate} | ${threshold}
314
315 | tc12-9000B-2t2c-ethip4-ip4scale2m-pdrdisc
316 | | [Documentation]
317 | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \
318 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
319 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
320 | | [Tags] | 9000B | 2T2C | MTHREAD | PDRDISC | 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 '1' rxqueues in 3-node single-link circular topology
328 | | And Add PCI devices to DUTs in 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 Initialize IPv4 forwarding with scaling in 3-node circular topology
332 | | ... | ${rts_per_flow}
333 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
334 | | ... | ${binary_max} | ${traffic_profile}
335 | | ... | ${min_rate} | ${max_rate} | ${threshold}
336 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
337
338 | tc13-64B-4t4c-ethip4-ip4scale2m-ndrdisc
339 | | [Documentation]
340 | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \
341 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 64 Byte frames
342 | | ... | using binary search start at 10GE linerate, step 100kpps.
343 | | [Tags] | 64B | 4T4C | MTHREAD | NDRDISC
344 | | ${framesize}= | Set Variable | ${64}
345 | | ${min_rate}= | Set Variable | ${100000}
346 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
347 | | ${binary_min}= | Set Variable | ${min_rate}
348 | | ${binary_max}= | Set Variable | ${max_rate}
349 | | ${threshold}= | Set Variable | ${min_rate}
350 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
351 | | And Add PCI devices to DUTs in 3-node single link topology
352 | | And Add no multi seg to all DUTs
353 | | And Add heapsize config to all DUTs | 3G
354 | | And Apply startup configuration on all VPP DUTs
355 | | And Initialize IPv4 forwarding with scaling in 3-node circular topology
356 | | ... | ${rts_per_flow}
357 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
358 | | ... | ${binary_max} | ${traffic_profile}
359 | | ... | ${min_rate} | ${max_rate} | ${threshold}
360
361 | tc14-64B-4t4c-ethip4-ip4scale2m-pdrdisc
362 | | [Documentation]
363 | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \
364 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 64 Byte frames
365 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
366 | | [Tags] | 64B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
367 | | ${framesize}= | Set Variable | ${64}
368 | | ${min_rate}= | Set Variable | ${100000}
369 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
370 | | ${binary_min}= | Set Variable | ${min_rate}
371 | | ${binary_max}= | Set Variable | ${max_rate}
372 | | ${threshold}= | Set Variable | ${min_rate}
373 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
374 | | And Add PCI devices to DUTs in 3-node single link topology
375 | | And Add no multi seg to all DUTs
376 | | And Add heapsize config to all DUTs | 3G
377 | | And Apply startup configuration on all VPP DUTs
378 | | And Initialize IPv4 forwarding with scaling in 3-node circular topology
379 | | ... | ${rts_per_flow}
380 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
381 | | ... | ${binary_max} | ${traffic_profile}
382 | | ... | ${min_rate} | ${max_rate} | ${threshold}
383 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
384
385 | tc15-1518B-4t4c-ethip4-ip4scale2m-ndrdisc
386 | | [Documentation]
387 | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \
388 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte frames
389 | | ... | using binary search start at 10GE linerate, step 10kpps.
390 | | [Tags] | 1518B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
391 | | ${framesize}= | Set Variable | ${1518}
392 | | ${min_rate}= | Set Variable | ${10000}
393 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
394 | | ${binary_min}= | Set Variable | ${min_rate}
395 | | ${binary_max}= | Set Variable | ${max_rate}
396 | | ${threshold}= | Set Variable | ${min_rate}
397 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
398 | | And Add PCI devices to DUTs in 3-node single link topology
399 | | And Add no multi seg to all DUTs
400 | | And Add heapsize config to all DUTs | 3G
401 | | And Apply startup configuration on all VPP DUTs
402 | | And Initialize IPv4 forwarding with scaling in 3-node circular topology
403 | | ... | ${rts_per_flow}
404 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
405 | | ... | ${binary_max} | ${traffic_profile}
406 | | ... | ${min_rate} | ${max_rate} | ${threshold}
407
408 | tc16-1518B-4t4c-ethip4-ip4scale2m-pdrdisc
409 | | [Documentation]
410 | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \
411 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 1518 Byte frames
412 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
413 | | [Tags] | 1518B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
414 | | ${framesize}= | Set Variable | ${1518}
415 | | ${min_rate}= | Set Variable | ${10000}
416 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
417 | | ${binary_min}= | Set Variable | ${min_rate}
418 | | ${binary_max}= | Set Variable | ${max_rate}
419 | | ${threshold}= | Set Variable | ${min_rate}
420 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
421 | | And Add PCI devices to DUTs in 3-node single link topology
422 | | And Add no multi seg to all DUTs
423 | | And Add heapsize config to all DUTs | 3G
424 | | And Apply startup configuration on all VPP DUTs
425 | | And Initialize IPv4 forwarding with scaling in 3-node circular topology
426 | | ... | ${rts_per_flow}
427 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
428 | | ... | ${binary_max} | ${traffic_profile}
429 | | ... | ${min_rate} | ${max_rate} | ${threshold}
430 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
431
432 | tc17-9000B-4t4c-ethip4-ip4scale2m-ndrdisc
433 | | [Documentation]
434 | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \
435 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 9000 Byte frames
436 | | ... | using binary search start at 10GE linerate, step 5kpps.
437 | | [Tags] | 9000B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
438 | | ${framesize}= | Set Variable | ${9000}
439 | | ${min_rate}= | Set Variable | ${10000}
440 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
441 | | ${binary_min}= | Set Variable | ${min_rate}
442 | | ${binary_max}= | Set Variable | ${max_rate}
443 | | ${threshold}= | Set Variable | ${min_rate}
444 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
445 | | And Add PCI devices to DUTs in 3-node single link topology
446 | | And Add heapsize config to all DUTs | 3G
447 | | And Apply startup configuration on all VPP DUTs
448 | | And Initialize IPv4 forwarding with scaling in 3-node circular topology
449 | | ... | ${rts_per_flow}
450 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
451 | | ... | ${binary_max} | ${traffic_profile}
452 | | ... | ${min_rate} | ${max_rate} | ${threshold}
453
454 | tc18-9000B-4t4c-ethip4-ip4scale2m-pdrdisc
455 | | [Documentation]
456 | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \
457 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 9000 Byte frames
458 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
459 | | [Tags] | 9000B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
460 | | ${framesize}= | Set Variable | ${9000}
461 | | ${min_rate}= | Set Variable | ${10000}
462 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
463 | | ${binary_min}= | Set Variable | ${min_rate}
464 | | ${binary_max}= | Set Variable | ${max_rate}
465 | | ${threshold}= | Set Variable | ${min_rate}
466 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
467 | | And Add PCI devices to DUTs in 3-node single link topology
468 | | And Add heapsize config to all DUTs | 3G
469 | | And Apply startup configuration on all VPP DUTs
470 | | And Initialize IPv4 forwarding with scaling in 3-node circular topology
471 | | ... | ${rts_per_flow}
472 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
473 | | ... | ${binary_max} | ${traffic_profile}
474 | | ... | ${min_rate} | ${max_rate} | ${threshold}
475 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}