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