IPsec Multi-Tunnel performance test suite
[csit.git] / tests / perf / 40ge2p1xl710-ethip4ipsecscaleip4-ip4base-interfaces-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.robot
16 | Resource | resources/libraries/robot/ipsec.robot
17 | ...
18 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | SCALE | NDRPDRDISC
19 | ... | IP4FWD | IPSEC | IPSECHW | IPSECTUN | NIC_Intel-XL710
20 | ...
21 | Suite Setup | Run Keywords
22 | ... | 3-node Performance Suite Setup with DUT's NIC model | L3 | Intel-XL710
23 | ... | AND | Verify Crypto Device On All DUTs | force_init=${True}
24 | ... | AND | Verify Kernel Module On All DUTs | igb_uio | force_load=${True}
25 | Suite Teardown | 3-node Performance Suite Teardown
26 | ...
27 | Test Setup | Performance test setup
28 | Test Teardown | Performance test teardown | ${min_rate}pps | ${framesize}
29 | ... | 3-node-IPv4-dst-${n_tunnels}
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
72 *** Test Cases ***
73 | tc01-64B-1t1c-ethip4ipsecscale1ip4-ip4base-interfaces-aes-gcm-ndrdisc
74 | | [Documentation]
75 | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\
76 | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port.
77 | | ... | [Ver] Find NDR for 64 Byte frames\
78 | | ... | using binary search start at 40GE linerate, step 100kpps.
79 | | ...
80 | | [Tags] | 1T1C | STHREAD | NDRDISC
81 | | ...
82 | | ${n_tunnels}= | Set Variable | ${1}
83 | | ${framesize}= | Set Variable | ${64}
84 | | ${min_rate}= | Set Variable | ${10000}
85 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
86 | | ${binary_min}= | Set Variable | ${min_rate}
87 | | ${binary_max}= | Set Variable | ${max_rate}
88 | | ${threshold}= | Set Variable | ${min_rate}
89 | | ${encr_alg}= | Crypto Alg AES GCM 128
90 | | ${auth_alg}= | Integ Alg AES GCM 128
91 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
92 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
93 | | And Add PCI devices to DUTs from 3-node single link topology
94 | | And Add No Multi Seg to all DUTs
95 | | And Add Cryptodev to all DUTs | ${1}
96 | | And Apply startup configuration on all VPP DUTs
97 | | And IPsec initialized in a 3-node circular topology
98 | | And VPP IPsec Create Tunnel Interfaces
99 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
100 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
101 | | ... | ${raddr_ip4} | ${addr_range}
102 | | Then Find NDR using binary search and pps | ${framesize}
103 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
104 | | ... | ${min_rate} | ${max_rate} | ${threshold}
105
106 | tc02-64B-1t1c-ethip4ipsecscale1ip4-ip4base-interfaces-aes-gcm-pdrdisc
107 | | [Documentation]
108 | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\
109 | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port.
110 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 40GE\
111 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
112 | | ...
113 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
114 | | ...
115 | | ${n_tunnels}= | Set Variable | ${1}
116 | | ${framesize}= | Set Variable | ${64}
117 | | ${min_rate}= | Set Variable | ${10000}
118 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
119 | | ${binary_min}= | Set Variable | ${min_rate}
120 | | ${binary_max}= | Set Variable | ${max_rate}
121 | | ${threshold}= | Set Variable | ${min_rate}
122 | | ${encr_alg}= | Crypto Alg AES GCM 128
123 | | ${auth_alg}= | Integ Alg AES GCM 128
124 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
125 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
126 | | And Add PCI devices to DUTs from 3-node single link topology
127 | | And Add No Multi Seg to all DUTs
128 | | And Add Cryptodev to all DUTs | ${1}
129 | | And Apply startup configuration on all VPP DUTs
130 | | And IPsec initialized in a 3-node circular topology
131 | | And VPP IPsec Create Tunnel Interfaces
132 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
133 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
134 | | ... | ${raddr_ip4} | ${addr_range}
135 | | Then Find PDR using binary search and pps | ${framesize}
136 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
137 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
138 | | ... | ${perf_pdr_loss_acceptance_type}
139
140 | tc03-64B-1t1c-ethip4ipsecscale1000ip4-ip4base-interfaces-aes-gcm-ndrdisc
141 | | [Documentation]
142 | | ... | [Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,\
143 | | ... | configured with 1 thread, 1 phy core, 1 receive queue per NIC port.
144 | | ... | [Ver] Find NDR for 64 Byte frames\
145 | | ... | using binary search start at 40GE linerate, step 100kpps.
146 | | ...
147 | | [Tags] | 1T1C | STHREAD | NDRDISC
148 | | ...
149 | | ${n_tunnels}= | Set Variable | ${1000}
150 | | ${framesize}= | Set Variable | ${64}
151 | | ${min_rate}= | Set Variable | ${10000}
152 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
153 | | ${binary_min}= | Set Variable | ${min_rate}
154 | | ${binary_max}= | Set Variable | ${max_rate}
155 | | ${threshold}= | Set Variable | ${min_rate}
156 | | ${encr_alg}= | Crypto Alg AES GCM 128
157 | | ${auth_alg}= | Integ Alg AES GCM 128
158 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
159 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
160 | | And Add PCI devices to DUTs from 3-node single link topology
161 | | And Add No Multi Seg to all DUTs
162 | | And Add Cryptodev to all DUTs | ${1}
163 | | And Apply startup configuration on all VPP DUTs
164 | | And IPsec initialized in a 3-node circular topology
165 | | And VPP IPsec Create Tunnel Interfaces
166 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
167 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
168 | | ... | ${raddr_ip4} | ${addr_range}
169 | | Then Find NDR using binary search and pps | ${framesize}
170 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
171 | | ... | ${min_rate} | ${max_rate} | ${threshold}
172
173 | tc04-64B-1t1c-ethip4ipsecscale1000ip4-ip4base-interfaces-aes-gcm-pdrdisc
174 | | [Documentation]
175 | | ... | [Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,\
176 | | ... | configured with 1 thread, 1 phy core, 1 receive queue per NIC port.
177 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 40GE\
178 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
179 | | ...
180 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
181 | | ...
182 | | ${n_tunnels}= | Set Variable | ${1000}
183 | | ${framesize}= | Set Variable | ${64}
184 | | ${min_rate}= | Set Variable | ${10000}
185 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
186 | | ${binary_min}= | Set Variable | ${min_rate}
187 | | ${binary_max}= | Set Variable | ${max_rate}
188 | | ${threshold}= | Set Variable | ${min_rate}
189 | | ${encr_alg}= | Crypto Alg AES GCM 128
190 | | ${auth_alg}= | Integ Alg AES GCM 128
191 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
192 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
193 | | And Add PCI devices to DUTs from 3-node single link topology
194 | | And Add No Multi Seg to all DUTs
195 | | And Add Cryptodev to all DUTs | ${1}
196 | | And Apply startup configuration on all VPP DUTs
197 | | And IPsec initialized in a 3-node circular topology
198 | | And VPP IPsec Create Tunnel Interfaces
199 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
200 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
201 | | ... | ${raddr_ip4} | ${addr_range}
202 | | Then Find PDR using binary search and pps | ${framesize}
203 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
204 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
205 | | ... | ${perf_pdr_loss_acceptance_type}
206
207 | tc05-1518B-1t1c-ethip4ipsecscale1ip4-ip4base-interfaces-aes-gcm-ndrdisc
208 | | [Documentation]
209 | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\
210 | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port.
211 | | ... | [Ver] Find NDR for 1518 Byte frames\
212 | | ... | using binary search start at 40GE linerate, step 100kpps.
213 | | ...
214 | | [Tags] | 1T1C | STHREAD | NDRDISC
215 | | ...
216 | | ${n_tunnels}= | Set Variable | ${1}
217 | | ${framesize}= | Set Variable | ${1518}
218 | | ${min_rate}= | Set Variable | ${10000}
219 | | ${max_rate}= | Calculate pps | ${s_24.5G}
220 | | ... | ${framesize + ${ipsec_overhead_gcm}}
221 | | ${binary_min}= | Set Variable | ${min_rate}
222 | | ${binary_max}= | Set Variable | ${max_rate}
223 | | ${threshold}= | Set Variable | ${min_rate}
224 | | ${encr_alg}= | Crypto Alg AES GCM 128
225 | | ${auth_alg}= | Integ Alg AES GCM 128
226 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
227 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
228 | | And Add PCI devices to DUTs from 3-node single link topology
229 | | And Add Cryptodev to all DUTs | ${1}
230 | | And Apply startup configuration on all VPP DUTs
231 | | And IPsec initialized in a 3-node circular topology
232 | | And VPP IPsec Create Tunnel Interfaces
233 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
234 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
235 | | ... | ${raddr_ip4} | ${addr_range}
236 | | Then Find NDR using binary search and pps | ${framesize}
237 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
238 | | ... | ${min_rate} | ${max_rate} | ${threshold}
239
240 | tc06-1518B-1t1c-ethip4ipsecscale1ip4-ip4base-interfaces-aes-gcm-pdrdisc
241 | | [Documentation]
242 | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\
243 | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port.
244 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 40GE\
245 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
246 | | ...
247 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
248 | | ...
249 | | ${n_tunnels}= | Set Variable | ${1}
250 | | ${framesize}= | Set Variable | ${1518}
251 | | ${min_rate}= | Set Variable | ${10000}
252 | | ${max_rate}= | Calculate pps | ${s_24.5G}
253 | | ... | ${framesize + ${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 rxqueues '1' in 3-node single-link topo
260 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
261 | | And Add PCI devices to DUTs from 3-node single link topology
262 | | And Add Cryptodev to all DUTs | ${1}
263 | | And Apply startup configuration on all VPP DUTs
264 | | And IPsec initialized in a 3-node circular topology
265 | | And VPP IPsec Create Tunnel Interfaces
266 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
267 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
268 | | ... | ${raddr_ip4} | ${addr_range}
269 | | Then Find PDR using binary search and pps | ${framesize}
270 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
271 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
272 | | ... | ${perf_pdr_loss_acceptance_type}
273
274 | tc07-1518B-1t1c-ethip4ipsecscale1000ip4-ip4base-interfaces-aes-gcm-ndrdisc
275 | | [Documentation]
276 | | ... | [Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,\
277 | | ... | configured with 1 thread, 1 phy core, 1 receive queue per NIC port.
278 | | ... | [Ver] Find NDR for 1518 Byte frames\
279 | | ... | using binary search start at 40GE linerate, step 100kpps.
280 | | ...
281 | | [Tags] | 1T1C | STHREAD | NDRDISC
282 | | ...
283 | | ${n_tunnels}= | Set Variable | ${1000}
284 | | ${framesize}= | Set Variable | ${1518}
285 | | ${min_rate}= | Set Variable | ${10000}
286 | | ${max_rate}= | Calculate pps | ${s_24.5G}
287 | | ... | ${framesize + ${ipsec_overhead_gcm}}
288 | | ${binary_min}= | Set Variable | ${min_rate}
289 | | ${binary_max}= | Set Variable | ${max_rate}
290 | | ${threshold}= | Set Variable | ${min_rate}
291 | | ${encr_alg}= | Crypto Alg AES GCM 128
292 | | ${auth_alg}= | Integ Alg AES GCM 128
293 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
294 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
295 | | And Add PCI devices to DUTs from 3-node single link topology
296 | | And Add Cryptodev to all DUTs | ${1}
297 | | And Apply startup configuration on all VPP DUTs
298 | | And IPsec initialized in a 3-node circular topology
299 | | And VPP IPsec Create Tunnel Interfaces
300 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
301 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
302 | | ... | ${raddr_ip4} | ${addr_range}
303 | | Then Find NDR using binary search and pps | ${framesize}
304 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
305 | | ... | ${min_rate} | ${max_rate} | ${threshold}
306
307 | tc08-1518B-1t1c-ethip4ipsecscale1000ip4-ip4base-interfaces-aes-gcm-pdrdisc
308 | | [Documentation]
309 | | ... | [Cfg] DUTs run 1000 IPsec tunnel AES GCM in each direction,\
310 | | ... | configured with 1 thread, 1 phy core, 1 receive queue per NIC port.
311 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 40GE\
312 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
313 | | ...
314 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
315 | | ...
316 | | ${n_tunnels}= | Set Variable | ${1000}
317 | | ${framesize}= | Set Variable | ${1518}
318 | | ${min_rate}= | Set Variable | ${10000}
319 | | ${max_rate}= | Calculate pps | ${s_24.5G}
320 | | ... | ${framesize + ${ipsec_overhead_gcm}}
321 | | ${binary_min}= | Set Variable | ${min_rate}
322 | | ${binary_max}= | Set Variable | ${max_rate}
323 | | ${threshold}= | Set Variable | ${min_rate}
324 | | ${encr_alg}= | Crypto Alg AES GCM 128
325 | | ${auth_alg}= | Integ Alg AES GCM 128
326 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
327 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
328 | | And Add PCI devices to DUTs from 3-node single link topology
329 | | And Add Cryptodev to all DUTs | ${1}
330 | | And Apply startup configuration on all VPP DUTs
331 | | And IPsec initialized in a 3-node circular topology
332 | | And VPP IPsec Create Tunnel Interfaces
333 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
334 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
335 | | ... | ${raddr_ip4} | ${addr_range}
336 | | Then Find PDR using binary search and pps | ${framesize}
337 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
338 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
339 | | ... | ${perf_pdr_loss_acceptance_type}
340
341 | tc09-IMIX-1t1c-ethip4ipsecscale1ip4-ip4base-interfaces-aes-gcm-ndrdisc
342 | | [Documentation]
343 | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\
344 | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port.
345 | | ... | [Ver] Find NDR for IMIX_v4_1 frames\
346 | | ... | using binary search start at 40GE linerate, step 100kpps.
347 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
348 | | ...
349 | | [Tags] | 1T1C | STHREAD | NDRDISC
350 | | ...
351 | | ${n_tunnels}= | Set Variable | ${1}
352 | | ${framesize}= | Set Variable | IMIX_v4_1
353 | | ${imix_size}= | Get Frame Size | ${framesize}
354 | | ${min_rate}= | Set Variable | ${10000}
355 | | ${max_rate}= | Calculate pps | ${s_24.5G}
356 | | ... | ${imix_size} + ${ipsec_overhead_gcm}
357 | | ${binary_min}= | Set Variable | ${min_rate}
358 | | ${binary_max}= | Set Variable | ${max_rate}
359 | | ${threshold}= | Set Variable | ${min_rate}
360 | | ${encr_alg}= | Crypto Alg AES GCM 128
361 | | ${auth_alg}= | Integ Alg AES GCM 128
362 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
363 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
364 | | And Add PCI devices to DUTs from 3-node single link topology
365 | | And Add Cryptodev to all DUTs | ${1}
366 | | And Apply startup configuration on all VPP DUTs
367 | | And IPsec initialized in a 3-node circular topology
368 | | And VPP IPsec Create Tunnel Interfaces
369 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
370 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
371 | | ... | ${raddr_ip4} | ${addr_range}
372 | | Then Find NDR using binary search and pps | ${framesize}
373 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
374 | | ... | ${min_rate} | ${max_rate} | ${threshold}
375
376 | tc10-IMIX-1t1c-ethip4ipsecscale1ip4-ip4base-interfaces-aes-gcm-pdrdisc
377 | | [Documentation]
378 | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\
379 | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port.
380 | | ... | [Ver] Find PDR for IMIX_v4_1 frames using binary search start at 40GE\
381 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
382 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
383 | | ...
384 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
385 | | ...
386 | | ${n_tunnels}= | Set Variable | ${1}
387 | | ${framesize}= | Set Variable | IMIX_v4_1
388 | | ${imix_size}= | Get Frame Size | ${framesize}
389 | | ${min_rate}= | Set Variable | ${10000}
390 | | ${max_rate}= | Calculate pps | ${s_24.5G}
391 | | ... | ${imix_size} + ${ipsec_overhead_gcm}
392 | | ${binary_min}= | Set Variable | ${min_rate}
393 | | ${binary_max}= | Set Variable | ${max_rate}
394 | | ${threshold}= | Set Variable | ${min_rate}
395 | | ${encr_alg}= | Crypto Alg AES GCM 128
396 | | ${auth_alg}= | Integ Alg AES GCM 128
397 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
398 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
399 | | And Add PCI devices to DUTs from 3-node single link topology
400 | | And Add Cryptodev to all DUTs | ${1}
401 | | And Apply startup configuration on all VPP DUTs
402 | | And IPsec initialized in a 3-node circular topology
403 | | And VPP IPsec Create Tunnel Interfaces
404 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
405 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
406 | | ... | ${raddr_ip4} | ${addr_range}
407 | | Then Find PDR using binary search and pps | ${framesize}
408 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
409 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
410 | | ... | ${perf_pdr_loss_acceptance_type}
411
412 | tc11-IMIX-1t1c-ethip4ipsecscale1000ip4-ip4base-interfaces-aes-gcm-ndrdisc
413 | | [Documentation]
414 | | ... | [Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,\
415 | | ... | configured with 1 thread, 1 phy core, 1 receive queue per NIC port.
416 | | ... | [Ver] Find NDR for IMIX_v4_1 frames\
417 | | ... | using binary search start at 40GE linerate, step 100kpps.
418 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
419 | | ...
420 | | [Tags] | 1T1C | STHREAD | NDRDISC
421 | | ...
422 | | ${n_tunnels}= | Set Variable | ${1000}
423 | | ${framesize}= | Set Variable | IMIX_v4_1
424 | | ${imix_size}= | Get Frame Size | ${framesize}
425 | | ${min_rate}= | Set Variable | ${10000}
426 | | ${max_rate}= | Calculate pps | ${s_24.5G}
427 | | ... | ${imix_size} + ${ipsec_overhead_gcm}
428 | | ${binary_min}= | Set Variable | ${min_rate}
429 | | ${binary_max}= | Set Variable | ${max_rate}
430 | | ${threshold}= | Set Variable | ${min_rate}
431 | | ${encr_alg}= | Crypto Alg AES GCM 128
432 | | ${auth_alg}= | Integ Alg AES GCM 128
433 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
434 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
435 | | And Add PCI devices to DUTs from 3-node single link topology
436 | | And Add Cryptodev to all DUTs | ${1}
437 | | And Apply startup configuration on all VPP DUTs
438 | | And IPsec initialized in a 3-node circular topology
439 | | And VPP IPsec Create Tunnel Interfaces
440 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
441 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
442 | | ... | ${raddr_ip4} | ${addr_range}
443 | | Then Find NDR using binary search and pps | ${framesize}
444 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
445 | | ... | ${min_rate} | ${max_rate} | ${threshold}
446
447 | tc12-IMIX-1t1c-ethip4ipsecscale1000ip4-ip4base-interfaces-aes-gcm-pdrdisc
448 | | [Documentation]
449 | | ... | [Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,\
450 | | ... | configured with 1 thread, 1 phy core, 1 receive queue per NIC port.
451 | | ... | [Ver] Find PDR for IMIX_v4_1 frames using binary search start at 40GE\
452 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
453 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
454 | | ...
455 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
456 | | ...
457 | | ${n_tunnels}= | Set Variable | ${1000}
458 | | ${framesize}= | Set Variable | IMIX_v4_1
459 | | ${imix_size}= | Get Frame Size | ${framesize}
460 | | ${min_rate}= | Set Variable | ${10000}
461 | | ${max_rate}= | Calculate pps | ${s_24.5G}
462 | | ... | ${imix_size} + ${ipsec_overhead_gcm}
463 | | ${binary_min}= | Set Variable | ${min_rate}
464 | | ${binary_max}= | Set Variable | ${max_rate}
465 | | ${threshold}= | Set Variable | ${min_rate}
466 | | ${encr_alg}= | Crypto Alg AES GCM 128
467 | | ${auth_alg}= | Integ Alg AES GCM 128
468 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
469 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
470 | | And Add PCI devices to DUTs from 3-node single link topology
471 | | And Add Cryptodev to all DUTs | ${1}
472 | | And Apply startup configuration on all VPP DUTs
473 | | And IPsec initialized in a 3-node circular topology
474 | | And VPP IPsec Create Tunnel Interfaces
475 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
476 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
477 | | ... | ${raddr_ip4} | ${addr_range}
478 | | Then Find PDR using binary search and pps | ${framesize}
479 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
480 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
481 | | ... | ${perf_pdr_loss_acceptance_type}
482
483 | tc13-64B-2t2c-ethip4ipsecscale1ip4-ip4base-interfaces-aes-gcm-ndrdisc
484 | | [Documentation]
485 | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\
486 | | ... | with 2 thread, 2 phy core, 1 receive queue per NIC port.
487 | | ... | [Ver] Find NDR for 64 Byte frames\
488 | | ... | using binary search start at 40GE linerate, step 100kpps.
489 | | ...
490 | | [Tags] | 2T2C | MTHREAD | NDRDISC
491 | | ...
492 | | ${n_tunnels}= | Set Variable | ${1}
493 | | ${framesize}= | Set Variable | ${64}
494 | | ${min_rate}= | Set Variable | ${10000}
495 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
496 | | ${binary_min}= | Set Variable | ${min_rate}
497 | | ${binary_max}= | Set Variable | ${max_rate}
498 | | ${threshold}= | Set Variable | ${min_rate}
499 | | ${encr_alg}= | Crypto Alg AES GCM 128
500 | | ${auth_alg}= | Integ Alg AES GCM 128
501 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
502 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
503 | | And Add PCI devices to DUTs from 3-node single link topology
504 | | And Add No Multi Seg to all DUTs
505 | | And Add Cryptodev to all DUTs | ${2}
506 | | And Apply startup configuration on all VPP DUTs
507 | | And IPsec initialized in a 3-node circular topology
508 | | And VPP IPsec Create Tunnel Interfaces
509 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
510 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
511 | | ... | ${raddr_ip4} | ${addr_range}
512 | | Then Find NDR using binary search and pps | ${framesize}
513 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
514 | | ... | ${min_rate} | ${max_rate} | ${threshold}
515
516 | tc14-64B-2t2c-ethip4ipsecscale1ip4-ip4base-interfaces-aes-gcm-pdrdisc
517 | | [Documentation]
518 | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\
519 | | ... | with 2 thread, 2 phy core, 1 receive queue per NIC port.
520 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 40GE\
521 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
522 | | ...
523 | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
524 | | ...
525 | | ${n_tunnels}= | Set Variable | ${1}
526 | | ${framesize}= | Set Variable | ${64}
527 | | ${min_rate}= | Set Variable | ${10000}
528 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
529 | | ${binary_min}= | Set Variable | ${min_rate}
530 | | ${binary_max}= | Set Variable | ${max_rate}
531 | | ${threshold}= | Set Variable | ${min_rate}
532 | | ${encr_alg}= | Crypto Alg AES GCM 128
533 | | ${auth_alg}= | Integ Alg AES GCM 128
534 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
535 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
536 | | And Add PCI devices to DUTs from 3-node single link topology
537 | | And Add No Multi Seg to all DUTs
538 | | And Add Cryptodev to all DUTs | ${2}
539 | | And Apply startup configuration on all VPP DUTs
540 | | And IPsec initialized in a 3-node circular topology
541 | | And VPP IPsec Create Tunnel Interfaces
542 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
543 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
544 | | ... | ${raddr_ip4} | ${addr_range}
545 | | Then Find PDR using binary search and pps | ${framesize}
546 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
547 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
548 | | ... | ${perf_pdr_loss_acceptance_type}
549
550 | tc15-64B-2t2c-ethip4ipsecscale1000ip4-ip4base-interfaces-aes-gcm-ndrdisc
551 | | [Documentation]
552 | | ... | [Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,\
553 | | ... | configured with 2 thread, 2 phy core, 1 receive queue per NIC port.
554 | | ... | [Ver] Find NDR for 64 Byte frames\
555 | | ... | using binary search start at 40GE linerate, step 100kpps.
556 | | ...
557 | | [Tags] | 2T2C | MTHREAD | NDRDISC
558 | | ...
559 | | ${n_tunnels}= | Set Variable | ${1000}
560 | | ${framesize}= | Set Variable | ${64}
561 | | ${min_rate}= | Set Variable | ${10000}
562 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
563 | | ${binary_min}= | Set Variable | ${min_rate}
564 | | ${binary_max}= | Set Variable | ${max_rate}
565 | | ${threshold}= | Set Variable | ${min_rate}
566 | | ${encr_alg}= | Crypto Alg AES GCM 128
567 | | ${auth_alg}= | Integ Alg AES GCM 128
568 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
569 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
570 | | And Add PCI devices to DUTs from 3-node single link topology
571 | | And Add No Multi Seg to all DUTs
572 | | And Add Cryptodev to all DUTs | ${2}
573 | | And Apply startup configuration on all VPP DUTs
574 | | And IPsec initialized in a 3-node circular topology
575 | | And VPP IPsec Create Tunnel Interfaces
576 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
577 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
578 | | ... | ${raddr_ip4} | ${addr_range}
579 | | Then Find NDR using binary search and pps | ${framesize}
580 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
581 | | ... | ${min_rate} | ${max_rate} | ${threshold}
582
583 | tc16-64B-2t2c-ethip4ipsecscale1000ip4-ip4base-interfaces-aes-gcm-pdrdisc
584 | | [Documentation]
585 | | ... | [Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,\
586 | | ... | configured with 2 thread, 2 phy core, 1 receive queue per NIC port.
587 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 40GE\
588 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
589 | | ...
590 | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
591 | | ...
592 | | ${n_tunnels}= | Set Variable | ${1000}
593 | | ${framesize}= | Set Variable | ${64}
594 | | ${min_rate}= | Set Variable | ${10000}
595 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
596 | | ${binary_min}= | Set Variable | ${min_rate}
597 | | ${binary_max}= | Set Variable | ${max_rate}
598 | | ${threshold}= | Set Variable | ${min_rate}
599 | | ${encr_alg}= | Crypto Alg AES GCM 128
600 | | ${auth_alg}= | Integ Alg AES GCM 128
601 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
602 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
603 | | And Add PCI devices to DUTs from 3-node single link topology
604 | | And Add No Multi Seg to all DUTs
605 | | And Add Cryptodev to all DUTs | ${2}
606 | | And Apply startup configuration on all VPP DUTs
607 | | And IPsec initialized in a 3-node circular topology
608 | | And VPP IPsec Create Tunnel Interfaces
609 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
610 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
611 | | ... | ${raddr_ip4} | ${addr_range}
612 | | Then Find PDR using binary search and pps | ${framesize}
613 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
614 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
615 | | ... | ${perf_pdr_loss_acceptance_type}