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