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