CSIT-501: Perf tests re-tagging
[csit.git] / dpdk-tests / perf / 10ge2p1x520-eth-l2xcbase-ndrdisc.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 | Resource | resources/libraries/robot/DPDK/default.robot
17 | Library | resources.libraries.python.topology.Topology
18 | Library | resources.libraries.python.NodePath
19 | Library | resources.libraries.python.InterfaceUtil
20 | Library | resources.libraries.python.DPDK.DPDKTools
21 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | HW_ENV | PERFTEST | NDRPDRDISC | 1NUMA
22 | ... | NIC_Intel-X520-DA2 | DPDK | ETH | L2XCFWD | BASE
23 | Suite Setup | DPDK 3-node Performance Suite Setup with DUT's NIC model
24 | ... | L2 | Intel-X520-DA2
25 | Suite Teardown | DPDK 3-node Performance Suite Teardown
26 | Documentation | *RFC2544: Pkt throughput IPv4 routing test cases*
27 | ...
28 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology\
29 | ... | with single links between nodes.
30 | ... | *[Enc] Packet Encapsulations:* Eth-IPv4 for L2 frame forwarding.
31 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 run the DPDK testpmd\
32 | ... | application and use the io forwarding mode. DUT1 and DUT2 tested with\
33 | ... | 2p10GE NIC X520 Niantic by Intel.
34 | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop\
35 | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop\
36 | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage\
37 | ... | of packets transmitted. NDR and PDR are discovered for different\
38 | ... | Ethernet L2 frame sizes using either binary search or linear search\
39 | ... | algorithms with configured starting rate and final step that determines\
40 | ... | throughput measurement resolution. Test packets are generated by TG on\
41 | ... | links to DUTs. TG traffic profile contains two L3 flow-groups\
42 | ... | (flow-group per direction, 253 flows per flow-group) with all packets\
43 | ... | containing Ethernet header, IPv4 header with IP protocol=61 and static\
44 | ... | payload. MAC addresses are matching MAC addresses of the TG node\
45 | ... | interfaces.
46 | ... | *[Ref] Applicable standard specifications:* RFC2544.
47
48 *** Variables ***
49 #X520-DA2 bandwidth limit
50 | ${s_limit} | ${10000000000}
51
52 *** Test Cases ***
53 | TC01: 64B NDR binary search - DUT l2fwd - 1thread 1core 1rxq
54 | | [Documentation]
55 | | ... | [Cfg] DUT runs L2 frame forwarding  config with 1 thread, 1 phy core,\
56 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames\
57 | | ... | using binary search start at 10GE linerate, step 100kpps.
58 | | [Tags] | 1T1C | STHREAD | NDRDISC
59 | | ${framesize}= | Set Variable | ${64}
60 | | ${min_rate}= | Set Variable | ${100000}
61 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
62 | | ${binary_min}= | Set Variable | ${min_rate}
63 | | ${binary_max}= | Set Variable | ${max_rate}
64 | | ${threshold}= | Set Variable | ${min_rate}
65 | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no'
66 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
67 | | ...                                       | ${binary_max} | 3-node-bridge
68 | | ...                                       | ${min_rate} | ${max_rate}
69 | | ...                                       | ${threshold}
70
71 | TC02: 64B PDR binary search - DUT l2fwd - 1thread 1core 1rxq
72 | | [Documentation]
73 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 thread, 1 phy core,\
74 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames\
75 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
76 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
77 | | ${framesize}= | Set Variable | ${64}
78 | | ${min_rate}= | Set Variable | ${100000}
79 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
80 | | ${binary_min}= | Set Variable | ${min_rate}
81 | | ${binary_max}= | Set Variable | ${max_rate}
82 | | ${threshold}= | Set Variable | ${min_rate}
83 | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no'
84 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
85 | | ...                                       | ${binary_max} | 3-node-bridge
86 | | ...                                       | ${min_rate} | ${max_rate}
87 | | ...                                       | ${threshold}
88 | | ...                                       | ${glob_loss_acceptance}
89 | | ...                                       | ${glob_loss_acceptance_type}
90
91 | TC03: 1518B NDR binary search - DUT l2fwd - 1thread 1core 1rxq
92 | | [Documentation]
93 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 thread, 1 phy core,\
94 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames\
95 | | ... | using binary search start at 10GE linerate, step 10kpps.
96 | | [Tags] | 1T1C | STHREAD | NDRDISC
97 | | ${framesize}= | Set Variable | ${1518}
98 | | ${min_rate}= | Set Variable | ${10000}
99 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
100 | | ${binary_min}= | Set Variable | ${min_rate}
101 | | ${binary_max}= | Set Variable | ${max_rate}
102 | | ${threshold}= | Set Variable | ${min_rate}
103 | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no'
104 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
105 | | ...                                       | ${binary_max} | 3-node-bridge
106 | | ...                                       | ${min_rate} | ${max_rate}
107 | | ...                                       | ${threshold}
108
109 | TC04: 1518B PDR binary search - DUT l2fwd - 1thread 1core 1rxq
110 | | [Documentation]
111 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 thread, 1 phy core,\
112 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames\
113 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
114 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
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 Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no'
122 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
123 | | ...                                       | ${binary_max} | 3-node-bridge
124 | | ...                                       | ${min_rate} | ${max_rate}
125 | | ...                                       | ${threshold}
126 | | ...                                       | ${glob_loss_acceptance}
127 | | ...                                       | ${glob_loss_acceptance_type}
128
129 | TC05: 9000B NDR binary search - DUT l2fwd - 1thread 1core 1rxq
130 | | [Documentation]
131 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 thread, 1 phy core,\
132 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames\
133 | | ... | using binary search start at 10GE linerate, step 10kpps.
134 | | [Tags] | 1T1C | STHREAD | NDRDISC
135 | | ${framesize}= | Set Variable | ${9000}
136 | | ${min_rate}= | Set Variable | ${10000}
137 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
138 | | ${binary_min}= | Set Variable | ${min_rate}
139 | | ${binary_max}= | Set Variable | ${max_rate}
140 | | ${threshold}= | Set Variable | ${min_rate}
141 | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'yes'
142 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
143 | | ...                                       | ${binary_max} | 3-node-bridge
144 | | ...                                       | ${min_rate} | ${max_rate}
145 | | ...                                       | ${threshold}
146
147 | TC06: 9000B PDR binary search - DUT l2fwd - 1thread 1core 1rxq
148 | | [Documentation]
149 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 thread, 1 phy core,\
150 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames\
151 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
152 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
153 | | ${framesize}= | Set Variable | ${9000}
154 | | ${min_rate}= | Set Variable | ${10000}
155 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
156 | | ${binary_min}= | Set Variable | ${min_rate}
157 | | ${binary_max}= | Set Variable | ${max_rate}
158 | | ${threshold}= | Set Variable | ${min_rate}
159 | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'yes'
160 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
161 | | ...                                       | ${binary_max} | 3-node-bridge
162 | | ...                                       | ${min_rate} | ${max_rate}
163 | | ...                                       | ${threshold}
164 | | ...                                       | ${glob_loss_acceptance}
165 | | ...                                       | ${glob_loss_acceptance_type}
166
167 | TC07: 64B NDR binary search - DUT l2fwd - 2threads 2cores 1rxq
168 | | [Documentation]
169 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads, 2 phy\
170 | | ... | cores, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte\
171 | | ... | frames using binary search start at 10GE linerate, step 100kpps.
172 | | [Tags] | 2T2C | MTHREAD | NDRDISC
173 | | ${framesize}= | Set Variable | ${64}
174 | | ${min_rate}= | Set Variable | ${100000}
175 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
176 | | ${binary_min}= | Set Variable | ${min_rate}
177 | | ${binary_max}= | Set Variable | ${max_rate}
178 | | ${threshold}= | Set Variable | ${min_rate}
179 | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no'
180 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
181 | | ...                                       | ${binary_max} | 3-node-bridge
182 | | ...                                       | ${min_rate} | ${max_rate}
183 | | ...                                       | ${threshold}
184
185 | TC08: 64B PDR binary search - DUT l2fwd - 2threads 2cores 1rxq
186 | | [Documentation]
187 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads, 2 phy\
188 | | ... | cores, 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte\
189 | | ... | frames using binary search start at 10GE linerate, step 100kpps,\
190 | | ... | LT=0.5%.
191 | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
192 | | ${framesize}= | Set Variable | ${64}
193 | | ${min_rate}= | Set Variable | ${100000}
194 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
195 | | ${binary_min}= | Set Variable | ${min_rate}
196 | | ${binary_max}= | Set Variable | ${max_rate}
197 | | ${threshold}= | Set Variable | ${min_rate}
198 | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no'
199 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
200 | | ...                                       | ${binary_max} | 3-node-bridge
201 | | ...                                       | ${min_rate} | ${max_rate}
202 | | ...                                       | ${threshold}
203 | | ...                                       | ${glob_loss_acceptance}
204 | | ...                                       | ${glob_loss_acceptance_type}
205
206 | TC09: 1518B NDR binary search - DUT l2fwd - 2threads 2cores 1rxq
207 | | [Documentation]
208 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads, 2 phy\
209 | | ... | cores, 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte\
210 | | ... | frames using binary search start at 10GE linerate, step 10kpps.
211 | | [Tags] | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
212 | | ${framesize}= | Set Variable | ${1518}
213 | | ${min_rate}= | Set Variable | ${10000}
214 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
215 | | ${binary_min}= | Set Variable | ${min_rate}
216 | | ${binary_max}= | Set Variable | ${max_rate}
217 | | ${threshold}= | Set Variable | ${min_rate}
218 | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no'
219 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
220 | | ...                                       | ${binary_max} | 3-node-bridge
221 | | ...                                       | ${min_rate} | ${max_rate}
222 | | ...                                       | ${threshold}
223
224 | TC10: 1518B PDR binary search - DUT l2fwd - 2threads 2cores 1rxq
225 | | [Documentation]
226 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads, 2 phy\
227 | | ... | cores, 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte\
228 | | ... | frames using binary search start at 10GE linerate, step 10kpps,\
229 | | ... | LT=0.5%.
230 | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
231 | | ${framesize}= | Set Variable | ${1518}
232 | | ${min_rate}= | Set Variable | ${10000}
233 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
234 | | ${binary_min}= | Set Variable | ${min_rate}
235 | | ${binary_max}= | Set Variable | ${max_rate}
236 | | ${threshold}= | Set Variable | ${min_rate}
237 | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no'
238 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
239 | | ...                                       | ${binary_max} | 3-node-bridge
240 | | ...                                       | ${min_rate} | ${max_rate}
241 | | ...                                       | ${threshold}
242 | | ...                                       | ${glob_loss_acceptance}
243 | | ...                                       | ${glob_loss_acceptance_type}
244
245 | TC11: 9000B NDR binary search - DUT l2fwd - 2threads 2cores 1rxq
246 | | [Documentation]
247 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads, 2 phy\
248 | | ... | cores, 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte\
249 | | ... | frames using binary search start at 10GE linerate, step 10kpps.
250 | | [Tags] | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
251 | | ${framesize}= | Set Variable | ${9000}
252 | | ${min_rate}= | Set Variable | ${10000}
253 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
254 | | ${binary_min}= | Set Variable | ${min_rate}
255 | | ${binary_max}= | Set Variable | ${max_rate}
256 | | ${threshold}= | Set Variable | ${min_rate}
257 | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'yes'
258 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
259 | | ...                                       | ${binary_max} | 3-node-bridge
260 | | ...                                       | ${min_rate} | ${max_rate}
261 | | ...                                       | ${threshold}
262
263 | TC12: 9000B PDR binary search - DUT l2fwd - 2threads 2cores 1rxq
264 | | [Documentation]
265 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads, 2 phy\
266 | | ... | cores, 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte\
267 | | ... | frames using binary search start at 10GE linerate, step 10kpps,\
268 | | ... | LT=0.5%.
269 | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
270 | | ${framesize}= | Set Variable | ${9000}
271 | | ${min_rate}= | Set Variable | ${10000}
272 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
273 | | ${binary_min}= | Set Variable | ${min_rate}
274 | | ${binary_max}= | Set Variable | ${max_rate}
275 | | ${threshold}= | Set Variable | ${min_rate}
276 | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'yes'
277 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
278 | | ...                                       | ${binary_max} | 3-node-bridge
279 | | ...                                       | ${min_rate} | ${max_rate}
280 | | ...                                       | ${threshold}
281 | | ...                                       | ${glob_loss_acceptance}
282 | | ...                                       | ${glob_loss_acceptance_type}
283
284 | TC13: 64B NDR binary search - DUT l2fwd - 4threads 4cores 2rxq
285 | | [Documentation]
286 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads, 4 phy\
287 | | ... | cores, 2 receive queues per NIC port. [Ver] Find NDR for 64 Byte\
288 | | ... | frames using binary search start at 10GE linerate, step 100kpps.
289 | | [Tags] | 4T4C | MTHREAD | NDRDISC
290 | | ${framesize}= | Set Variable | ${64}
291 | | ${min_rate}= | Set Variable | ${100000}
292 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
293 | | ${binary_min}= | Set Variable | ${min_rate}
294 | | ${binary_max}= | Set Variable | ${max_rate}
295 | | ${threshold}= | Set Variable | ${min_rate}
296 | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no'
297 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
298 | | ...                                       | ${binary_max} | 3-node-bridge
299 | | ...                                       | ${min_rate} | ${max_rate}
300 | | ...                                       | ${threshold}
301
302 | TC14: 64B PDR binary search - DUT l2fwd - 4threads 4cores 2rxq
303 | | [Documentation]
304 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads, 4 phy\
305 | | ... | cores, 2 receive queues per NIC port. [Ver] Find PDR for 64 Byte\
306 | | ... | frames using binary search start at 10GE linerate, step 100kpps,\
307 | | ... | LT=0.5%.
308 | | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
309 | | ${framesize}= | Set Variable | ${64}
310 | | ${min_rate}= | Set Variable | ${100000}
311 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
312 | | ${binary_min}= | Set Variable | ${min_rate}
313 | | ${binary_max}= | Set Variable | ${max_rate}
314 | | ${threshold}= | Set Variable | ${min_rate}
315 | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no'
316 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
317 | | ...                                       | ${binary_max} | 3-node-bridge
318 | | ...                                       | ${min_rate} | ${max_rate}
319 | | ...                                       | ${threshold}
320 | | ...                                       | ${glob_loss_acceptance}
321 | | ...                                       | ${glob_loss_acceptance_type}
322
323 | TC15: 1518B NDR binary search - DUT l2fwd - 4threads 4cores 2rxq
324 | | [Documentation]
325 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads, 4 phy\
326 | | ... | cores, 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte\
327 | | ... | frames using binary search start at 10GE linerate, step 10kpps.
328 | | [Tags] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
329 | | ${framesize}= | Set Variable | ${1518}
330 | | ${min_rate}= | Set Variable | ${10000}
331 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
332 | | ${binary_min}= | Set Variable | ${min_rate}
333 | | ${binary_max}= | Set Variable | ${max_rate}
334 | | ${threshold}= | Set Variable | ${min_rate}
335 | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no'
336 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
337 | | ...                                       | ${binary_max} | 3-node-bridge
338 | | ...                                       | ${min_rate} | ${max_rate}
339 | | ...                                       | ${threshold}
340
341 | TC16: 1518B PDR binary search - DUT l2fwd - 4threads 4cores 2rxq
342 | | [Documentation]
343 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads, 4 phy\
344 | | ... | cores, 2 receive queues per NIC port. [Ver] Find PDR for 1518 Byte\
345 | | ... | frames using binary search start at 10GE linerate, step 10kpps,\
346 | | ... | LT=0.5%.
347 | | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
348 | | ${framesize}= | Set Variable | ${1518}
349 | | ${min_rate}= | Set Variable | ${10000}
350 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
351 | | ${binary_min}= | Set Variable | ${min_rate}
352 | | ${binary_max}= | Set Variable | ${max_rate}
353 | | ${threshold}= | Set Variable | ${min_rate}
354 | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no'
355 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
356 | | ...                                       | ${binary_max} | 3-node-bridge
357 | | ...                                       | ${min_rate} | ${max_rate}
358 | | ...                                       | ${threshold}
359 | | ...                                       | ${glob_loss_acceptance}
360 | | ...                                       | ${glob_loss_acceptance_type}
361
362 | TC17: 9000B NDR binary search - DUT l2fwd - 4threads 4cores 2rxq
363 | | [Documentation]
364 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads, 4 phy\
365 | | ... | cores, 2 receive queues per NIC port. [Ver] Find NDR for 9000 Byte\
366 | | ... | frames using binary search start at 10GE linerate, step 10kpps.
367 | | [Tags] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
368 | | ${framesize}= | Set Variable | ${9000}
369 | | ${min_rate}= | Set Variable | ${10000}
370 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
371 | | ${binary_min}= | Set Variable | ${min_rate}
372 | | ${binary_max}= | Set Variable | ${max_rate}
373 | | ${threshold}= | Set Variable | ${min_rate}
374 | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'yes'
375 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
376 | | ...                                       | ${binary_max} | 3-node-bridge
377 | | ...                                       | ${min_rate} | ${max_rate}
378 | | ...                                       | ${threshold}
379
380 | TC18: 9000B PDR binary search - DUT l2fwd - 4threads 4cores 2rxq
381 | | [Documentation]
382 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads, 4 phy\
383 | | ... | cores, 2 receive queues per NIC port. [Ver] Find PDR for 9000 Byte
384 | | ... | frames using binary search start at 10GE linerate, step 5kpps,\
385 | | ... | LT=0.5%.
386 | | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
387 | | ${framesize}= | Set Variable | ${9000}
388 | | ${min_rate}= | Set Variable | ${10000}
389 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
390 | | ${binary_min}= | Set Variable | ${min_rate}
391 | | ${binary_max}= | Set Variable | ${max_rate}
392 | | ${threshold}= | Set Variable | ${min_rate}
393 | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'yes'
394 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
395 | | ...                                       | ${binary_max} | 3-node-bridge
396 | | ...                                       | ${min_rate} | ${max_rate}
397 | | ...                                       | ${threshold}
398 | | ...                                       | ${glob_loss_acceptance}
399 | | ...                                       | ${glob_loss_acceptance_type}