b7db75c19f24dbcf2e26390540447fa2ded4c051
[csit.git] / dpdk-tests / perf / 10ge2p1x710-eth-l2xcbase-testpmd-ndrpdrdisc.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-X710 | DPDK | ETH | L2XCFWD | BASE
23 | Suite Setup | DPDK 3-node Performance Suite Setup with DUT's NIC model
24 | ... | L2 | Intel-X710
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 X710 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-1t1c-eth-l2xcbase-testpmd-ndrdisc
54 | | [Documentation]
55 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 thread, 1 phy core,\
56 | | ... | 1 receive queue per NIC port.
57 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\
58 | | ... | linerate, step 100kpps.
59 | | ...
60 | | [Tags] | 1T1C | STHREAD | NDRDISC
61 | | ...
62 | | ${framesize}= | Set Variable | ${64}
63 | | ${min_rate}= | Set Variable | ${100000}
64 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
65 | | ${binary_min}= | Set Variable | ${min_rate}
66 | | ${binary_max}= | Set Variable | ${max_rate}
67 | | ${threshold}= | Set Variable | ${min_rate}
68 | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no'
69 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
70 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
71 | | ... | ${threshold}
72
73 | tc02-64B-1t1c-eth-l2xcbase-testpmd-pdrdisc
74 | | [Documentation]
75 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 thread, 1 phy core,\
76 | | ... | 1 receive queue per NIC port.
77 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\
78 | | ... | linerate, step 100kpps, LT=0.5%.
79 | | ...
80 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
81 | | ...
82 | | ${framesize}= | Set Variable | ${64}
83 | | ${min_rate}= | Set Variable | ${100000}
84 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
85 | | ${binary_min}= | Set Variable | ${min_rate}
86 | | ${binary_max}= | Set Variable | ${max_rate}
87 | | ${threshold}= | Set Variable | ${min_rate}
88 | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no'
89 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
90 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
91 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
92 | | ... | ${perf_pdr_loss_acceptance_type}
93
94 | tc03-1518B-1t1c-eth-l2xcbase-testpmd-ndrdisc
95 | | [Documentation]
96 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 thread, 1 phy core,\
97 | | ... | 1 receive queue per NIC port.
98 | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\
99 | | ... | linerate, step 10kpps.
100 | | ...
101 | | [Tags] | 1T1C | STHREAD | NDRDISC
102 | | ...
103 | | ${framesize}= | Set Variable | ${1518}
104 | | ${min_rate}= | Set Variable | ${10000}
105 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
106 | | ${binary_min}= | Set Variable | ${min_rate}
107 | | ${binary_max}= | Set Variable | ${max_rate}
108 | | ${threshold}= | Set Variable | ${min_rate}
109 | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no'
110 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
111 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
112 | | ... | ${threshold}
113
114 | tc04-1518B-1t1c-eth-l2xcbase-testpmd-pdrdisc
115 | | [Documentation]
116 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 thread, 1 phy core,\
117 | | ... | 1 receive queue per NIC port.
118 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\
119 | | ... | linerate, step 10kpps, LT=0.5%.
120 | | ...
121 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
122 | | ...
123 | | ${framesize}= | Set Variable | ${1518}
124 | | ${min_rate}= | Set Variable | ${10000}
125 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
126 | | ${binary_min}= | Set Variable | ${min_rate}
127 | | ${binary_max}= | Set Variable | ${max_rate}
128 | | ${threshold}= | Set Variable | ${min_rate}
129 | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no'
130 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
131 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
132 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
133 | | ... | ${perf_pdr_loss_acceptance_type}
134
135 | tc05-9000B-1t1c-eth-l2xcbase-testpmd-ndrdisc
136 | | [Documentation]
137 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 thread, 1 phy core,\
138 | | ... | 1 receive queue per NIC port.
139 | | ... | [Ver] Find NDR for 9000 Byte frames using binary search start at 10GE\
140 | | ... | linerate, step 10kpps.
141 | | ...
142 | | [Tags] | 1T1C | STHREAD | NDRDISC
143 | | ...
144 | | ${framesize}= | Set Variable | ${9000}
145 | | ${min_rate}= | Set Variable | ${10000}
146 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
147 | | ${binary_min}= | Set Variable | ${min_rate}
148 | | ${binary_max}= | Set Variable | ${max_rate}
149 | | ${threshold}= | Set Variable | ${min_rate}
150 | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'yes'
151 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
152 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
153 | | ... | ${threshold}
154
155 | tc06-9000B-1t1c-eth-l2xcbase-testpmd-pdrdisc
156 | | [Documentation]
157 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 thread, 1 phy core,\
158 | | ... | 1 receive queue per NIC port.
159 | | ... | [Ver] Find PDR for 9000 Byte frames using binary search start at 10GE\
160 | | ... | linerate, step 10kpps, LT=0.5%.
161 | | ...
162 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
163 | | ...
164 | | ${framesize}= | Set Variable | ${9000}
165 | | ${min_rate}= | Set Variable | ${10000}
166 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
167 | | ${binary_min}= | Set Variable | ${min_rate}
168 | | ${binary_max}= | Set Variable | ${max_rate}
169 | | ${threshold}= | Set Variable | ${min_rate}
170 | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'yes'
171 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
172 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
173 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
174 | | ... | ${perf_pdr_loss_acceptance_type}
175
176 | tc07-64B-2t2c-eth-l2xcbase-testpmd-ndrdisc
177 | | [Documentation]
178 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads, 2 phy\
179 | | ... | cores, 1 receive queue per NIC port.
180 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\
181 | | ... | linerate, step 100kpps.
182 | | ...
183 | | [Tags] | 2T2C | MTHREAD | NDRDISC
184 | | ...
185 | | ${framesize}= | Set Variable | ${64}
186 | | ${min_rate}= | Set Variable | ${100000}
187 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
188 | | ${binary_min}= | Set Variable | ${min_rate}
189 | | ${binary_max}= | Set Variable | ${max_rate}
190 | | ${threshold}= | Set Variable | ${min_rate}
191 | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no'
192 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
193 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
194 | | ... | ${threshold}
195
196 | tc08-64B-2t2c-eth-l2xcbase-testpmd-pdrdisc
197 | | [Documentation]
198 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads, 2 phy\
199 | | ... | cores, 1 receive queue per NIC port.
200 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\
201 | | ... | linerate, step 100kpps, LT=0.5%.
202 | | ...
203 | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
204 | | ...
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 Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no'
212 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
213 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
214 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
215 | | ... | ${perf_pdr_loss_acceptance_type}
216
217 | tc09-1518B-2t2c-eth-l2xcbase-testpmd-ndrdisc
218 | | [Documentation]
219 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads, 2 phy\
220 | | ... | cores, 1 receive queue per NIC port.
221 | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\
222 | | ... | linerate, step 10kpps.
223 | | ...
224 | | [Tags] | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
225 | | ...
226 | | ${framesize}= | Set Variable | ${1518}
227 | | ${min_rate}= | Set Variable | ${10000}
228 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
229 | | ${binary_min}= | Set Variable | ${min_rate}
230 | | ${binary_max}= | Set Variable | ${max_rate}
231 | | ${threshold}= | Set Variable | ${min_rate}
232 | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no'
233 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
234 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
235 | | ... | ${threshold}
236
237 | tc10-1518B-2t2c-eth-l2xcbase-testpmd-pdrdisc
238 | | [Documentation]
239 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads, 2 phy\
240 | | ... | cores, 1 receive queue per NIC port.
241 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\
242 | | ... | linerate, step 10kpps, LT=0.5%.
243 | | ...
244 | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
245 | | ...
246 | | ${framesize}= | Set Variable | ${1518}
247 | | ${min_rate}= | Set Variable | ${10000}
248 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
249 | | ${binary_min}= | Set Variable | ${min_rate}
250 | | ${binary_max}= | Set Variable | ${max_rate}
251 | | ${threshold}= | Set Variable | ${min_rate}
252 | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no'
253 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
254 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
255 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
256 | | ... | ${perf_pdr_loss_acceptance_type}
257
258 | tc11-9000B-2t2c-eth-l2xcbase-testpmd-ndrdisc
259 | | [Documentation]
260 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads, 2 phy\
261 | | ... | cores, 1 receive queue per NIC port.
262 | | ... | [Ver] Find NDR for 9000 Byte frames using binary search start at 10GE\
263 | | ... | linerate, step 10kpps.
264 | | ...
265 | | [Tags] | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
266 | | ...
267 | | ${framesize}= | Set Variable | ${9000}
268 | | ${min_rate}= | Set Variable | ${10000}
269 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
270 | | ${binary_min}= | Set Variable | ${min_rate}
271 | | ${binary_max}= | Set Variable | ${max_rate}
272 | | ${threshold}= | Set Variable | ${min_rate}
273 | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'yes'
274 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
275 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
276 | | ... | ${threshold}
277
278 | tc12-9000B-2t2c-eth-l2xcbase-testpmd-pdrdisc
279 | | [Documentation]
280 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads, 2 phy\
281 | | ... | cores, 1 receive queue per NIC port.
282 | | ... | [Ver] Find PDR for 9000 Byte frames using binary search start at 10GE\
283 | | ... | linerate, step 10kpps, LT=0.5%.
284 | | ...
285 | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
286 | | ...
287 | | ${framesize}= | Set Variable | ${9000}
288 | | ${min_rate}= | Set Variable | ${10000}
289 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
290 | | ${binary_min}= | Set Variable | ${min_rate}
291 | | ${binary_max}= | Set Variable | ${max_rate}
292 | | ${threshold}= | Set Variable | ${min_rate}
293 | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'yes'
294 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
295 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
296 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
297 | | ... | ${perf_pdr_loss_acceptance_type}
298
299 | tc13-64B-4t4c-eth-l2xcbase-testpmd-ndrdisc
300 | | [Documentation]
301 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads, 4 phy\
302 | | ... | cores, 2 receive queues per NIC port.
303 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\
304 | | ... | linerate, step 100kpps.
305 | | ...
306 | | [Tags] | 4T4C | MTHREAD | NDRDISC
307 | | ...
308 | | ${framesize}= | Set Variable | ${64}
309 | | ${min_rate}= | Set Variable | ${100000}
310 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
311 | | ${binary_min}= | Set Variable | ${min_rate}
312 | | ${binary_max}= | Set Variable | ${max_rate}
313 | | ${threshold}= | Set Variable | ${min_rate}
314 | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no'
315 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
316 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
317 | | ... | ${threshold}
318
319 | tc14-64B-4t4c-eth-l2xcbase-testpmd-pdrdisc
320 | | [Documentation]
321 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads, 4 phy\
322 | | ... | cores, 2 receive queues per NIC port.
323 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\
324 | | ... | linerate, step 100kpps, LT=0.5%.
325 | | ...
326 | | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
327 | | ...
328 | | ${framesize}= | Set Variable | ${64}
329 | | ${min_rate}= | Set Variable | ${100000}
330 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
331 | | ${binary_min}= | Set Variable | ${min_rate}
332 | | ${binary_max}= | Set Variable | ${max_rate}
333 | | ${threshold}= | Set Variable | ${min_rate}
334 | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no'
335 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
336 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
337 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
338 | | ... | ${perf_pdr_loss_acceptance_type}
339
340 | tc15-1518B-4t4c-eth-l2xcbase-testpmd-ndrdisc
341 | | [Documentation]
342 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads, 4 phy\
343 | | ... | cores, 2 receive queues per NIC port.
344 | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\
345 | | ... | linerate, step 10kpps.
346 | | ...
347 | | [Tags] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
348 | | ...
349 | | ${framesize}= | Set Variable | ${1518}
350 | | ${min_rate}= | Set Variable | ${10000}
351 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
352 | | ${binary_min}= | Set Variable | ${min_rate}
353 | | ${binary_max}= | Set Variable | ${max_rate}
354 | | ${threshold}= | Set Variable | ${min_rate}
355 | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no'
356 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
357 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
358 | | ... | ${threshold}
359
360 | tc16-1518B-4t4c-eth-l2xcbase-testpmd-pdrdisc
361 | | [Documentation]
362 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads, 4 phy\
363 | | ... | cores, 2 receive queues per NIC port.
364 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\
365 | | ... | linerate, step 10kpps, LT=0.5%.
366 | | ...
367 | | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
368 | | ...
369 | | ${framesize}= | Set Variable | ${1518}
370 | | ${min_rate}= | Set Variable | ${10000}
371 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
372 | | ${binary_min}= | Set Variable | ${min_rate}
373 | | ${binary_max}= | Set Variable | ${max_rate}
374 | | ${threshold}= | Set Variable | ${min_rate}
375 | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no'
376 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
377 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
378 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
379 | | ... | ${perf_pdr_loss_acceptance_type}
380
381 | tc17-9000B-4t4c-eth-l2xcbase-testpmd-ndrdisc
382 | | [Documentation]
383 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads, 4 phy\
384 | | ... | cores, 2 receive queues per NIC port.
385 | | ... | [Ver] Find NDR for 9000 Byte frames using binary search start at 10GE\
386 | | ... | linerate, step 10kpps.
387 | | ...
388 | | [Tags] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
389 | | ...
390 | | ${framesize}= | Set Variable | ${9000}
391 | | ${min_rate}= | Set Variable | ${10000}
392 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
393 | | ${binary_min}= | Set Variable | ${min_rate}
394 | | ${binary_max}= | Set Variable | ${max_rate}
395 | | ${threshold}= | Set Variable | ${min_rate}
396 | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'yes'
397 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
398 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
399 | | ... | ${threshold}
400
401 | tc18-9000B-4t4c-eth-l2xcbase-testpmd-pdrdisc
402 | | [Documentation]
403 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads, 4 phy\
404 | | ... | cores, 2 receive queues per NIC port.
405 | | ... | [Ver] Find PDR for 9000 Byte frames using binary search start at 10GE\
406 | | ... | linerate, step 5kpps, LT=0.5%.
407 | | ...
408 | | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
409 | | ...
410 | | ${framesize}= | Set Variable | ${9000}
411 | | ${min_rate}= | Set Variable | ${10000}
412 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
413 | | ${binary_min}= | Set Variable | ${min_rate}
414 | | ${binary_max}= | Set Variable | ${max_rate}
415 | | ${threshold}= | Set Variable | ${min_rate}
416 | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'yes'
417 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
418 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
419 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
420 | | ... | ${perf_pdr_loss_acceptance_type}