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