021e12695b7c073a72806d619271a77cea853d7e
[csit.git] / tests / suites / performance / Long_Xconnect_Dot1q_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 | Resource | resources/libraries/robot/tagging.robot
17 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_LONG
18 | ...        | NIC_Intel-X520-DA2
19 | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
20 | ... | L2 | Intel-X520-DA2
21 | Suite Teardown | 3-node Performance Suite Teardown
22 | Test Setup | Setup all DUTs before test
23 | Test Teardown | Run Keywords | Remove startup configuration of VPP from all DUTs
24 | ...           | AND          | Show vpp trace dump on all DUTs
25 | Documentation | *RFC2544: Pkt throughput L2XC test cases*
26 | ...
27 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology
28 | ... | with single links between nodes.
29 | ... | *[Enc] Packet Encapsulations:* Eth-IPv4 for L2 switching of IPv4.
30 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with L2 cross-
31 | ... | connect. DUT1 and DUT2 tested with 2p10GE NIC X520 Niantic by Intel.
32 | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop
33 | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop
34 | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage
35 | ... | of packets transmitted. NDR and PDR are discovered for different
36 | ... | Ethernet L2 frame sizes using either binary search or linear search
37 | ... | algorithms with configured starting rate and final step that determines
38 | ... | throughput measurement resolution. Test packets are generated by TG on
39 | ... | links to DUTs. TG traffic profile contains two L3 flow-groups
40 | ... | (flow-group per direction, 253 flows per flow-group) with all packets
41 | ... | containing Ethernet header, IPv4 header with IP protocol=61 and static
42 | ... | payload. MAC addresses are matching MAC addresses of the TG node
43 | ... | interfaces.
44 | ... | *[Ref] Applicable standard specifications:* RFC2544.
45
46 *** Variables ***
47 | ${subid}= | 10
48 | ${tag_rewrite}= | pop-1
49
50 *** Test Cases ***
51 | TC01: 64B NDR binary search - DUT L2XC with dot1q - 1thread 1core 1rxq
52 | | [Documentation]
53 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core, \
54 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames
55 | | ... | using binary search start at 10GE linerate, step 100kpps.
56 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
57 | | ${framesize}= | Set Variable | 64
58 | | ${min_rate}= | Set Variable | 100000
59 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_68B}
60 | | ${binary_min}= | Set Variable | ${min_rate}
61 | | ${binary_max}= | Set Variable | ${max_rate}
62 | | ${threshold}= | Set Variable | ${min_rate}
63 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
64 | | And   Add all PCI devices to all DUTs
65 | | And   Add No Multi Seg to all DUTs
66 | | And   Apply startup configuration on all VPP DUTs
67 | | And   VPP interfaces in path are up
68 | | When VLAN dot1q subinterfaces initialized on 3-node topology
69 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
70 | | And L2 tag rewrite method setup on interfaces
71 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
72 | | ... | ${tag_rewrite}
73 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
74 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
75 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
76 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
77 | | ...                                       | ${binary_max} | 3-node-xconnect
78 | | ...                                       | ${min_rate} | ${max_rate}
79 | | ...                                       | ${threshold}
80
81 | TC02: 64B PDR binary search - DUT L2XC with dot1q - 1thread 1core 1rxq
82 | | [Documentation]
83 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core, \
84 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames
85 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
86 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR
87 | | ${framesize}= | Set Variable | 64
88 | | ${min_rate}= | Set Variable | 100000
89 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_68B}
90 | | ${binary_min}= | Set Variable | ${min_rate}
91 | | ${binary_max}= | Set Variable | ${max_rate}
92 | | ${threshold}= | Set Variable | ${min_rate}
93 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
94 | | And   Add all PCI devices to all DUTs
95 | | And   Add No Multi Seg to all DUTs
96 | | And   Apply startup configuration on all VPP DUTs
97 | | And   VPP interfaces in path are up
98 | | When VLAN dot1q subinterfaces initialized on 3-node topology
99 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
100 | | And L2 tag rewrite method setup on interfaces
101 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
102 | | ... | ${tag_rewrite}
103 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
104 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
105 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
106 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
107 | | ...                                       | ${binary_max} | 3-node-xconnect
108 | | ...                                       | ${min_rate} | ${max_rate}
109 | | ...                                       | ${threshold}
110 | | ...                                       | ${glob_loss_acceptance}
111 | | ...                                       | ${glob_loss_acceptance_type}
112
113 | TC03: 1518B NDR binary search - DUT L2XC with dot1q - 1thread 1core 1rxq
114 | | [Documentation]
115 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core, \
116 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
117 | | ... | using binary search start at 10GE linerate, step 10kpps.
118 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
119 | | ${framesize}= | Set Variable | 1518
120 | | ${min_rate}= | Set Variable | 10000
121 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1522B}
122 | | ${binary_min}= | Set Variable | ${min_rate}
123 | | ${binary_max}= | Set Variable | ${max_rate}
124 | | ${threshold}= | Set Variable | ${min_rate}
125 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
126 | | And   Add all PCI devices to all DUTs
127 | | And   Add No Multi Seg to all DUTs
128 | | And   Apply startup configuration on all VPP DUTs
129 | | And   VPP interfaces in path are up
130 | | When VLAN dot1q subinterfaces initialized on 3-node topology
131 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
132 | | And L2 tag rewrite method setup on interfaces
133 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
134 | | ... | ${tag_rewrite}
135 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
136 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
137 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
138 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
139 | | ...                                       | ${binary_max} | 3-node-xconnect
140 | | ...                                       | ${min_rate} | ${max_rate}
141 | | ...                                       | ${threshold}
142
143 | TC04: 1518B PDR binary search - DUT L2XC with dot1q - 1thread 1core 1rxq
144 | | [Documentation]
145 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core, \
146 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
147 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
148 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR
149 | | ${framesize}= | Set Variable | 1518
150 | | ${min_rate}= | Set Variable | 10000
151 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1522B}
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 all PCI devices to all DUTs
157 | | And   Add No Multi Seg to all DUTs
158 | | And   Apply startup configuration on all VPP DUTs
159 | | And   VPP interfaces in path are up
160 | | When VLAN dot1q subinterfaces initialized on 3-node topology
161 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
162 | | And L2 tag rewrite method setup on interfaces
163 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
164 | | ... | ${tag_rewrite}
165 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
166 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
167 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
168 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
169 | | ...                                       | ${binary_max} | 3-node-xconnect
170 | | ...                                       | ${min_rate} | ${max_rate}
171 | | ...                                       | ${threshold}
172 | | ...                                       | ${glob_loss_acceptance}
173 | | ...                                       | ${glob_loss_acceptance_type}
174
175 | TC05: 9000B NDR binary search - DUT L2XC with dot1q - 1thread 1core 1rxq
176 | | [Documentation]
177 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core, \
178 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
179 | | ... | using binary search start at 10GE linerate, step 5kpps.
180 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
181 | | ${framesize}= | Set Variable | 9000
182 | | ${min_rate}= | Set Variable | 5000
183 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9004B}
184 | | ${binary_min}= | Set Variable | ${min_rate}
185 | | ${binary_max}= | Set Variable | ${max_rate}
186 | | ${threshold}= | Set Variable | ${min_rate}
187 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
188 | | And   Add all PCI devices to all DUTs
189 | | And   Apply startup configuration on all VPP DUTs
190 | | And   VPP interfaces in path are up
191 | | When VLAN dot1q subinterfaces initialized on 3-node topology
192 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
193 | | And L2 tag rewrite method setup on interfaces
194 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
195 | | ... | ${tag_rewrite}
196 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
197 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
198 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
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 | TC06: 9000B PDR binary search - DUT L2XC with dot1q - 1thread 1core 1rxq
205 | | [Documentation]
206 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core, \
207 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
208 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
209 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR
210 | | ${framesize}= | Set Variable | 9000
211 | | ${min_rate}= | Set Variable | 5000
212 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9004B}
213 | | ${binary_min}= | Set Variable | ${min_rate}
214 | | ${binary_max}= | Set Variable | ${max_rate}
215 | | ${threshold}= | Set Variable | ${min_rate}
216 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
217 | | And   Add all PCI devices to all DUTs
218 | | And   Apply startup configuration on all VPP DUTs
219 | | And   VPP interfaces in path are up
220 | | When VLAN dot1q subinterfaces initialized on 3-node topology
221 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
222 | | And L2 tag rewrite method setup on interfaces
223 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
224 | | ... | ${tag_rewrite}
225 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
226 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
227 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
228 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
229 | | ...                                       | ${binary_max} | 3-node-xconnect
230 | | ...                                       | ${min_rate} | ${max_rate}
231 | | ...                                       | ${threshold}
232 | | ...                                       | ${glob_loss_acceptance}
233 | | ...                                       | ${glob_loss_acceptance_type}
234
235 | TC07: 64B NDR binary search - DUT L2XC with dot1q - 2threads 2cores 1rxq
236 | | [Documentation]
237 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores, \
238 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames
239 | | ... | using binary search start at 10GE linerate, step 100kpps.
240 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
241 | | ${framesize}= | Set Variable | 64
242 | | ${min_rate}= | Set Variable | 100000
243 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_68B}
244 | | ${binary_min}= | Set Variable | ${min_rate}
245 | | ${binary_max}= | Set Variable | ${max_rate}
246 | | ${threshold}= | Set Variable | ${min_rate}
247 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
248 | | And   Add all PCI devices to all DUTs
249 | | And   Add No Multi Seg to all DUTs
250 | | And   Apply startup configuration on all VPP DUTs
251 | | And   VPP interfaces in path are up
252 | | When VLAN dot1q subinterfaces initialized on 3-node topology
253 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
254 | | And L2 tag rewrite method setup on interfaces
255 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
256 | | ... | ${tag_rewrite}
257 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
258 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
259 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
260 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
261 | | ...                                       | ${binary_max} | 3-node-xconnect
262 | | ...                                       | ${min_rate} | ${max_rate}
263 | | ...                                       | ${threshold}
264
265 | TC08: 64B PDR binary search - DUT L2XC with dot1q - 2threads 2cores 1rxq
266 | | [Documentation]
267 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores, \
268 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames
269 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
270 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR
271 | | ${framesize}= | Set Variable | 64
272 | | ${min_rate}= | Set Variable | 100000
273 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_68B}
274 | | ${binary_min}= | Set Variable | ${min_rate}
275 | | ${binary_max}= | Set Variable | ${max_rate}
276 | | ${threshold}= | Set Variable | ${min_rate}
277 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
278 | | And   Add all PCI devices to all DUTs
279 | | And   Add No Multi Seg to all DUTs
280 | | And   Apply startup configuration on all VPP DUTs
281 | | And   VPP interfaces in path are up
282 | | When VLAN dot1q subinterfaces initialized on 3-node topology
283 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
284 | | And L2 tag rewrite method setup on interfaces
285 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
286 | | ... | ${tag_rewrite}
287 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
288 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
289 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
290 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
291 | | ...                                       | ${binary_max} | 3-node-xconnect
292 | | ...                                       | ${min_rate} | ${max_rate}
293 | | ...                                       | ${threshold}
294 | | ...                                       | ${glob_loss_acceptance}
295 | | ...                                       | ${glob_loss_acceptance_type}
296
297 | TC09: 1518B NDR binary search - DUT L2XC with dot1q - 2threads 2cores 1rxq
298 | | [Documentation]
299 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores, \
300 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
301 | | ... | using binary search start at 10GE linerate, step 10kpps.
302 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
303 | | ${framesize}= | Set Variable | 1518
304 | | ${min_rate}= | Set Variable | 10000
305 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1522B}
306 | | ${binary_min}= | Set Variable | ${min_rate}
307 | | ${binary_max}= | Set Variable | ${max_rate}
308 | | ${threshold}= | Set Variable | ${min_rate}
309 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
310 | | And   Add all PCI devices to all DUTs
311 | | And   Add No Multi Seg to all DUTs
312 | | And   Apply startup configuration on all VPP DUTs
313 | | And   VPP interfaces in path are up
314 | | When VLAN dot1q subinterfaces initialized on 3-node topology
315 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
316 | | And L2 tag rewrite method setup on interfaces
317 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
318 | | ... | ${tag_rewrite}
319 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
320 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
321 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
322 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
323 | | ...                                       | ${binary_max} | 3-node-xconnect
324 | | ...                                       | ${min_rate} | ${max_rate}
325 | | ...                                       | ${threshold}
326
327 | TC10: 1518B PDR binary search - DUT L2XC with dot1q - 2threads 2cores 1rxq
328 | | [Documentation]
329 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores, \
330 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
331 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
332 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR
333 | | ${framesize}= | Set Variable | 1518
334 | | ${min_rate}= | Set Variable | 10000
335 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1522B}
336 | | ${binary_min}= | Set Variable | ${min_rate}
337 | | ${binary_max}= | Set Variable | ${max_rate}
338 | | ${threshold}= | Set Variable | ${min_rate}
339 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
340 | | And   Add all PCI devices to all DUTs
341 | | And   Add No Multi Seg to all DUTs
342 | | And   Apply startup configuration on all VPP DUTs
343 | | And   VPP interfaces in path are up
344 | | When VLAN dot1q subinterfaces initialized on 3-node topology
345 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
346 | | And L2 tag rewrite method setup on interfaces
347 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
348 | | ... | ${tag_rewrite}
349 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
350 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
351 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
352 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
353 | | ...                                       | ${binary_max} | 3-node-xconnect
354 | | ...                                       | ${min_rate} | ${max_rate}
355 | | ...                                       | ${threshold}
356 | | ...                                       | ${glob_loss_acceptance}
357 | | ...                                       | ${glob_loss_acceptance_type}
358
359 | TC11: 9000B NDR binary search - DUT L2XC with dot1q - 2threads 2cores 1rxq
360 | | [Documentation]
361 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores, \
362 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
363 | | ... | using binary search start at 10GE linerate, step 5kpps.
364 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
365 | | ${framesize}= | Set Variable | 9000
366 | | ${min_rate}= | Set Variable | 5000
367 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9004B}
368 | | ${binary_min}= | Set Variable | ${min_rate}
369 | | ${binary_max}= | Set Variable | ${max_rate}
370 | | ${threshold}= | Set Variable | ${min_rate}
371 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
372 | | And   Add all PCI devices to all DUTs
373 | | And   Apply startup configuration on all VPP DUTs
374 | | And   VPP interfaces in path are up
375 | | When VLAN dot1q subinterfaces initialized on 3-node topology
376 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
377 | | And L2 tag rewrite method setup on interfaces
378 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
379 | | ... | ${tag_rewrite}
380 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
381 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
382 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
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 | TC12: 9000B PDR binary search - DUT L2XC with dot1q - 2threads 2cores 1rxq
389 | | [Documentation]
390 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores, \
391 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
392 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
393 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR
394 | | ${framesize}= | Set Variable | 9000
395 | | ${min_rate}= | Set Variable | 5000
396 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9004B}
397 | | ${binary_min}= | Set Variable | ${min_rate}
398 | | ${binary_max}= | Set Variable | ${max_rate}
399 | | ${threshold}= | Set Variable | ${min_rate}
400 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
401 | | And   Add all PCI devices to all DUTs
402 | | And   Apply startup configuration on all VPP DUTs
403 | | And   VPP interfaces in path are up
404 | | When VLAN dot1q subinterfaces initialized on 3-node topology
405 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
406 | | And L2 tag rewrite method setup on interfaces
407 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
408 | | ... | ${tag_rewrite}
409 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
410 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
411 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
412 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
413 | | ...                                       | ${binary_max} | 3-node-xconnect
414 | | ...                                       | ${min_rate} | ${max_rate}
415 | | ...                                       | ${threshold}
416 | | ...                                       | ${glob_loss_acceptance}
417 | | ...                                       | ${glob_loss_acceptance_type}
418
419 | TC13: 64B NDR binary search - DUT L2XC with dot1q - 4threads 4cores 2rxq
420 | | [Documentation]
421 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores, \
422 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 64 Byte frames
423 | | ... | using binary search start at 10GE linerate, step 100kpps.
424 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
425 | | ${framesize}= | Set Variable | 64
426 | | ${min_rate}= | Set Variable | 100000
427 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_68B}
428 | | ${binary_min}= | Set Variable | ${min_rate}
429 | | ${binary_max}= | Set Variable | ${max_rate}
430 | | ${threshold}= | Set Variable | ${min_rate}
431 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
432 | | And   Add all PCI devices to all DUTs
433 | | And   Add No Multi Seg to all DUTs
434 | | And   Apply startup configuration on all VPP DUTs
435 | | And   VPP interfaces in path are up
436 | | When VLAN dot1q subinterfaces initialized on 3-node topology
437 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
438 | | And L2 tag rewrite method setup on interfaces
439 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
440 | | ... | ${tag_rewrite}
441 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
442 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
443 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
444 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
445 | | ...                                       | ${binary_max} | 3-node-xconnect
446 | | ...                                       | ${min_rate} | ${max_rate}
447 | | ...                                       | ${threshold}
448
449 | TC14: 64B PDR binary search - DUT L2XC with dot1q - 4threads 4cores 2rxq
450 | | [Documentation]
451 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores, \
452 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 64 Byte frames
453 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
454 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR
455 | | ${framesize}= | Set Variable | 64
456 | | ${min_rate}= | Set Variable | 100000
457 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_68B}
458 | | ${binary_min}= | Set Variable | ${min_rate}
459 | | ${binary_max}= | Set Variable | ${max_rate}
460 | | ${threshold}= | Set Variable | ${min_rate}
461 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
462 | | And   Add all PCI devices to all DUTs
463 | | And   Add No Multi Seg to all DUTs
464 | | And   Apply startup configuration on all VPP DUTs
465 | | And   VPP interfaces in path are up
466 | | When VLAN dot1q subinterfaces initialized on 3-node topology
467 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
468 | | And L2 tag rewrite method setup on interfaces
469 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
470 | | ... | ${tag_rewrite}
471 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
472 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
473 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
474 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
475 | | ...                                       | ${binary_max} | 3-node-xconnect
476 | | ...                                       | ${min_rate} | ${max_rate}
477 | | ...                                       | ${threshold}
478 | | ...                                       | ${glob_loss_acceptance}
479 | | ...                                       | ${glob_loss_acceptance_type}
480
481 | TC15: 1518B NDR binary search - DUT L2XC with dot1q - 4threads 4cores 2rxq
482 | | [Documentation]
483 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores, \
484 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte frames
485 | | ... | using binary search start at 10GE linerate, step 10kpps.
486 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
487 | | ${framesize}= | Set Variable | 1518
488 | | ${min_rate}= | Set Variable | 10000
489 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1522B}
490 | | ${binary_min}= | Set Variable | ${min_rate}
491 | | ${binary_max}= | Set Variable | ${max_rate}
492 | | ${threshold}= | Set Variable | ${min_rate}
493 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
494 | | And   Add all PCI devices to all DUTs
495 | | And   Add No Multi Seg to all DUTs
496 | | And   Apply startup configuration on all VPP DUTs
497 | | And   VPP interfaces in path are up
498 | | When VLAN dot1q subinterfaces initialized on 3-node topology
499 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
500 | | And L2 tag rewrite method setup on interfaces
501 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
502 | | ... | ${tag_rewrite}
503 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
504 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
505 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
506 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
507 | | ...                                       | ${binary_max} | 3-node-xconnect
508 | | ...                                       | ${min_rate} | ${max_rate}
509 | | ...                                       | ${threshold}
510
511 | TC16: 1518B PDR binary search - DUT L2XC with dot1q - 4threads 4cores 2rxq
512 | | [Documentation]
513 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores, \
514 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 1518 Byte frames
515 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
516 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR
517 | | ${framesize}= | Set Variable | 1518
518 | | ${min_rate}= | Set Variable | 10000
519 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1522B}
520 | | ${binary_min}= | Set Variable | ${min_rate}
521 | | ${binary_max}= | Set Variable | ${max_rate}
522 | | ${threshold}= | Set Variable | ${min_rate}
523 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
524 | | And   Add all PCI devices to all DUTs
525 | | And   Add No Multi Seg to all DUTs
526 | | And   Apply startup configuration on all VPP DUTs
527 | | And   VPP interfaces in path are up
528 | | When VLAN dot1q subinterfaces initialized on 3-node topology
529 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
530 | | And L2 tag rewrite method setup on interfaces
531 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
532 | | ... | ${tag_rewrite}
533 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
534 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
535 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
536 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
537 | | ...                                       | ${binary_max} | 3-node-xconnect
538 | | ...                                       | ${min_rate} | ${max_rate}
539 | | ...                                       | ${threshold}
540 | | ...                                       | ${glob_loss_acceptance}
541 | | ...                                       | ${glob_loss_acceptance_type}
542
543 | TC17: 9000B NDR binary search - DUT L2XC with dot1q - 4threads 4cores 2rxq
544 | | [Documentation]
545 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores, \
546 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 9000 Byte frames
547 | | ... | using binary search start at 10GE linerate, step 5kpps.
548 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
549 | | ${framesize}= | Set Variable | 9000
550 | | ${min_rate}= | Set Variable | 5000
551 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9004B}
552 | | ${binary_min}= | Set Variable | ${min_rate}
553 | | ${binary_max}= | Set Variable | ${max_rate}
554 | | ${threshold}= | Set Variable | ${min_rate}
555 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
556 | | And   Add all PCI devices to all DUTs
557 | | And   Apply startup configuration on all VPP DUTs
558 | | And   VPP interfaces in path are up
559 | | When VLAN dot1q subinterfaces initialized on 3-node topology
560 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
561 | | And L2 tag rewrite method setup on interfaces
562 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
563 | | ... | ${tag_rewrite}
564 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
565 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
566 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
567 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
568 | | ...                                       | ${binary_max} | 3-node-xconnect
569 | | ...                                       | ${min_rate} | ${max_rate}
570 | | ...                                       | ${threshold}
571
572 | TC18: 9000B PDR binary search - DUT L2XC with dot1q - 4threads 4cores 2rxq
573 | | [Documentation]
574 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores, \
575 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 9000 Byte frames
576 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
577 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR
578 | | ${framesize}= | Set Variable | 9000
579 | | ${min_rate}= | Set Variable | 5000
580 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9004B}
581 | | ${binary_min}= | Set Variable | ${min_rate}
582 | | ${binary_max}= | Set Variable | ${max_rate}
583 | | ${threshold}= | Set Variable | ${min_rate}
584 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
585 | | And   Add all PCI devices to all DUTs
586 | | And   Apply startup configuration on all VPP DUTs
587 | | And   VPP interfaces in path are up
588 | | When VLAN dot1q subinterfaces initialized on 3-node topology
589 | | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid}
590 | | And L2 tag rewrite method setup on interfaces
591 | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2}
592 | | ... | ${tag_rewrite}
593 | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect
594 | | ... | ${dut1} | ${dut1_if1} | ${subif_index_1}
595 | | ... | ${dut2} | ${dut2_if2} | ${subif_index_2}
596 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
597 | | ...                                       | ${binary_max} | 3-node-xconnect
598 | | ...                                       | ${min_rate} | ${max_rate}
599 | | ...                                       | ${threshold}
600 | | ...                                       | ${glob_loss_acceptance}
601 | | ...                                       | ${glob_loss_acceptance_type}