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