CSIT-1097: Ip6 NDRPDR and edited MRR suites
[csit.git] / tests / vpp / perf / crypto / 40ge2p1xl710-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-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 | Resource | resources/libraries/robot/crypto/ipsec.robot
17 | ...
18 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | SCALE | NDRPDRDISC
19 | ... | IP4FWD | IPSEC | IPSECHW | IPSECTUN | NIC_Intel-XL710 | TNL_1000
20 | ...
21 | Suite Setup | Set up IPSec performance test suite | L3 | Intel-XL710
22 | ... | HW_cryptodev
23 | ...
24 | Suite Teardown | Tear down 3-node performance topology
25 | ...
26 | Test Setup | Set up performance test
27 | ...
28 | Test Teardown | Tear down performance discovery test | ${min_rate}pps
29 | ... | ${framesize} | ${traffic_profile}
30 | ...
31 | Documentation | *IPv4 IPsec tunnel mode performance test suite.*
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 on TG-DUTn,
36 | ... | Eth-IPv4-IPSec on DUT1-DUT2
37 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with multiple
38 | ... | IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it
39 | ... | and send to another DUT, where packets are decrypted and sent back to TG
40 | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop
41 | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop
42 | ... | Rate) with non-zero packet loss tolerance (LT) expressed in number
43 | ... | of packets transmitted. NDR is discovered for different
44 | ... | number of IPsec tunnels using binary search algorithms with configured
45 | ... | starting rate and final step that determines throughput measurement
46 | ... | resolution. Test packets are generated by TG on
47 | ... | links to DUTs. TG traffic profile contains two L3 flow-groups
48 | ... | (flow-group per direction, number of flows per flow-group equals to
49 | ... | number of IPSec tunnels) with all packets
50 | ... | containing Ethernet header, IPv4 header with IP protocol=61 and
51 | ... | static payload. MAC addresses are matching MAC addresses of the TG
52 | ... | node interfaces. Incrementing of IP.dst (IPv4 destination address) field
53 | ... | is applied to both streams.
54 | ... | *[Ref] Applicable standard specifications:* RFC4303 and RFC2544.
55
56 *** Variables ***
57 # XL710-DA2 bandwidth limit ~49Gbps/2=24.5Gbps
58 | ${s_24.5G}= | ${24500000000}
59 # XL710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps
60 | ${s_18.75Mpps}= | ${18750000}
61 | ${tg_if1_ip4}= | 192.168.10.2
62 | ${dut1_if1_ip4}= | 192.168.10.1
63 | ${dut1_if2_ip4}= | 172.168.1.1
64 | ${dut2_if1_ip4}= | 172.168.1.2
65 | ${dut2_if2_ip4}= | 192.168.20.1
66 | ${tg_if2_ip4}= | 192.168.20.2
67 | ${raddr_ip4}= | 20.0.0.0
68 | ${laddr_ip4}= | 10.0.0.0
69 | ${addr_range}= | ${32}
70 | ${ipsec_overhead}= | ${58}
71 | ${n_tunnels}= | ${1000}
72 # Traffic profile:
73 | ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst${n_tunnels}
74
75 *** Test Cases ***
76 | tc01-64B-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-ndrdisc
77 | | [Documentation]
78 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
79 | | ... | configured with 1 phy core, 1 receive queue per NIC port.
80 | | ... | [Ver] Find NDR for 64 Byte frames\
81 | | ... | using binary search start at 40GE linerate, step 50kpps.
82 | | ...
83 | | [Tags] | 64B | 1C | NDRDISC
84 | | ...
85 | | ${framesize}= | Set Variable | ${64}
86 | | ${min_rate}= | Set Variable | ${50000}
87 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
88 | | ${binary_min}= | Set Variable | ${min_rate}
89 | | ${binary_max}= | Set Variable | ${max_rate}
90 | | ${threshold}= | Set Variable | ${min_rate}
91 | | ${encr_alg}= | Crypto Alg AES CBC 128
92 | | ${auth_alg}= | Integ Alg SHA1 96
93 | | Given Add worker threads and rxqueues to all DUTs | 1
94 | | And Add PCI devices to all DUTs
95 | | And Add no multi seg to all DUTs
96 | | And Add cryptodev to all DUTs | ${1}
97 | | And Add DPDK dev default RXD to all DUTs | 2048
98 | | And Add DPDK dev default TXD to all DUTs | 2048
99 | | And Apply startup configuration on all VPP DUTs
100 | | When Generate keys for IPSec | ${encr_alg} | ${auth_alg}
101 | | And Initialize IPSec in 3-node circular topology
102 | | And Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4}
103 | | ... | ${dut1_if2}
104 | | And Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4}
105 | | ... | ${dut2_if1}
106 | | And VPP IPsec Add Multiple Tunnels
107 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
108 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
109 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
110 | | ... | ${addr_range}
111 | | And Set interfaces in path in 3-node circular topology up
112 | | Then Find NDR using binary search and pps | ${framesize}
113 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
114 | | ... | ${min_rate} | ${max_rate} | ${threshold}
115
116 | tc02-64B-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-pdrdisc
117 | | [Documentation]
118 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
119 | | ... | configured with 1 phy core, 1 receive queue per NIC port.
120 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 40GE\
121 | | ... | linerate, step 50kpps and loss tolerance of 0.5%.
122 | | ...
123 | | [Tags] | 64B | 1C | PDRDISC | SKIP_PATCH
124 | | ...
125 | | ${framesize}= | Set Variable | ${64}
126 | | ${min_rate}= | Set Variable | ${50000}
127 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
128 | | ${binary_min}= | Set Variable | ${min_rate}
129 | | ${binary_max}= | Set Variable | ${max_rate}
130 | | ${threshold}= | Set Variable | ${min_rate}
131 | | ${encr_alg}= | Crypto Alg AES CBC 128
132 | | ${auth_alg}= | Integ Alg SHA1 96
133 | | Given Add worker threads and rxqueues to all DUTs | 1
134 | | And Add PCI devices to all DUTs
135 | | And Add no multi seg to all DUTs
136 | | And Add cryptodev to all DUTs | ${1}
137 | | And Add DPDK dev default RXD to all DUTs | 2048
138 | | And Add DPDK dev default TXD to all DUTs | 2048
139 | | And Apply startup configuration on all VPP DUTs
140 | | When Generate keys for IPSec | ${encr_alg} | ${auth_alg}
141 | | And Initialize IPSec in 3-node circular topology
142 | | And Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4}
143 | | ... | ${dut1_if2}
144 | | And Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4}
145 | | ... | ${dut2_if1}
146 | | And VPP IPsec Add Multiple Tunnels
147 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
148 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
149 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
150 | | ... | ${addr_range}
151 | | And Set interfaces in path in 3-node circular topology up
152 | | Then Find PDR using binary search and pps | ${framesize}
153 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
154 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
155 | | ... | ${perf_pdr_loss_acceptance_type}
156
157 | tc03-1518B-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-ndrdisc
158 | | [Documentation]
159 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
160 | | ... | configured with 1 phy core, 1 receive queue per NIC port.
161 | | ... | [Ver] Find NDR for 1518 Byte frames\
162 | | ... | using binary search start at 40GE linerate, step 50kpps.
163 | | ...
164 | | [Tags] | 1518B | 1C | NDRDISC
165 | | ...
166 | | ${framesize}= | Set Variable | ${1518}
167 | | ${min_rate}= | Set Variable | ${50000}
168 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize + ${ipsec_overhead}}
169 | | ${binary_min}= | Set Variable | ${min_rate}
170 | | ${binary_max}= | Set Variable | ${max_rate}
171 | | ${threshold}= | Set Variable | ${min_rate}
172 | | ${encr_alg}= | Crypto Alg AES CBC 128
173 | | ${auth_alg}= | Integ Alg SHA1 96
174 | | Given Add worker threads and rxqueues to all DUTs | 1
175 | | And Add PCI devices to all DUTs
176 | | And Add cryptodev to all DUTs | ${1}
177 | | And Add DPDK dev default RXD to all DUTs | 2048
178 | | And Add DPDK dev default TXD to all DUTs | 2048
179 | | And Apply startup configuration on all VPP DUTs
180 | | When Generate keys for IPSec | ${encr_alg} | ${auth_alg}
181 | | And Initialize IPSec in 3-node circular topology
182 | | And Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4}
183 | | ... | ${dut1_if2}
184 | | And Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4}
185 | | ... | ${dut2_if1}
186 | | And VPP IPsec Add Multiple Tunnels
187 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
188 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
189 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
190 | | ... | ${addr_range}
191 | | And Set interfaces in path in 3-node circular topology up
192 | | Then Find NDR using binary search and pps | ${framesize}
193 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
194 | | ... | ${min_rate} | ${max_rate} | ${threshold}
195
196 | tc04-1518B-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-pdrdisc
197 | | [Documentation]
198 | | ... | [Cfg] DUTs run 1000 IPsec tunnel CBC-SHA1 in each direction,\
199 | | ... | configured with 1 phy core, 1 receive queue per NIC port.
200 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 40GE\
201 | | ... | linerate, step 50kpps and loss tolerance of 0.5%.
202 | | ...
203 | | [Tags] | 1518B | 1C | PDRDISC | SKIP_PATCH
204 | | ...
205 | | ${framesize}= | Set Variable | ${1518}
206 | | ${min_rate}= | Set Variable | ${50000}
207 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize + ${ipsec_overhead}}
208 | | ${binary_min}= | Set Variable | ${min_rate}
209 | | ${binary_max}= | Set Variable | ${max_rate}
210 | | ${threshold}= | Set Variable | ${min_rate}
211 | | ${encr_alg}= | Crypto Alg AES CBC 128
212 | | ${auth_alg}= | Integ Alg SHA1 96
213 | | Given Add worker threads and rxqueues to all DUTs | 1
214 | | And Add PCI devices to all DUTs
215 | | And Add cryptodev to all DUTs | ${1}
216 | | And Add DPDK dev default RXD to all DUTs | 2048
217 | | And Add DPDK dev default TXD to all DUTs | 2048
218 | | And Apply startup configuration on all VPP DUTs
219 | | When Generate keys for IPSec | ${encr_alg} | ${auth_alg}
220 | | And Initialize IPSec in 3-node circular topology
221 | | And Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4}
222 | | ... | ${dut1_if2}
223 | | And Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4}
224 | | ... | ${dut2_if1}
225 | | And VPP IPsec Add Multiple Tunnels
226 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
227 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
228 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
229 | | ... | ${addr_range}
230 | | And Set interfaces in path in 3-node circular topology up
231 | | Then Find PDR using binary search and pps | ${framesize}
232 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
233 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
234 | | ... | ${perf_pdr_loss_acceptance_type}
235
236 | tc05-IMIX-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-ndrdisc
237 | | [Documentation]
238 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
239 | | ... | configured with 1 phy core, 1 receive queue per NIC port.
240 | | ... | [Ver] Find NDR for IMIX_v4_1 frames\
241 | | ... | using binary search start at 40GE linerate, step 50kpps.
242 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
243 | | ...
244 | | [Tags] | IMIX | 1C | NDRDISC
245 | | ...
246 | | ${framesize}= | Set Variable | IMIX_v4_1
247 | | ${imix_size}= | Get Frame Size | ${framesize}
248 | | ${min_rate}= | Set Variable | ${50000}
249 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${imix_size} + ${ipsec_overhead}
250 | | ${binary_min}= | Set Variable | ${min_rate}
251 | | ${binary_max}= | Set Variable | ${max_rate}
252 | | ${threshold}= | Set Variable | ${min_rate}
253 | | ${encr_alg}= | Crypto Alg AES CBC 128
254 | | ${auth_alg}= | Integ Alg SHA1 96
255 | | Given Add worker threads and rxqueues to all DUTs | 1
256 | | And Add PCI devices to all DUTs
257 | | And Add cryptodev to all DUTs | ${1}
258 | | And Add DPDK dev default RXD to all DUTs | 2048
259 | | And Add DPDK dev default TXD to all DUTs | 2048
260 | | And Apply startup configuration on all VPP DUTs
261 | | When Generate keys for IPSec | ${encr_alg} | ${auth_alg}
262 | | And Initialize IPSec in 3-node circular topology
263 | | And Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4}
264 | | ... | ${dut1_if2}
265 | | And Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4}
266 | | ... | ${dut2_if1}
267 | | And VPP IPsec Add Multiple Tunnels
268 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
269 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
270 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
271 | | ... | ${addr_range}
272 | | And Set interfaces in path in 3-node circular topology up
273 | | Then Find NDR using binary search and pps | ${framesize}
274 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
275 | | ... | ${min_rate} | ${max_rate} | ${threshold}
276
277 | tc06-IMIX-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-pdrdisc
278 | | [Documentation]
279 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
280 | | ... | configured with 1 phy core, 1 receive queue per NIC port.
281 | | ... | [Ver] Find PDR for IMIX_v4_1 frames using binary search start at 40GE\
282 | | ... | linerate, step 50kpps and loss tolerance of 0.5%.
283 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
284 | | ...
285 | | [Tags] | IMIX | 1C | PDRDISC | SKIP_PATCH
286 | | ...
287 | | ${framesize}= | Set Variable | IMIX_v4_1
288 | | ${imix_size}= | Get Frame Size | ${framesize}
289 | | ${min_rate}= | Set Variable | ${50000}
290 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${imix_size} + ${ipsec_overhead}
291 | | ${binary_min}= | Set Variable | ${min_rate}
292 | | ${binary_max}= | Set Variable | ${max_rate}
293 | | ${threshold}= | Set Variable | ${min_rate}
294 | | ${encr_alg}= | Crypto Alg AES CBC 128
295 | | ${auth_alg}= | Integ Alg SHA1 96
296 | | Given Add worker threads and rxqueues to all DUTs | 1
297 | | And Add PCI devices to all DUTs
298 | | And Add cryptodev to all DUTs | ${1}
299 | | And Add DPDK dev default RXD to all DUTs | 2048
300 | | And Add DPDK dev default TXD to all DUTs | 2048
301 | | And Apply startup configuration on all VPP DUTs
302 | | When Generate keys for IPSec | ${encr_alg} | ${auth_alg}
303 | | And Initialize IPSec in 3-node circular topology
304 | | And Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4}
305 | | ... | ${dut1_if2}
306 | | And Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4}
307 | | ... | ${dut2_if1}
308 | | And VPP IPsec Add Multiple Tunnels
309 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
310 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
311 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
312 | | ... | ${addr_range}
313 | | And Set interfaces in path in 3-node circular topology up
314 | | Then Find PDR using binary search and pps | ${framesize}
315 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
316 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
317 | | ... | ${perf_pdr_loss_acceptance_type}
318
319 | tc07-64B-2t2c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-ndrdisc
320 | | [Documentation]
321 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
322 | | ... | configured with 2 phy core, 1 receive queue per NIC port.
323 | | ... | [Ver] Find NDR for 64 Byte frames\
324 | | ... | using binary search start at 40GE linerate, step 50kpps.
325 | | ...
326 | | [Tags] | 64B | 2C | NDRDISC
327 | | ...
328 | | ${framesize}= | Set Variable | ${64}
329 | | ${min_rate}= | Set Variable | ${50000}
330 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
331 | | ${binary_min}= | Set Variable | ${min_rate}
332 | | ${binary_max}= | Set Variable | ${max_rate}
333 | | ${threshold}= | Set Variable | ${min_rate}
334 | | ${encr_alg}= | Crypto Alg AES CBC 128
335 | | ${auth_alg}= | Integ Alg SHA1 96
336 | | Given Add worker threads and rxqueues to all DUTs | 2
337 | | And Add PCI devices to all DUTs
338 | | And Add no multi seg to all DUTs
339 | | And Add cryptodev to all DUTs | ${2}
340 | | And Add DPDK dev default RXD to all DUTs | 2048
341 | | And Add DPDK dev default TXD to all DUTs | 2048
342 | | And Apply startup configuration on all VPP DUTs
343 | | When Generate keys for IPSec | ${encr_alg} | ${auth_alg}
344 | | And Initialize IPSec in 3-node circular topology
345 | | And Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4}
346 | | ... | ${dut1_if2}
347 | | And Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4}
348 | | ... | ${dut2_if1}
349 | | And VPP IPsec Add Multiple Tunnels
350 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
351 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
352 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
353 | | ... | ${addr_range}
354 | | And Set interfaces in path in 3-node circular topology up
355 | | Then Find NDR using binary search and pps | ${framesize}
356 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
357 | | ... | ${min_rate} | ${max_rate} | ${threshold}
358
359 | tc08-64B-2t2c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-pdrdisc
360 | | [Documentation]
361 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
362 | | ... | configured with 2 phy core, 1 receive queue per NIC port.
363 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 40GE\
364 | | ... | linerate, step 50kpps and loss tolerance of 0.5%.
365 | | ...
366 | | [Tags] | 64B | 2C | PDRDISC | SKIP_PATCH
367 | | ...
368 | | ${framesize}= | Set Variable | ${64}
369 | | ${min_rate}= | Set Variable | ${50000}
370 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
371 | | ${binary_min}= | Set Variable | ${min_rate}
372 | | ${binary_max}= | Set Variable | ${max_rate}
373 | | ${threshold}= | Set Variable | ${min_rate}
374 | | ${encr_alg}= | Crypto Alg AES CBC 128
375 | | ${auth_alg}= | Integ Alg SHA1 96
376 | | Given Add worker threads and rxqueues to all DUTs | 2
377 | | And Add PCI devices to all DUTs
378 | | And Add no multi seg to all DUTs
379 | | And Add cryptodev to all DUTs | ${2}
380 | | And Add DPDK dev default RXD to all DUTs | 2048
381 | | And Add DPDK dev default TXD to all DUTs | 2048
382 | | And Apply startup configuration on all VPP DUTs
383 | | When Generate keys for IPSec | ${encr_alg} | ${auth_alg}
384 | | And Initialize IPSec in 3-node circular topology
385 | | And Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4}
386 | | ... | ${dut1_if2}
387 | | And Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4}
388 | | ... | ${dut2_if1}
389 | | And VPP IPsec Add Multiple Tunnels
390 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
391 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
392 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
393 | | ... | ${addr_range}
394 | | And Set interfaces in path in 3-node circular topology up
395 | | Then Find PDR using binary search and pps | ${framesize}
396 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
397 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
398 | | ... | ${perf_pdr_loss_acceptance_type}