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