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