CSIT-387 collect HW stats if binary search fails
[csit.git] / tests / perf / Long_Xconnect_Vxlan_Ipv4_Intel-X520-DA2.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 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_LONG
17 | ...        | NIC_Intel-X520-DA2
18 | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
19 | ... | L2 | Intel-X520-DA2
20 | Suite Teardown | 3-node Performance Suite Teardown
21 | Test Setup | Setup all DUTs before test
22 | Test Teardown | Run Keywords
23 | ...           | Run Keyword If Test Failed
24 | ...           | Traffic should pass with no loss | 10
25 | ...           | ${min_rate}pps | ${framesize} | 3-node-xconnect
26 | ...           | fail_on_loss=${False}
27 | ...           | AND | Remove startup configuration of VPP from all DUTs
28 | ...           | AND | Show vpp trace dump on all DUTs
29 | Documentation | *RFC2544: Pkt throughput L2XC with VXLANoIPv4 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 L2 cross-connect on TG-DUTn.
34 | ... | Eth-IPv4-VXLAN-Eth-IPv4 is applied on link between DUT1 and DUT2.
35 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with L2 cross-
36 | ... | connect. VXLAN tunnels are configured between L2XCs on DUT1 and DUT2.
37 | ... | DUT1 and DUT2 tested with 2p10GE NIC X520 Niantic by Intel.
38 | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop
39 | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop
40 | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage
41 | ... | of packets transmitted. NDR and PDR are discovered for different
42 | ... | Ethernet L2 frame sizes using either binary search or linear search
43 | ... | algorithms with configured starting rate and final step that determines
44 | ... | throughput measurement resolution. Test packets are generated by TG on
45 | ... | links to DUTs. TG traffic profile contains two L3 flow-groups
46 | ... | (flow-group per direction, 253 flows per flow-group) with all packets
47 | ... | containing Ethernet header, IPv4 header with IP protocol=61 and
48 | ... | generated payload. MAC addresses are matching MAC addresses of the TG
49 | ... | node interfaces.
50 | ... | *[Ref] Applicable standard specifications:* RFC2544, RFC7348.
51
52 *** Test Cases ***
53 | TC01: 64B NDR binary search - DUT L2XC with VXLANoIPv4 - 1thread 1core 1rxq
54 | | [Documentation]
55 | | ... | [Cfg] DUT runs L2XC 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] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
59 | | ${framesize}= | Set Variable | 64
60 | | ${min_rate}= | Set Variable | 100000
61 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_114B}
62 | | ${binary_min}= | Set Variable | ${min_rate}
63 | | ${binary_max}= | Set Variable | ${max_rate}
64 | | ${threshold}= | Set Variable | ${min_rate}
65 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
66 | | And   Add PCI devices to DUTs from 3-node single link topology
67 | | And   Add No Multi Seg to all DUTs
68 | | And   Apply startup configuration on all VPP DUTs
69 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
70 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
71 | | ...                                       | ${binary_max} | 3-node-xconnect
72 | | ...                                       | ${min_rate} | ${max_rate}
73 | | ...                                       | ${threshold}
74
75 | TC02: 64B PDR binary search - DUT L2XC with VXLANoIPv4 - 1thread 1core 1rxq
76 | | [Documentation]
77 | | ... | [Cfg] DUT runs L2XC forwarding config with 1 thread, 1 phy core, \
78 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames
79 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
80 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH
81 | | ${framesize}= | Set Variable | 64
82 | | ${min_rate}= | Set Variable | 100000
83 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_114B}
84 | | ${binary_min}= | Set Variable | ${min_rate}
85 | | ${binary_max}= | Set Variable | ${max_rate}
86 | | ${threshold}= | Set Variable | ${min_rate}
87 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
88 | | And   Add PCI devices to DUTs from 3-node single link topology
89 | | And   Add No Multi Seg to all DUTs
90 | | And   Apply startup configuration on all VPP DUTs
91 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
92 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
93 | | ...                                       | ${binary_max} | 3-node-xconnect
94 | | ...                                       | ${min_rate} | ${max_rate}
95 | | ...                                       | ${threshold}
96 | | ...                                       | ${glob_loss_acceptance}
97 | | ...                                       | ${glob_loss_acceptance_type}
98
99 | TC03: 1518B NDR binary search - DUT L2XC with VXLANoIPv4 - 1thread 1core 1rxq
100 | | [Documentation]
101 | | ... | [Cfg] DUT runs L2XC forwarding config with 1 thread, 1 phy core, \
102 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
103 | | ... | using binary search start at 10GE linerate, step 10kpps.
104 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
105 | | ${framesize}= | Set Variable | 1518
106 | | ${min_rate}= | Set Variable | 10000
107 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1568B}
108 | | ${binary_min}= | Set Variable | ${min_rate}
109 | | ${binary_max}= | Set Variable | ${max_rate}
110 | | ${threshold}= | Set Variable | ${min_rate}
111 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
112 | | And   Add PCI devices to DUTs from 3-node single link topology
113 | | And   Apply startup configuration on all VPP DUTs
114 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
115 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
116 | | ...                                       | ${binary_max} | 3-node-xconnect
117 | | ...                                       | ${min_rate} | ${max_rate}
118 | | ...                                       | ${threshold}
119
120 | TC04: 1518B PDR binary search - DUT L2XC with VXLANoIPv4 - 1thread 1core 1rxq
121 | | [Documentation]
122 | | ... | [Cfg] DUT runs L2XC forwarding config with 1 thread, 1 phy core, \
123 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
124 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
125 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH
126 | | ${framesize}= | Set Variable | 1518
127 | | ${min_rate}= | Set Variable | 10000
128 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1568B}
129 | | ${binary_min}= | Set Variable | ${min_rate}
130 | | ${binary_max}= | Set Variable | ${max_rate}
131 | | ${threshold}= | Set Variable | ${min_rate}
132 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
133 | | And   Add PCI devices to DUTs from 3-node single link topology
134 | | And   Apply startup configuration on all VPP DUTs
135 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
136 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
137 | | ...                                       | ${binary_max} | 3-node-xconnect
138 | | ...                                       | ${min_rate} | ${max_rate}
139 | | ...                                       | ${threshold}
140 | | ...                                       | ${glob_loss_acceptance}
141 | | ...                                       | ${glob_loss_acceptance_type}
142
143 | TC05: 9000B NDR binary search - DUT L2XC with VXLANoIPv4 - 1thread 1core 1rxq
144 | | [Documentation]
145 | | ... | [Cfg] DUT runs L2XC forwarding config with 1 thread, 1 phy core, \
146 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
147 | | ... | using binary search start at 10GE linerate, step 5kpps.
148 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
149 | | ${framesize}= | Set Variable | 9000
150 | | ${min_rate}= | Set Variable | 5000
151 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9050B}
152 | | ${binary_min}= | Set Variable | ${min_rate}
153 | | ${binary_max}= | Set Variable | ${max_rate}
154 | | ${threshold}= | Set Variable | ${min_rate}
155 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
156 | | And   Add PCI devices to DUTs from 3-node single link topology
157 | | And   Apply startup configuration on all VPP DUTs
158 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
159 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
160 | | ...                                       | ${binary_max} | 3-node-xconnect
161 | | ...                                       | ${min_rate} | ${max_rate}
162 | | ...                                       | ${threshold}
163
164 | TC06: 9000B PDR binary search - DUT L2XC with VXLANoIPv4 - 1thread 1core 1rxq
165 | | [Documentation]
166 | | ... | [Cfg] DUT runs L2XC forwarding config with 1 thread, 1 phy core, \
167 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
168 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
169 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH
170 | | ${framesize}= | Set Variable | 9000
171 | | ${min_rate}= | Set Variable | 5000
172 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9050B}
173 | | ${binary_min}= | Set Variable | ${min_rate}
174 | | ${binary_max}= | Set Variable | ${max_rate}
175 | | ${threshold}= | Set Variable | ${min_rate}
176 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
177 | | And   Add PCI devices to DUTs from 3-node single link topology
178 | | And   Apply startup configuration on all VPP DUTs
179 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
180 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
181 | | ...                                       | ${binary_max} | 3-node-xconnect
182 | | ...                                       | ${min_rate} | ${max_rate}
183 | | ...                                       | ${threshold}
184 | | ...                                       | ${glob_loss_acceptance}
185 | | ...                                       | ${glob_loss_acceptance_type}
186
187 | TC07: 64B NDR binary search - DUT L2XC with VXLANoIPv4 - 2threads 2cores 1rxq
188 | | [Documentation]
189 | | ... | [Cfg] DUT runs L2XC forwarding config with 2 threads, 2 phy cores, \
190 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames
191 | | ... | using binary search start at 10GE linerate, step 100kpps.
192 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
193 | | ${framesize}= | Set Variable | 64
194 | | ${min_rate}= | Set Variable | 100000
195 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_114B}
196 | | ${binary_min}= | Set Variable | ${min_rate}
197 | | ${binary_max}= | Set Variable | ${max_rate}
198 | | ${threshold}= | Set Variable | ${min_rate}
199 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
200 | | And   Add PCI devices to DUTs from 3-node single link topology
201 | | And   Add No Multi Seg to all DUTs
202 | | And   Apply startup configuration on all VPP DUTs
203 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
204 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
205 | | ...                                       | ${binary_max} | 3-node-xconnect
206 | | ...                                       | ${min_rate} | ${max_rate}
207 | | ...                                       | ${threshold}
208
209 | TC08: 64B PDR binary search - DUT L2XC with VXLANoIPv4 - 2threads 2cores 1rxq
210 | | [Documentation]
211 | | ... | [Cfg] DUT runs L2XC forwarding config with 2 threads, 2 phy cores, \
212 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames
213 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
214 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH
215 | | ${framesize}= | Set Variable | 64
216 | | ${min_rate}= | Set Variable | 100000
217 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_114B}
218 | | ${binary_min}= | Set Variable | ${min_rate}
219 | | ${binary_max}= | Set Variable | ${max_rate}
220 | | ${threshold}= | Set Variable | ${min_rate}
221 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
222 | | And   Add PCI devices to DUTs from 3-node single link topology
223 | | And   Add No Multi Seg to all DUTs
224 | | And   Apply startup configuration on all VPP DUTs
225 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
226 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
227 | | ...                                       | ${binary_max} | 3-node-xconnect
228 | | ...                                       | ${min_rate} | ${max_rate}
229 | | ...                                       | ${threshold}
230 | | ...                                       | ${glob_loss_acceptance}
231 | | ...                                       | ${glob_loss_acceptance_type}
232
233 | TC09: 1518B NDR binary search - DUT L2XC with VXLANoIPv4 - 2threads 2cores 1rxq
234 | | [Documentation]
235 | | ... | [Cfg] DUT runs L2XC forwarding config with 2 threads, 2 phy cores, \
236 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
237 | | ... | using binary search start at 10GE linerate, step 10kpps.
238 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH
239 | | ${framesize}= | Set Variable | 1518
240 | | ${min_rate}= | Set Variable | 10000
241 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1568B}
242 | | ${binary_min}= | Set Variable | ${min_rate}
243 | | ${binary_max}= | Set Variable | ${max_rate}
244 | | ${threshold}= | Set Variable | ${min_rate}
245 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
246 | | And   Add PCI devices to DUTs from 3-node single link topology
247 | | And   Apply startup configuration on all VPP DUTs
248 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
249 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
250 | | ...                                       | ${binary_max} | 3-node-xconnect
251 | | ...                                       | ${min_rate} | ${max_rate}
252 | | ...                                       | ${threshold}
253
254 | TC10: 1518B PDR binary search - DUT L2XC with VXLANoIPv4 - 2threads 2cores 1rxq
255 | | [Documentation]
256 | | ... | [Cfg] DUT runs L2XC forwarding config with 2 threads, 2 phy cores, \
257 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
258 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
259 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH
260 | | ${framesize}= | Set Variable | 1518
261 | | ${min_rate}= | Set Variable | 10000
262 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1568B}
263 | | ${binary_min}= | Set Variable | ${min_rate}
264 | | ${binary_max}= | Set Variable | ${max_rate}
265 | | ${threshold}= | Set Variable | ${min_rate}
266 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
267 | | And   Add PCI devices to DUTs from 3-node single link topology
268 | | And   Apply startup configuration on all VPP DUTs
269 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
270 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
271 | | ...                                       | ${binary_max} | 3-node-xconnect
272 | | ...                                       | ${min_rate} | ${max_rate}
273 | | ...                                       | ${threshold}
274 | | ...                                       | ${glob_loss_acceptance}
275 | | ...                                       | ${glob_loss_acceptance_type}
276
277 | TC11: 9000B NDR binary search - DUT L2XC with VXLANoIPv4 - 2threads 2cores 1rxq
278 | | [Documentation]
279 | | ... | [Cfg] DUT runs L2XC forwarding config with 2 threads, 2 phy cores, \
280 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
281 | | ... | using binary search start at 10GE linerate, step 5kpps.
282 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH
283 | | ${framesize}= | Set Variable | 9000
284 | | ${min_rate}= | Set Variable | 5000
285 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9050B}
286 | | ${binary_min}= | Set Variable | ${min_rate}
287 | | ${binary_max}= | Set Variable | ${max_rate}
288 | | ${threshold}= | Set Variable | ${min_rate}
289 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
290 | | And   Add PCI devices to DUTs from 3-node single link topology
291 | | And   Apply startup configuration on all VPP DUTs
292 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
293 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
294 | | ...                                       | ${binary_max} | 3-node-xconnect
295 | | ...                                       | ${min_rate} | ${max_rate}
296 | | ...                                       | ${threshold}
297
298 | TC12: 9000B PDR binary search - DUT L2XC with VXLANoIPv4 - 2threads 2cores 1rxq
299 | | [Documentation]
300 | | ... | [Cfg] DUT runs L2XC forwarding config with 2 threads, 2 phy cores, \
301 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
302 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
303 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH
304 | | ${framesize}= | Set Variable | 9000
305 | | ${min_rate}= | Set Variable | 5000
306 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9050B}
307 | | ${binary_min}= | Set Variable | ${min_rate}
308 | | ${binary_max}= | Set Variable | ${max_rate}
309 | | ${threshold}= | Set Variable | ${min_rate}
310 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
311 | | And   Add PCI devices to DUTs from 3-node single link topology
312 | | And   Apply startup configuration on all VPP DUTs
313 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
314 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
315 | | ...                                       | ${binary_max} | 3-node-xconnect
316 | | ...                                       | ${min_rate} | ${max_rate}
317 | | ...                                       | ${threshold}
318 | | ...                                       | ${glob_loss_acceptance}
319 | | ...                                       | ${glob_loss_acceptance_type}
320
321 | TC13: 64B NDR binary search - DUT L2XC with VXLANoIPv4 - 4threads 4cores 2rxq
322 | | [Documentation]
323 | | ... | [Cfg] DUT runs L2XC forwarding config with 4 threads, 4 phy cores, \
324 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 64 Byte frames
325 | | ... | using binary search start at 10GE linerate, step 100kpps.
326 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
327 | | ${framesize}= | Set Variable | 64
328 | | ${min_rate}= | Set Variable | 100000
329 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_114B}
330 | | ${binary_min}= | Set Variable | ${min_rate}
331 | | ${binary_max}= | Set Variable | ${max_rate}
332 | | ${threshold}= | Set Variable | ${min_rate}
333 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
334 | | And   Add PCI devices to DUTs from 3-node single link topology
335 | | And   Add No Multi Seg to all DUTs
336 | | And   Apply startup configuration on all VPP DUTs
337 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
338 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
339 | | ...                                       | ${binary_max} | 3-node-xconnect
340 | | ...                                       | ${min_rate} | ${max_rate}
341 | | ...                                       | ${threshold}
342
343 | TC14: 64B PDR binary search - DUT L2XC with VXLANoIPv4 - 4threads 4cores 2rxq
344 | | [Documentation]
345 | | ... | [Cfg] DUT runs L2XC forwarding config with 4 threads, 4 phy cores, \
346 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 64 Byte frames
347 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
348 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH
349 | | ${framesize}= | Set Variable | 64
350 | | ${min_rate}= | Set Variable | 100000
351 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_114B}
352 | | ${binary_min}= | Set Variable | ${min_rate}
353 | | ${binary_max}= | Set Variable | ${max_rate}
354 | | ${threshold}= | Set Variable | ${min_rate}
355 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
356 | | And   Add PCI devices to DUTs from 3-node single link topology
357 | | And   Add No Multi Seg to all DUTs
358 | | And   Apply startup configuration on all VPP DUTs
359 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
360 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
361 | | ...                                       | ${binary_max} | 3-node-xconnect
362 | | ...                                       | ${min_rate} | ${max_rate}
363 | | ...                                       | ${threshold}
364 | | ...                                       | ${glob_loss_acceptance}
365 | | ...                                       | ${glob_loss_acceptance_type}
366
367 | TC15: 1518B NDR binary search - DUT L2XC with VXLANoIPv4 - 4threads 4cores 2rxq
368 | | [Documentation]
369 | | ... | [Cfg] DUT runs L2XC forwarding config with 4 threads, 4 phy cores, \
370 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte frames
371 | | ... | using binary search start at 10GE linerate, step 10kpps.
372 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH
373 | | ${framesize}= | Set Variable | 1518
374 | | ${min_rate}= | Set Variable | 10000
375 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1568B}
376 | | ${binary_min}= | Set Variable | ${min_rate}
377 | | ${binary_max}= | Set Variable | ${max_rate}
378 | | ${threshold}= | Set Variable | ${min_rate}
379 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
380 | | And   Add PCI devices to DUTs from 3-node single link topology
381 | | And   Apply startup configuration on all VPP DUTs
382 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
383 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
384 | | ...                                       | ${binary_max} | 3-node-xconnect
385 | | ...                                       | ${min_rate} | ${max_rate}
386 | | ...                                       | ${threshold}
387
388 | TC16: 1518B PDR binary search - DUT L2XC with VXLANoIPv4 - 4threads 4cores 2rxq
389 | | [Documentation]
390 | | ... | [Cfg] DUT runs L2XC forwarding config with 4 threads, 4 phy cores, \
391 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 1518 Byte frames
392 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
393 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH
394 | | ${framesize}= | Set Variable | 1518
395 | | ${min_rate}= | Set Variable | 10000
396 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1568B}
397 | | ${binary_min}= | Set Variable | ${min_rate}
398 | | ${binary_max}= | Set Variable | ${max_rate}
399 | | ${threshold}= | Set Variable | ${min_rate}
400 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
401 | | And   Add PCI devices to DUTs from 3-node single link topology
402 | | And   Apply startup configuration on all VPP DUTs
403 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
404 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
405 | | ...                                       | ${binary_max} | 3-node-xconnect
406 | | ...                                       | ${min_rate} | ${max_rate}
407 | | ...                                       | ${threshold}
408 | | ...                                       | ${glob_loss_acceptance}
409 | | ...                                       | ${glob_loss_acceptance_type}
410
411 | TC17: 9000B NDR binary search - DUT L2XC with VXLANoIPv4 - 4threads 4cores 2rxq
412 | | [Documentation]
413 | | ... | [Cfg] DUT runs L2XC forwarding config with 4 threads, 4 phy cores, \
414 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 9000 Byte frames
415 | | ... | using binary search start at 10GE linerate, step 5kpps.
416 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH
417 | | ${framesize}= | Set Variable | 9000
418 | | ${min_rate}= | Set Variable | 5000
419 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9050B}
420 | | ${binary_min}= | Set Variable | ${min_rate}
421 | | ${binary_max}= | Set Variable | ${max_rate}
422 | | ${threshold}= | Set Variable | ${min_rate}
423 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
424 | | And   Add PCI devices to DUTs from 3-node single link topology
425 | | And   Apply startup configuration on all VPP DUTs
426 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
427 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
428 | | ...                                       | ${binary_max} | 3-node-xconnect
429 | | ...                                       | ${min_rate} | ${max_rate}
430 | | ...                                       | ${threshold}
431
432 | TC18: 9000B PDR binary search - DUT L2XC with VXLANoIPv4 - 4threads 4cores 2rxq
433 | | [Documentation]
434 | | ... | [Cfg] DUT runs L2XC forwarding config with 4 threads, 4 phy cores, \
435 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 9000 Byte frames
436 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
437 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH
438 | | ${framesize}= | Set Variable | 9000
439 | | ${min_rate}= | Set Variable | 5000
440 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9050B}
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 rxqueues '2' without HTT to all DUTs
445 | | And   Add PCI devices to DUTs from 3-node single link topology
446 | | And   Apply startup configuration on all VPP DUTs
447 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
448 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
449 | | ...                                       | ${binary_max} | 3-node-xconnect
450 | | ...                                       | ${min_rate} | ${max_rate}
451 | | ...                                       | ${threshold}
452 | | ...                                       | ${glob_loss_acceptance}
453 | | ...                                       | ${glob_loss_acceptance_type}