CSIT-618 CSIT rls1707 Report - Update I
[csit.git] / tests / vpp / perf / vm_vhost / 10ge2p1x520-dot1q-l2xcbase-eth-2vhostvr1024-1vm-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/performance_setup.robot
16 | Library | resources.libraries.python.NodePath
17 | ...
18 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC
19 | ... | NIC_Intel-X520-DA2 | DOT1Q | L2XCFWD | BASE | VHOST | VM | VHOST_1024
20 | ...
21 | Suite Setup | Set up 3-node performance topology with DUT's NIC model
22 | ... | L2 | Intel-X520-DA2
23 | Suite Teardown | Tear down 3-node performance topology
24 | ...
25 | Test Setup | Set up performance test
26 | Test Teardown | Tear down performance test with vhost and VM with dpdk-testpmd
27 | ... | ${min_rate}pps | ${framesize} | ${traffic_profile}
28 | ... | dut1_node=${dut1} | dut1_vm_refs=${dut1_vm_refs}
29 | ... | dut2_node=${dut2} | dut2_vm_refs=${dut2_vm_refs}
30 | ...
31 | Documentation | *RFC2544: Pkt throughput L2XC test cases with vhost*
32 | ...
33 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology
34 | ... | with single links between nodes.
35 | ... | *[Enc] Packet Encapsulations:* Eth-IPv4 for L2 cross connect. 802.1q
36 | ... | tagging is applied on link between DUT1 and DUT2.
37 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with L2 cross-
38 | ... | connect. Qemu Guest is connected to VPP via vhost-user interfaces.
39 | ... | Guest is running DPDK testpmd interconnecting vhost-user interfaces
40 | ... | using 5 cores pinned to cpus 5-9 and 2048M memory. Testpmd is using
41 | ... | socket-mem=1024M (512x2M hugepages), 5 cores (1 main core and 4 cores
42 | ... | dedicated for io), forwarding mode is set to io, rxd/txd=256,
43 | ... | burst=64. DUT1, DUT2 are tested with 2p10GE NIC X520 Niantic by Intel.
44 | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop
45 | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop
46 | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage
47 | ... | of packets transmitted. NDR and PDR are discovered for different
48 | ... | Ethernet L2 frame sizes using either binary search or linear search
49 | ... | algorithms with configured starting rate and final step that determines
50 | ... | throughput measurement resolution. Test packets are generated by TG on
51 | ... | links to DUTs. TG traffic profile contains two L3 flow-groups
52 | ... | (flow-group per direction, 253 flows per flow-group) with all packets
53 | ... | containing Ethernet header, IPv4 header with IP protocol=61 and static
54 | ... | payload. MAC addresses are matching MAC addresses of the TG node
55 | ... | interfaces.
56 | ... | *[Ref] Applicable standard specifications:* RFC2544.
57
58 *** Variables ***
59 | ${subid}= | 10
60 | ${tag_rewrite}= | pop-1
61 | ${vlan_overhead}= | ${4}
62 # Socket names
63 | ${sock1}= | /tmp/sock-1
64 | ${sock2}= | /tmp/sock-2
65 # X520-DA2 bandwidth limit
66 | ${s_limit}= | ${10000000000}
67 # Traffic profile:
68 | ${traffic_profile} | trex-sl-3n-ethip4-ip4src254
69
70 *** Test Cases ***
71 | tc01-64B-1t1c-eth-l2xcbase-eth-2vhost-1vm-ndrdisc
72 | | [Documentation]
73 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core,\
74 | | ... | 1 receive queue per NIC port.
75 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\
76 | | ... | linerate, step 10kpps.
77 | | ...
78 | | [Tags] | 64B | 1T1C | STHREAD | NDRDISC
79 | | ...
80 | | ${framesize}= | Set Variable | ${64}
81 | | ${min_rate}= | Set Variable | ${10000}
82 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vlan_overhead}}
83 | | ${binary_min}= | Set Variable | ${min_rate}
84 | | ${binary_max}= | Set Variable | ${max_rate}
85 | | ${threshold}= | Set Variable | ${min_rate}
86 | | ${dut1_vm_refs}= | Create Dictionary
87 | | ${dut2_vm_refs}= | Create Dictionary
88 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
89 | | And Add PCI devices to DUTs in 3-node single link topology
90 | | And Add no multi seg to all DUTs
91 | | And Apply startup configuration on all VPP DUTs
92 | | When Initialize L2 xconnect with Vhost-User and VLAN in 3-node circular topology
93 | | ... | ${sock1} | ${sock2} | ${subid} | ${tag_rewrite}
94 | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
95 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
96 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
97 | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
98 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
99 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
100 | | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built}
101 | | ... | ${True}
102 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
103 | | ... | ${binary_max} | ${traffic_profile}
104 | | ... | ${min_rate} | ${max_rate} | ${threshold}
105
106 | tc02-64B-1t1c-eth-l2xcbase-eth-2vhost-1vm-pdrdisc
107 | | [Documentation]
108 | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\
109 | | ... | 1 receive queue per NIC port.
110 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\
111 | | ... | linerate, step 10kpps, LT=0.5%.
112 | | ...
113 | | [Tags] | 64B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
114 | | ...
115 | | ${framesize}= | Set Variable | ${64}
116 | | ${min_rate}= | Set Variable | ${10000}
117 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vlan_overhead}}
118 | | ${binary_min}= | Set Variable | ${min_rate}
119 | | ${binary_max}= | Set Variable | ${max_rate}
120 | | ${threshold}= | Set Variable | ${min_rate}
121 | | ${dut1_vm_refs}= | Create Dictionary
122 | | ${dut2_vm_refs}= | Create Dictionary
123 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
124 | | And Add PCI devices to DUTs in 3-node single link topology
125 | | And Add no multi seg to all DUTs
126 | | And Apply startup configuration on all VPP DUTs
127 | | When Initialize L2 xconnect with Vhost-User and VLAN in 3-node circular topology
128 | | ... | ${sock1} | ${sock2} | ${subid} | ${tag_rewrite}
129 | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
130 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
131 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
132 | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
133 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
134 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
135 | | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built}
136 | | ... | ${True}
137 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
138 | | ... | ${binary_max} | ${traffic_profile}
139 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
140 | | ... | ${perf_pdr_loss_acceptance_type}
141
142 | tc03-1518B-1t1c-eth-l2xcbase-eth-2vhost-1vm-ndrdisc
143 | | [Documentation]
144 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core,\
145 | | ... | 1 receive queue per NIC port.
146 | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\
147 | | ... | linerate, step 10kpps.
148 | | ...
149 | | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC
150 | | ...
151 | | ${framesize}= | Set Variable | ${1518}
152 | | ${min_rate}= | Set Variable | ${10000}
153 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vlan_overhead}}
154 | | ${binary_min}= | Set Variable | ${min_rate}
155 | | ${binary_max}= | Set Variable | ${max_rate}
156 | | ${threshold}= | Set Variable | ${min_rate}
157 | | ${dut1_vm_refs}= | Create Dictionary
158 | | ${dut2_vm_refs}= | Create Dictionary
159 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
160 | | And Add PCI devices to DUTs in 3-node single link topology
161 | | And Add no multi seg to all DUTs
162 | | And Apply startup configuration on all VPP DUTs
163 | | When Initialize L2 xconnect with Vhost-User and VLAN in 3-node circular topology
164 | | ... | ${sock1} | ${sock2} | ${subid} | ${tag_rewrite}
165 | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
166 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
167 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
168 | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
169 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
170 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
171 | | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built}
172 | | ... | ${True}
173 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
174 | | ... | ${binary_max} | ${traffic_profile}
175 | | ... | ${min_rate} | ${max_rate} | ${threshold}
176
177 | tc04-1518B-1t1c-eth-l2xcbase-eth-2vhost-1vm-pdrdisc
178 | | [Documentation]
179 | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\
180 | | ... | 1 receive queue per NIC port.
181 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\
182 | | ... | linerate, step 10kpps, LT=0.5%.
183 | | ...
184 | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
185 | | ...
186 | | ${framesize}= | Set Variable | ${1518}
187 | | ${min_rate}= | Set Variable | ${10000}
188 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vlan_overhead}}
189 | | ${binary_min}= | Set Variable | ${min_rate}
190 | | ${binary_max}= | Set Variable | ${max_rate}
191 | | ${threshold}= | Set Variable | ${min_rate}
192 | | ${dut1_vm_refs}= | Create Dictionary
193 | | ${dut2_vm_refs}= | Create Dictionary
194 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
195 | | And Add PCI devices to DUTs in 3-node single link topology
196 | | And Add no multi seg to all DUTs
197 | | And Apply startup configuration on all VPP DUTs
198 | | When Initialize L2 xconnect with Vhost-User and VLAN in 3-node circular topology
199 | | ... | ${sock1} | ${sock2} | ${subid} | ${tag_rewrite}
200 | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
201 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
202 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
203 | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
204 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
205 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
206 | | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built}
207 | | ... | ${True}
208 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
209 | | ... | ${binary_max} | ${traffic_profile}
210 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
211 | | ... | ${perf_pdr_loss_acceptance_type}
212
213 | tc05-IMIX-1t1c-eth-l2xcbase-eth-2vhost-1vm-ndrdisc
214 | | [Documentation]
215 | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\
216 | | ... | 1 receive queue per NIC port.
217 | | ... | [Ver] Find NDR for IMIX_v4_1 framesize using binary search start at\
218 | | ... | 10GE linerate, step 10kpps.
219 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
220 | | ...
221 | | [Tags] | IMIX | 1T1C | STHREAD | NDRDISC
222 | | ...
223 | | ${framesize}= | Set Variable | IMIX_v4_1
224 | | ${avg_framesize}= | Set Variable | ${357.833}
225 | | ${min_rate}= | Set Variable | ${10000}
226 | | ${max_rate}= | Calculate pps | ${s_limit} | ${avg_framesize}
227 | | ${binary_min}= | Set Variable | ${min_rate}
228 | | ${binary_max}= | Set Variable | ${max_rate}
229 | | ${threshold}= | Set Variable | ${min_rate}
230 | | ${dut1_vm_refs}= | Create Dictionary
231 | | ${dut2_vm_refs}= | Create Dictionary
232 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
233 | | And Add PCI devices to DUTs in 3-node single link topology
234 | | And Add no multi seg to all DUTs
235 | | And Apply startup configuration on all VPP DUTs
236 | | When Initialize L2 xconnect with Vhost-User and VLAN in 3-node circular topology
237 | | ... | ${sock1} | ${sock2} | ${subid} | ${tag_rewrite}
238 | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
239 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
240 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
241 | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
242 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
243 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
244 | | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built}
245 | | ... | ${True}
246 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
247 | | ... | ${binary_max} | ${traffic_profile}
248 | | ... | ${min_rate} | ${max_rate} | ${threshold}
249
250 | tc06-IMIX-1t1c-eth-l2xcbase-eth-2vhost-1vm-pdrdisc
251 | | [Documentation]
252 | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\
253 | | ... | 1 receive queue per NIC port.
254 | | ... | [Ver] Find PDR for IMIX_v4_1 framesize using binary search start at\
255 | | ... | 10GE linerate, step 10kpps, LT=0.5%.
256 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
257 | | ...
258 | | [Tags] | IMIX | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
259 | | ...
260 | | ${framesize}= | Set Variable | IMIX_v4_1
261 | | ${avg_framesize}= | Set Variable | ${357.833}
262 | | ${min_rate}= | Set Variable | ${10000}
263 | | ${max_rate}= | Calculate pps | ${s_limit} | ${avg_framesize}
264 | | ${binary_min}= | Set Variable | ${min_rate}
265 | | ${binary_max}= | Set Variable | ${max_rate}
266 | | ${threshold}= | Set Variable | ${min_rate}
267 | | ${dut1_vm_refs}= | Create Dictionary
268 | | ${dut2_vm_refs}= | Create Dictionary
269 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
270 | | And Add PCI devices to DUTs in 3-node single link topology
271 | | And Add no multi seg to all DUTs
272 | | And Apply startup configuration on all VPP DUTs
273 | | When Initialize L2 xconnect with Vhost-User and VLAN in 3-node circular topology
274 | | ... | ${sock1} | ${sock2} | ${subid} | ${tag_rewrite}
275 | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
276 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
277 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
278 | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
279 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
280 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
281 | | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built}
282 | | ... | ${True}
283 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
284 | | ... | ${binary_max} | ${traffic_profile}
285 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
286 | | ... | ${perf_pdr_loss_acceptance_type}
287
288 | tc07-64B-2t2c-eth-l2xcbase-eth-2vhost-1vm-ndrdisc
289 | | [Documentation]
290 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores,\
291 | | ... | 1 receive queue per NIC port.
292 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\
293 | | ... | linerate, step 10kpps.
294 | | ...
295 | | [Tags] | 64B | 2T2C | STHREAD | NDRDISC
296 | | ...
297 | | ${framesize}= | Set Variable | ${64}
298 | | ${min_rate}= | Set Variable | ${10000}
299 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vlan_overhead}}
300 | | ${binary_min}= | Set Variable | ${min_rate}
301 | | ${binary_max}= | Set Variable | ${max_rate}
302 | | ${threshold}= | Set Variable | ${min_rate}
303 | | ${dut1_vm_refs}= | Create Dictionary
304 | | ${dut2_vm_refs}= | Create Dictionary
305 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
306 | | And Add PCI devices to DUTs in 3-node single link topology
307 | | And Add no multi seg to all DUTs
308 | | And Apply startup configuration on all VPP DUTs
309 | | When Initialize L2 xconnect with Vhost-User and VLAN in 3-node circular topology
310 | | ... | ${sock1} | ${sock2} | ${subid} | ${tag_rewrite}
311 | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
312 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
313 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
314 | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
315 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
316 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
317 | | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built}
318 | | ... | ${True}
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 | tc08-64B-2t2c-eth-l2xcbase-eth-2vhost-1vm-pdrdisc
324 | | [Documentation]
325 | | ... | [Cfg] DUT runs L2BD switching config with 2 threads, 2 phy cores,\
326 | | ... | 1 receive queue per NIC port.
327 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\
328 | | ... | linerate, step 10kpps, LT=0.5%.
329 | | ...
330 | | [Tags] | 64B | 2T2C | STHREAD | PDRDISC | SKIP_PATCH
331 | | ...
332 | | ${framesize}= | Set Variable | ${64}
333 | | ${min_rate}= | Set Variable | ${10000}
334 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vlan_overhead}}
335 | | ${binary_min}= | Set Variable | ${min_rate}
336 | | ${binary_max}= | Set Variable | ${max_rate}
337 | | ${threshold}= | Set Variable | ${min_rate}
338 | | ${dut1_vm_refs}= | Create Dictionary
339 | | ${dut2_vm_refs}= | Create Dictionary
340 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
341 | | And Add PCI devices to DUTs in 3-node single link topology
342 | | And Add no multi seg to all DUTs
343 | | And Apply startup configuration on all VPP DUTs
344 | | When Initialize L2 xconnect with Vhost-User and VLAN in 3-node circular topology
345 | | ... | ${sock1} | ${sock2} | ${subid} | ${tag_rewrite}
346 | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
347 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
348 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
349 | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
350 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
351 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
352 | | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built}
353 | | ... | ${True}
354 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
355 | | ... | ${binary_max} | ${traffic_profile}
356 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
357 | | ... | ${perf_pdr_loss_acceptance_type}
358
359 | tc09-1518B-2t2c-eth-l2xcbase-eth-2vhost-1vm-ndrdisc
360 | | [Documentation]
361 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores,\
362 | | ... | 1 receive queue per NIC port.
363 | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\
364 | | ... | linerate, step 10kpps.
365 | | ...
366 | | [Tags] | 1518B | 2T2C | STHREAD | NDRDISC | SKIP_PATCH
367 | | ...
368 | | ${framesize}= | Set Variable | ${1518}
369 | | ${min_rate}= | Set Variable | ${10000}
370 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vlan_overhead}}
371 | | ${binary_min}= | Set Variable | ${min_rate}
372 | | ${binary_max}= | Set Variable | ${max_rate}
373 | | ${threshold}= | Set Variable | ${min_rate}
374 | | ${dut1_vm_refs}= | Create Dictionary
375 | | ${dut2_vm_refs}= | Create Dictionary
376 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
377 | | And Add PCI devices to DUTs in 3-node single link topology
378 | | And Add no multi seg to all DUTs
379 | | And Apply startup configuration on all VPP DUTs
380 | | When Initialize L2 xconnect with Vhost-User and VLAN in 3-node circular topology
381 | | ... | ${sock1} | ${sock2} | ${subid} | ${tag_rewrite}
382 | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
383 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
384 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
385 | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
386 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
387 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
388 | | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built}
389 | | ... | ${True}
390 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
391 | | ... | ${binary_max} | ${traffic_profile}
392 | | ... | ${min_rate} | ${max_rate} | ${threshold}
393
394 | tc10-1518B-2t2c-eth-l2xcbase-eth-2vhost-1vm-pdrdisc
395 | | [Documentation]
396 | | ... | [Cfg] DUT runs L2BD switching config with 2 threads, 2 phy cores,\
397 | | ... | 1 receive queue per NIC port.
398 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\
399 | | ... | linerate, step 10kpps, LT=0.5%.
400 | | ...
401 | | [Tags] | 1518B | 2T2C | STHREAD | PDRDISC | SKIP_PATCH
402 | | ...
403 | | ${framesize}= | Set Variable | ${1518}
404 | | ${min_rate}= | Set Variable | ${10000}
405 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vlan_overhead}}
406 | | ${binary_min}= | Set Variable | ${min_rate}
407 | | ${binary_max}= | Set Variable | ${max_rate}
408 | | ${threshold}= | Set Variable | ${min_rate}
409 | | ${dut1_vm_refs}= | Create Dictionary
410 | | ${dut2_vm_refs}= | Create Dictionary
411 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
412 | | And Add PCI devices to DUTs in 3-node single link topology
413 | | And Add no multi seg to all DUTs
414 | | And Apply startup configuration on all VPP DUTs
415 | | When Initialize L2 xconnect with Vhost-User and VLAN in 3-node circular topology
416 | | ... | ${sock1} | ${sock2} | ${subid} | ${tag_rewrite}
417 | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
418 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
419 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
420 | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
421 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
422 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
423 | | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built}
424 | | ... | ${True}
425 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
426 | | ... | ${binary_max} | ${traffic_profile}
427 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
428 | | ... | ${perf_pdr_loss_acceptance_type}
429
430 | tc11-IMIX-2t2c-eth-l2xcbase-eth-2vhost-1vm-ndrdisc
431 | | [Documentation]
432 | | ... | [Cfg] DUT runs L2BD switching config with 2 threads, 2 phy cores,\
433 | | ... | 1 receive queue per NIC port.
434 | | ... | [Ver] Find NDR for IMIX_v4_1 framesize using binary search start at\
435 | | ... | 10GE linerate, step 10kpps.
436 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
437 | | ...
438 | | [Tags] | IMIX | 2T2C | STHREAD | NDRDISC | SKIP_PATCH
439 | | ...
440 | | ${framesize}= | Set Variable | IMIX_v4_1
441 | | ${avg_framesize}= | Set Variable | ${357.833}
442 | | ${min_rate}= | Set Variable | ${10000}
443 | | ${max_rate}= | Calculate pps | ${s_limit} | ${avg_framesize}
444 | | ${binary_min}= | Set Variable | ${min_rate}
445 | | ${binary_max}= | Set Variable | ${max_rate}
446 | | ${threshold}= | Set Variable | ${min_rate}
447 | | ${dut1_vm_refs}= | Create Dictionary
448 | | ${dut2_vm_refs}= | Create Dictionary
449 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
450 | | And Add PCI devices to DUTs in 3-node single link topology
451 | | And Add no multi seg to all DUTs
452 | | And Apply startup configuration on all VPP DUTs
453 | | When Initialize L2 xconnect with Vhost-User and VLAN in 3-node circular topology
454 | | ... | ${sock1} | ${sock2} | ${subid} | ${tag_rewrite}
455 | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
456 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
457 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
458 | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
459 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
460 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
461 | | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built}
462 | | ... | ${True}
463 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
464 | | ... | ${binary_max} | ${traffic_profile}
465 | | ... | ${min_rate} | ${max_rate} | ${threshold}
466
467 | tc12-IMIX-2t2c-eth-l2xcbase-eth-2vhost-1vm-pdrdisc
468 | | [Documentation]
469 | | ... | [Cfg] DUT runs L2BD switching config with 2 threads, 2 phy cores,\
470 | | ... | 1 receive queue per NIC port.
471 | | ... | [Ver] Find PDR for IMIX_v4_1 framesize using binary search start at\
472 | | ... | 10GE linerate, step 10kpps, LT=0.5%.
473 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
474 | | ...
475 | | [Tags] | IMIX | 2T2C | STHREAD | PDRDISC | SKIP_PATCH
476 | | ...
477 | | ${framesize}= | Set Variable | IMIX_v4_1
478 | | ${avg_framesize}= | Set Variable | ${357.833}
479 | | ${min_rate}= | Set Variable | ${10000}
480 | | ${max_rate}= | Calculate pps | ${s_limit} | ${avg_framesize}
481 | | ${binary_min}= | Set Variable | ${min_rate}
482 | | ${binary_max}= | Set Variable | ${max_rate}
483 | | ${threshold}= | Set Variable | ${min_rate}
484 | | ${dut1_vm_refs}= | Create Dictionary
485 | | ${dut2_vm_refs}= | Create Dictionary
486 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
487 | | And Add PCI devices to DUTs in 3-node single link topology
488 | | And Add no multi seg to all DUTs
489 | | And Apply startup configuration on all VPP DUTs
490 | | When Initialize L2 xconnect with Vhost-User and VLAN in 3-node circular topology
491 | | ... | ${sock1} | ${sock2} | ${subid} | ${tag_rewrite}
492 | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
493 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
494 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
495 | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
496 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
497 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
498 | | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built}
499 | | ... | ${True}
500 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
501 | | ... | ${binary_max} | ${traffic_profile}
502 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
503 | | ... | ${perf_pdr_loss_acceptance_type}
504
505 | tc13-64B-4t4c-eth-l2xcbase-eth-2vhost-1vm-ndrdisc
506 | | [Documentation]
507 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores,\
508 | | ... | 2 receive queues per NIC port.
509 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\
510 | | ... | linerate, step 10kpps.
511 | | ...
512 | | [Tags] | 64B | 4T4C | STHREAD | NDRDISC
513 | | ...
514 | | ${framesize}= | Set Variable | ${64}
515 | | ${min_rate}= | Set Variable | ${10000}
516 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vlan_overhead}}
517 | | ${binary_min}= | Set Variable | ${min_rate}
518 | | ${binary_max}= | Set Variable | ${max_rate}
519 | | ${threshold}= | Set Variable | ${min_rate}
520 | | ${dut1_vm_refs}= | Create Dictionary
521 | | ${dut2_vm_refs}= | Create Dictionary
522 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
523 | | And Add PCI devices to DUTs in 3-node single link topology
524 | | And Add no multi seg to all DUTs
525 | | And Apply startup configuration on all VPP DUTs
526 | | When Initialize L2 xconnect with Vhost-User and VLAN in 3-node circular topology
527 | | ... | ${sock1} | ${sock2} | ${subid} | ${tag_rewrite}
528 | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
529 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
530 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
531 | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
532 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
533 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
534 | | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built}
535 | | ... | ${True}
536 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
537 | | ... | ${binary_max} | ${traffic_profile}
538 | | ... | ${min_rate} | ${max_rate} | ${threshold}
539
540 | tc14-64B-4t4c-eth-l2xcbase-eth-2vhost-1vm-pdrdisc
541 | | [Documentation]
542 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores,\
543 | | ... | 2 receive queues per NIC port.
544 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\
545 | | ... | linerate, step 10kpps, LT=0.5%.
546 | | ...
547 | | [Tags] | 64B | 4T4C | STHREAD | PDRDISC | SKIP_PATCH
548 | | ...
549 | | ${framesize}= | Set Variable | ${64}
550 | | ${min_rate}= | Set Variable | ${10000}
551 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vlan_overhead}}
552 | | ${binary_min}= | Set Variable | ${min_rate}
553 | | ${binary_max}= | Set Variable | ${max_rate}
554 | | ${threshold}= | Set Variable | ${min_rate}
555 | | ${dut1_vm_refs}= | Create Dictionary
556 | | ${dut2_vm_refs}= | Create Dictionary
557 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
558 | | And Add PCI devices to DUTs in 3-node single link topology
559 | | And Add no multi seg to all DUTs
560 | | And Apply startup configuration on all VPP DUTs
561 | | When Initialize L2 xconnect with Vhost-User and VLAN in 3-node circular topology
562 | | ... | ${sock1} | ${sock2} | ${subid} | ${tag_rewrite}
563 | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
564 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
565 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
566 | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
567 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
568 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
569 | | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built}
570 | | ... | ${True}
571 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
572 | | ... | ${binary_max} | ${traffic_profile}
573 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
574 | | ... | ${perf_pdr_loss_acceptance_type}
575
576 | tc15-1518B-4t4c-eth-l2xcbase-eth-2vhost-1vm-ndrdisc
577 | | [Documentation]
578 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores,\
579 | | ... | 2 receive queues per NIC port.
580 | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\
581 | | ... | linerate, step 10kpps.
582 | | ...
583 | | [Tags] | 1518B | 4T4C | STHREAD | NDRDISC | SKIP_PATCH
584 | | ...
585 | | ${framesize}= | Set Variable | ${1518}
586 | | ${min_rate}= | Set Variable | ${10000}
587 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vlan_overhead}}
588 | | ${binary_min}= | Set Variable | ${min_rate}
589 | | ${binary_max}= | Set Variable | ${max_rate}
590 | | ${threshold}= | Set Variable | ${min_rate}
591 | | ${dut1_vm_refs}= | Create Dictionary
592 | | ${dut2_vm_refs}= | Create Dictionary
593 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
594 | | And Add PCI devices to DUTs in 3-node single link topology
595 | | And Add no multi seg to all DUTs
596 | | And Apply startup configuration on all VPP DUTs
597 | | When Initialize L2 xconnect with Vhost-User and VLAN in 3-node circular topology
598 | | ... | ${sock1} | ${sock2} | ${subid} | ${tag_rewrite}
599 | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
600 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
601 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
602 | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
603 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
604 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
605 | | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built}
606 | | ... | ${True}
607 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
608 | | ... | ${binary_max} | ${traffic_profile}
609 | | ... | ${min_rate} | ${max_rate} | ${threshold}
610
611 | tc16-1518B-4t4c-eth-l2xcbase-eth-2vhost-1vm-pdrdisc
612 | | [Documentation]
613 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores,\
614 | | ... | 2 receive queues per NIC port.
615 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\
616 | | ... | linerate, step 10kpps, LT=0.5%.
617 | | ...
618 | | [Tags] | 1518B | 4T4C | STHREAD | PDRDISC | SKIP_PATCH
619 | | ...
620 | | ${framesize}= | Set Variable | ${1518}
621 | | ${min_rate}= | Set Variable | ${10000}
622 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vlan_overhead}}
623 | | ${binary_min}= | Set Variable | ${min_rate}
624 | | ${binary_max}= | Set Variable | ${max_rate}
625 | | ${threshold}= | Set Variable | ${min_rate}
626 | | ${dut1_vm_refs}= | Create Dictionary
627 | | ${dut2_vm_refs}= | Create Dictionary
628 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
629 | | And Add PCI devices to DUTs in 3-node single link topology
630 | | And Add no multi seg to all DUTs
631 | | And Apply startup configuration on all VPP DUTs
632 | | When Initialize L2 xconnect with Vhost-User and VLAN in 3-node circular topology
633 | | ... | ${sock1} | ${sock2} | ${subid} | ${tag_rewrite}
634 | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
635 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
636 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
637 | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
638 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
639 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
640 | | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built}
641 | | ... | ${True}
642 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
643 | | ... | ${binary_max} | ${traffic_profile}
644 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
645 | | ... | ${perf_pdr_loss_acceptance_type}
646
647 | tc17-IMIX-4t4c-eth-l2xcbase-eth-2vhost-1vm-ndrdisc
648 | | [Documentation]
649 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores,\
650 | | ... | 2 receive queues per NIC port.
651 | | ... | [Ver] Find NDR for IMIX_v4_1 framesize using binary search start at\
652 | | ... | 10GE linerate, step 10kpps.
653 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
654 | | ...
655 | | [Tags] | IMIX | 4T4C | STHREAD | NDRDISC | SKIP_PATCH
656 | | ...
657 | | ${framesize}= | Set Variable | IMIX_v4_1
658 | | ${avg_framesize}= | Set Variable | ${357.833}
659 | | ${min_rate}= | Set Variable | ${10000}
660 | | ${max_rate}= | Calculate pps | ${s_limit} | ${avg_framesize}
661 | | ${binary_min}= | Set Variable | ${min_rate}
662 | | ${binary_max}= | Set Variable | ${max_rate}
663 | | ${threshold}= | Set Variable | ${min_rate}
664 | | ${dut1_vm_refs}= | Create Dictionary
665 | | ${dut2_vm_refs}= | Create Dictionary
666 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
667 | | And Add PCI devices to DUTs in 3-node single link topology
668 | | And Add no multi seg to all DUTs
669 | | And Apply startup configuration on all VPP DUTs
670 | | When Initialize L2 xconnect with Vhost-User and VLAN in 3-node circular topology
671 | | ... | ${sock1} | ${sock2} | ${subid} | ${tag_rewrite}
672 | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
673 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
674 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
675 | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
676 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
677 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
678 | | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built}
679 | | ... | ${True}
680 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
681 | | ... | ${binary_max} | ${traffic_profile}
682 | | ... | ${min_rate} | ${max_rate} | ${threshold}
683
684 | tc18-IMIX-4t4c-eth-l2xcbase-eth-2vhost-1vm-pdrdisc
685 | | [Documentation]
686 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores,\
687 | | ... | 2 receive queues per NIC port.
688 | | ... | [Ver] Find PDR for IMIX_v4_1 framesize using binary search start at\
689 | | ... | 10GE linerate, step 10kpps, LT=0.5%.
690 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
691 | | ...
692 | | [Tags] | IMIX | 4T4C | STHREAD | PDRDISC | SKIP_PATCH
693 | | ...
694 | | ${framesize}= | Set Variable | IMIX_v4_1
695 | | ${avg_framesize}= | Set Variable | ${357.833}
696 | | ${min_rate}= | Set Variable | ${10000}
697 | | ${max_rate}= | Calculate pps | ${s_limit} | ${avg_framesize}
698 | | ${binary_min}= | Set Variable | ${min_rate}
699 | | ${binary_max}= | Set Variable | ${max_rate}
700 | | ${threshold}= | Set Variable | ${min_rate}
701 | | ${dut1_vm_refs}= | Create Dictionary
702 | | ${dut2_vm_refs}= | Create Dictionary
703 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
704 | | And Add PCI devices to DUTs in 3-node single link topology
705 | | And Add no multi seg to all DUTs
706 | | And Apply startup configuration on all VPP DUTs
707 | | When Initialize L2 xconnect with Vhost-User and VLAN in 3-node circular topology
708 | | ... | ${sock1} | ${sock2} | ${subid} | ${tag_rewrite}
709 | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
710 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
711 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
712 | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
713 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
714 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
715 | | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built}
716 | | ... | ${True}
717 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
718 | | ... | ${binary_max} | ${traffic_profile}
719 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
720 | | ... | ${perf_pdr_loss_acceptance_type}