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