CSIT-1142 Change thread perf test TAGs
[csit.git] / tests / vpp / perf / crypto / 40ge2p1xl710-ethip4ipsecscale1000tnl-ip4base-tnl-aes-gcm-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_gcm}= | ${54}
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-aes-gcm-ndrdisc
77 | | [Documentation]
78 | | ... | [Cfg] DUTs run 1000 IPsec tunnels AES GCM 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 | | # FIXME: Move repeated lines into a keyword.
86 | | ${framesize}= | Set Variable | ${64}
87 | | ${min_rate}= | Set Variable | ${50000}
88 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
89 | | ${binary_min}= | Set Variable | ${min_rate}
90 | | ${binary_max}= | Set Variable | ${max_rate}
91 | | ${threshold}= | Set Variable | ${min_rate}
92 | | ${encr_alg}= | Crypto Alg AES GCM 128
93 | | ${auth_alg}= | Integ Alg AES GCM 128
94 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
95 | | And Add PCI devices to all DUTs
96 | | And Add no multi seg to all DUTs
97 | | And Add cryptodev to all DUTs | ${1}
98 | | And Add DPDK dev default RXD to all DUTs | 2048
99 | | And Add DPDK dev default TXD to all DUTs | 2048
100 | | And Apply startup configuration on all VPP DUTs
101 | | When Generate keys for IPSec | ${encr_alg} | ${auth_alg}
102 | | And Initialize IPSec in 3-node circular topology
103 | | And Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4}
104 | | ... | ${dut1_if2}
105 | | And Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4}
106 | | ... | ${dut2_if1}
107 | | And VPP IPsec Add Multiple Tunnels
108 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
109 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
110 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
111 | | ... | ${addr_range}
112 | | And Set interfaces in path in 3-node circular topology up
113 | | Then Find NDR using binary search and pps | ${framesize}
114 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
115 | | ... | ${min_rate} | ${max_rate} | ${threshold}
116
117 | tc02-64B-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-aes-gcm-pdrdisc
118 | | [Documentation]
119 | | ... | [Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,\
120 | | ... | configured with 1 phy core, 1 receive queue per NIC port.
121 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 40GE\
122 | | ... | linerate, step 50kpps and loss tolerance of 0.5%.
123 | | ...
124 | | [Tags] | 64B | 1C | PDRDISC | SKIP_PATCH
125 | | ...
126 | | ${framesize}= | Set Variable | ${64}
127 | | ${min_rate}= | Set Variable | ${50000}
128 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
129 | | ${binary_min}= | Set Variable | ${min_rate}
130 | | ${binary_max}= | Set Variable | ${max_rate}
131 | | ${threshold}= | Set Variable | ${min_rate}
132 | | ${encr_alg}= | Crypto Alg AES GCM 128
133 | | ${auth_alg}= | Integ Alg AES GCM 128
134 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
135 | | And Add PCI devices to all DUTs
136 | | And Add no multi seg to all DUTs
137 | | And Add cryptodev to all DUTs | ${1}
138 | | And Add DPDK dev default RXD to all DUTs | 2048
139 | | And Add DPDK dev default TXD to all DUTs | 2048
140 | | And Apply startup configuration on all VPP DUTs
141 | | When Generate keys for IPSec | ${encr_alg} | ${auth_alg}
142 | | And Initialize IPSec in 3-node circular topology
143 | | And Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4}
144 | | ... | ${dut1_if2}
145 | | And Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4}
146 | | ... | ${dut2_if1}
147 | | And VPP IPsec Add Multiple Tunnels
148 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
149 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
150 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
151 | | ... | ${addr_range}
152 | | And Set interfaces in path in 3-node circular topology up
153 | | Then Find PDR using binary search and pps | ${framesize}
154 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
155 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
156 | | ... | ${perf_pdr_loss_acceptance_type}
157
158 | tc03-1518B-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-aes-gcm-ndrdisc
159 | | [Documentation]
160 | | ... | [Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,\
161 | | ... | configured with 1 phy core, 1 receive queue per NIC port.
162 | | ... | [Ver] Find NDR for 1518 Byte frames\
163 | | ... | using binary search start at 40GE linerate, step 50kpps.
164 | | ...
165 | | [Tags] | 1518B | 1C | NDRDISC
166 | | ...
167 | | ${framesize}= | Set Variable | ${1518}
168 | | ${min_rate}= | Set Variable | ${50000}
169 | | ${max_rate}= | Calculate pps | ${s_24.5G}
170 | | ... | ${framesize + ${ipsec_overhead_gcm}}
171 | | ${binary_min}= | Set Variable | ${min_rate}
172 | | ${binary_max}= | Set Variable | ${max_rate}
173 | | ${threshold}= | Set Variable | ${min_rate}
174 | | ${encr_alg}= | Crypto Alg AES GCM 128
175 | | ${auth_alg}= | Integ Alg AES GCM 128
176 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
177 | | And Add PCI devices to all DUTs
178 | | And Add cryptodev to all DUTs | ${1}
179 | | And Add DPDK dev default RXD to all DUTs | 2048
180 | | And Add DPDK dev default TXD to all DUTs | 2048
181 | | And Apply startup configuration on all VPP DUTs
182 | | When Generate keys for IPSec | ${encr_alg} | ${auth_alg}
183 | | And Initialize IPSec in 3-node circular topology
184 | | And Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4}
185 | | ... | ${dut1_if2}
186 | | And Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4}
187 | | ... | ${dut2_if1}
188 | | And VPP IPsec Add Multiple Tunnels
189 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
190 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
191 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
192 | | ... | ${addr_range}
193 | | And Set interfaces in path in 3-node circular topology up
194 | | Then Find NDR using binary search and pps | ${framesize}
195 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
196 | | ... | ${min_rate} | ${max_rate} | ${threshold}
197
198 | tc04-1518B-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-aes-gcm-pdrdisc
199 | | [Documentation]
200 | | ... | [Cfg] DUTs run 1000 IPsec tunnel AES GCM in each direction,\
201 | | ... | configured with 1 phy core, 1 receive queue per NIC port.
202 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 40GE\
203 | | ... | linerate, step 50kpps and loss tolerance of 0.5%.
204 | | ...
205 | | [Tags] | 1518B | 1C | PDRDISC | SKIP_PATCH
206 | | ...
207 | | ${framesize}= | Set Variable | ${1518}
208 | | ${min_rate}= | Set Variable | ${50000}
209 | | ${max_rate}= | Calculate pps | ${s_24.5G}
210 | | ... | ${framesize + ${ipsec_overhead_gcm}}
211 | | ${binary_min}= | Set Variable | ${min_rate}
212 | | ${binary_max}= | Set Variable | ${max_rate}
213 | | ${threshold}= | Set Variable | ${min_rate}
214 | | ${encr_alg}= | Crypto Alg AES GCM 128
215 | | ${auth_alg}= | Integ Alg AES GCM 128
216 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
217 | | And Add PCI devices to all DUTs
218 | | And Add cryptodev to all DUTs | ${1}
219 | | And Add DPDK dev default RXD to all DUTs | 2048
220 | | And Add DPDK dev default TXD to all DUTs | 2048
221 | | And Apply startup configuration on all VPP DUTs
222 | | When Generate keys for IPSec | ${encr_alg} | ${auth_alg}
223 | | And Initialize IPSec in 3-node circular topology
224 | | And Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4}
225 | | ... | ${dut1_if2}
226 | | And Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4}
227 | | ... | ${dut2_if1}
228 | | And VPP IPsec Add Multiple Tunnels
229 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
230 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
231 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
232 | | ... | ${addr_range}
233 | | And Set interfaces in path in 3-node circular topology up
234 | | Then Find PDR using binary search and pps | ${framesize}
235 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
236 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
237 | | ... | ${perf_pdr_loss_acceptance_type}
238
239 | tc05-IMIX-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-aes-gcm-ndrdisc
240 | | [Documentation]
241 | | ... | [Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,\
242 | | ... | configured with 1 phy core, 1 receive queue per NIC port.
243 | | ... | [Ver] Find NDR for IMIX_v4_1 frames\
244 | | ... | using binary search start at 40GE linerate, step 50kpps.
245 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
246 | | ...
247 | | [Tags] | IMIX | 1C | NDRDISC
248 | | ...
249 | | ${framesize}= | Set Variable | IMIX_v4_1
250 | | ${imix_size}= | Get Frame Size | ${framesize}
251 | | ${min_rate}= | Set Variable | ${50000}
252 | | ${max_rate}= | Calculate pps | ${s_24.5G}
253 | | ... | ${imix_size} + ${ipsec_overhead_gcm}
254 | | ${binary_min}= | Set Variable | ${min_rate}
255 | | ${binary_max}= | Set Variable | ${max_rate}
256 | | ${threshold}= | Set Variable | ${min_rate}
257 | | ${encr_alg}= | Crypto Alg AES GCM 128
258 | | ${auth_alg}= | Integ Alg AES GCM 128
259 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
260 | | And Add PCI devices to all DUTs
261 | | And Add cryptodev to all DUTs | ${1}
262 | | And Add DPDK dev default RXD to all DUTs | 2048
263 | | And Add DPDK dev default TXD to all DUTs | 2048
264 | | And Apply startup configuration on all VPP DUTs
265 | | When Generate keys for IPSec | ${encr_alg} | ${auth_alg}
266 | | And Initialize IPSec in 3-node circular topology
267 | | And Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4}
268 | | ... | ${dut1_if2}
269 | | And Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4}
270 | | ... | ${dut2_if1}
271 | | And VPP IPsec Add Multiple Tunnels
272 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
273 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
274 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
275 | | ... | ${addr_range}
276 | | And Set interfaces in path in 3-node circular topology up
277 | | Then Find NDR using binary search and pps | ${framesize}
278 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
279 | | ... | ${min_rate} | ${max_rate} | ${threshold}
280
281 | tc06-IMIX-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-aes-gcm-pdrdisc
282 | | [Documentation]
283 | | ... | [Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,\
284 | | ... | configured with 1 phy core, 1 receive queue per NIC port.
285 | | ... | [Ver] Find PDR for IMIX_v4_1 frames using binary search start at 40GE\
286 | | ... | linerate, step 50kpps and loss tolerance of 0.5%.
287 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
288 | | ...
289 | | [Tags] | IMIX | 1C | PDRDISC | SKIP_PATCH
290 | | ...
291 | | ${framesize}= | Set Variable | IMIX_v4_1
292 | | ${imix_size}= | Get Frame Size | ${framesize}
293 | | ${min_rate}= | Set Variable | ${50000}
294 | | ${max_rate}= | Calculate pps | ${s_24.5G}
295 | | ... | ${imix_size} + ${ipsec_overhead_gcm}
296 | | ${binary_min}= | Set Variable | ${min_rate}
297 | | ${binary_max}= | Set Variable | ${max_rate}
298 | | ${threshold}= | Set Variable | ${min_rate}
299 | | ${encr_alg}= | Crypto Alg AES GCM 128
300 | | ${auth_alg}= | Integ Alg AES GCM 128
301 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
302 | | And Add PCI devices to all DUTs
303 | | And Add cryptodev to all DUTs | ${1}
304 | | And Add DPDK dev default RXD to all DUTs | 2048
305 | | And Add DPDK dev default TXD to all DUTs | 2048
306 | | And Apply startup configuration on all VPP DUTs
307 | | When Generate keys for IPSec | ${encr_alg} | ${auth_alg}
308 | | And Initialize IPSec in 3-node circular topology
309 | | And Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4}
310 | | ... | ${dut1_if2}
311 | | And Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4}
312 | | ... | ${dut2_if1}
313 | | And VPP IPsec Add Multiple Tunnels
314 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
315 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
316 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
317 | | ... | ${addr_range}
318 | | And Set interfaces in path in 3-node circular topology up
319 | | Then Find PDR using binary search and pps | ${framesize}
320 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
321 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
322 | | ... | ${perf_pdr_loss_acceptance_type}
323
324 | tc07-64B-2t2c-ethip4ipsecscale1000tnl-ip4base-tnl-aes-gcm-ndrdisc
325 | | [Documentation]
326 | | ... | [Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,\
327 | | ... | configured with 2 phy core, 1 receive queue per NIC port.
328 | | ... | [Ver] Find NDR for 64 Byte frames\
329 | | ... | using binary search start at 40GE linerate, step 50kpps.
330 | | ...
331 | | [Tags] | 64B | 2C | NDRDISC
332 | | ...
333 | | ${framesize}= | Set Variable | ${64}
334 | | ${min_rate}= | Set Variable | ${50000}
335 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
336 | | ${binary_min}= | Set Variable | ${min_rate}
337 | | ${binary_max}= | Set Variable | ${max_rate}
338 | | ${threshold}= | Set Variable | ${min_rate}
339 | | ${encr_alg}= | Crypto Alg AES GCM 128
340 | | ${auth_alg}= | Integ Alg AES GCM 128
341 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
342 | | And Add PCI devices to all DUTs
343 | | And Add no multi seg to all DUTs
344 | | And Add cryptodev to all DUTs | ${2}
345 | | And Add DPDK dev default RXD to all DUTs | 2048
346 | | And Add DPDK dev default TXD to all DUTs | 2048
347 | | And Apply startup configuration on all VPP DUTs
348 | | When Generate keys for IPSec | ${encr_alg} | ${auth_alg}
349 | | And Initialize IPSec in 3-node circular topology
350 | | And Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4}
351 | | ... | ${dut1_if2}
352 | | And Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4}
353 | | ... | ${dut2_if1}
354 | | And VPP IPsec Add Multiple Tunnels
355 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
356 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
357 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
358 | | ... | ${addr_range}
359 | | And Set interfaces in path in 3-node circular topology up
360 | | Then Find NDR using binary search and pps | ${framesize}
361 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
362 | | ... | ${min_rate} | ${max_rate} | ${threshold}
363
364 | tc08-64B-2t2c-ethip4ipsecscale1000tnl-ip4base-tnl-aes-gcm-pdrdisc
365 | | [Documentation]
366 | | ... | [Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,\
367 | | ... | configured with 2 phy core, 1 receive queue per NIC port.
368 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 40GE\
369 | | ... | linerate, step 50kpps and loss tolerance of 0.5%.
370 | | ...
371 | | [Tags] | 64B | 2C | PDRDISC | SKIP_PATCH
372 | | ...
373 | | ${framesize}= | Set Variable | ${64}
374 | | ${min_rate}= | Set Variable | ${50000}
375 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
376 | | ${binary_min}= | Set Variable | ${min_rate}
377 | | ${binary_max}= | Set Variable | ${max_rate}
378 | | ${threshold}= | Set Variable | ${min_rate}
379 | | ${encr_alg}= | Crypto Alg AES GCM 128
380 | | ${auth_alg}= | Integ Alg AES GCM 128
381 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
382 | | And Add PCI devices to all DUTs
383 | | And Add no multi seg to all DUTs
384 | | And Add cryptodev to all DUTs | ${2}
385 | | And Add DPDK dev default RXD to all DUTs | 2048
386 | | And Add DPDK dev default TXD to all DUTs | 2048
387 | | And Apply startup configuration on all VPP DUTs
388 | | When Generate keys for IPSec | ${encr_alg} | ${auth_alg}
389 | | And Initialize IPSec in 3-node circular topology
390 | | And Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4}
391 | | ... | ${dut1_if2}
392 | | And Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4}
393 | | ... | ${dut2_if1}
394 | | And VPP IPsec Add Multiple Tunnels
395 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
396 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
397 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
398 | | ... | ${addr_range}
399 | | And Set interfaces in path in 3-node circular topology up
400 | | Then Find PDR using binary search and pps | ${framesize}
401 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
402 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
403 | | ... | ${perf_pdr_loss_acceptance_type}