IPsec Multi-Tunnel performance test suite
[csit.git] / tests / perf / 40ge2p1xl710-ethip4ipsecscaleip4-ip4base-interfaces-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.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}= | ${58}
71
72 *** Test Cases ***
73 | tc01-64B-1t1c-ethip4ipsecscale1ip4-ip4base-interfaces-cbc-sha1-ndrdisc
74 | | [Documentation]
75 | | ... | [Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 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 CBC 128
90 | | ${auth_alg}= | Integ Alg SHA1 96
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-cbc-sha1-pdrdisc
107 | | [Documentation]
108 | | ... | [Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 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 CBC 128
123 | | ${auth_alg}= | Integ Alg SHA1 96
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-cbc-sha1-ndrdisc
141 | | [Documentation]
142 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 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 CBC 128
157 | | ${auth_alg}= | Integ Alg SHA1 96
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-cbc-sha1-pdrdisc
174 | | [Documentation]
175 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 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 CBC 128
190 | | ${auth_alg}= | Integ Alg SHA1 96
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-cbc-sha1-ndrdisc
208 | | [Documentation]
209 | | ... | [Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 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} | ${framesize + ${ipsec_overhead}}
220 | | ${binary_min}= | Set Variable | ${min_rate}
221 | | ${binary_max}= | Set Variable | ${max_rate}
222 | | ${threshold}= | Set Variable | ${min_rate}
223 | | ${encr_alg}= | Crypto Alg AES CBC 128
224 | | ${auth_alg}= | Integ Alg SHA1 96
225 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
226 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
227 | | And Add PCI devices to DUTs from 3-node single link topology
228 | | And Add Cryptodev to all DUTs | ${1}
229 | | And Apply startup configuration on all VPP DUTs
230 | | And IPsec initialized in a 3-node circular topology
231 | | And VPP IPsec Create Tunnel Interfaces
232 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
233 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
234 | | ... | ${raddr_ip4} | ${addr_range}
235 | | Then Find NDR using binary search and pps | ${framesize}
236 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
237 | | ... | ${min_rate} | ${max_rate} | ${threshold}
238
239 | tc06-1518B-1t1c-ethip4ipsecscale1ip4-ip4base-interfaces-cbc-sha1-pdrdisc
240 | | [Documentation]
241 | | ... | [Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configured\
242 | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port.
243 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 40GE\
244 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
245 | | ...
246 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
247 | | ...
248 | | ${n_tunnels}= | Set Variable | ${1}
249 | | ${framesize}= | Set Variable | ${1518}
250 | | ${min_rate}= | Set Variable | ${10000}
251 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize + ${ipsec_overhead}}
252 | | ${binary_min}= | Set Variable | ${min_rate}
253 | | ${binary_max}= | Set Variable | ${max_rate}
254 | | ${threshold}= | Set Variable | ${min_rate}
255 | | ${encr_alg}= | Crypto Alg AES CBC 128
256 | | ${auth_alg}= | Integ Alg SHA1 96
257 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
258 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
259 | | And Add PCI devices to DUTs from 3-node single link topology
260 | | And Add Cryptodev to all DUTs | ${1}
261 | | And Apply startup configuration on all VPP DUTs
262 | | And IPsec initialized in a 3-node circular topology
263 | | And VPP IPsec Create Tunnel Interfaces
264 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
265 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
266 | | ... | ${raddr_ip4} | ${addr_range}
267 | | Then Find PDR using binary search and pps | ${framesize}
268 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
269 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
270 | | ... | ${perf_pdr_loss_acceptance_type}
271
272 | tc07-1518B-1t1c-ethip4ipsecscale1000ip4-ip4base-interfaces-cbc-sha1-ndrdisc
273 | | [Documentation]
274 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
275 | | ... | configured with 1 thread, 1 phy core, 1 receive queue per NIC port.
276 | | ... | [Ver] Find NDR for 1518 Byte frames\
277 | | ... | using binary search start at 40GE linerate, step 100kpps.
278 | | ...
279 | | [Tags] | 1T1C | STHREAD | NDRDISC
280 | | ...
281 | | ${n_tunnels}= | Set Variable | ${1000}
282 | | ${framesize}= | Set Variable | ${1518}
283 | | ${min_rate}= | Set Variable | ${10000}
284 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize + ${ipsec_overhead}}
285 | | ${binary_min}= | Set Variable | ${min_rate}
286 | | ${binary_max}= | Set Variable | ${max_rate}
287 | | ${threshold}= | Set Variable | ${min_rate}
288 | | ${encr_alg}= | Crypto Alg AES CBC 128
289 | | ${auth_alg}= | Integ Alg SHA1 96
290 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
291 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
292 | | And Add PCI devices to DUTs from 3-node single link topology
293 | | And Add Cryptodev to all DUTs | ${1}
294 | | And Apply startup configuration on all VPP DUTs
295 | | And IPsec initialized in a 3-node circular topology
296 | | And VPP IPsec Create Tunnel Interfaces
297 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
298 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
299 | | ... | ${raddr_ip4} | ${addr_range}
300 | | Then Find NDR using binary search and pps | ${framesize}
301 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
302 | | ... | ${min_rate} | ${max_rate} | ${threshold}
303
304 | tc08-1518B-1t1c-ethip4ipsecscale1000ip4-ip4base-interfaces-cbc-sha1-pdrdisc
305 | | [Documentation]
306 | | ... | [Cfg] DUTs run 1000 IPsec tunnel CBC-SHA1 in each direction,\
307 | | ... | configured with 1 thread, 1 phy core, 1 receive queue per NIC port.
308 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 40GE\
309 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
310 | | ...
311 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
312 | | ...
313 | | ${n_tunnels}= | Set Variable | ${1000}
314 | | ${framesize}= | Set Variable | ${1518}
315 | | ${min_rate}= | Set Variable | ${10000}
316 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize + ${ipsec_overhead}}
317 | | ${binary_min}= | Set Variable | ${min_rate}
318 | | ${binary_max}= | Set Variable | ${max_rate}
319 | | ${threshold}= | Set Variable | ${min_rate}
320 | | ${encr_alg}= | Crypto Alg AES CBC 128
321 | | ${auth_alg}= | Integ Alg SHA1 96
322 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
323 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
324 | | And Add PCI devices to DUTs from 3-node single link topology
325 | | And Add Cryptodev to all DUTs | ${1}
326 | | And Apply startup configuration on all VPP DUTs
327 | | And IPsec initialized in a 3-node circular topology
328 | | And VPP IPsec Create Tunnel Interfaces
329 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
330 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
331 | | ... | ${raddr_ip4} | ${addr_range}
332 | | Then Find PDR using binary search and pps | ${framesize}
333 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
334 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
335 | | ... | ${perf_pdr_loss_acceptance_type}
336
337 | tc09-IMIX-1t1c-ethip4ipsecscale1ip4-ip4base-interfaces-cbc-sha1-ndrdisc
338 | | [Documentation]
339 | | ... | [Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configured\
340 | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port.
341 | | ... | [Ver] Find NDR for IMIX_v4_1 frames\
342 | | ... | using binary search start at 40GE linerate, step 100kpps.
343 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
344 | | ...
345 | | [Tags] | 1T1C | STHREAD | NDRDISC
346 | | ...
347 | | ${n_tunnels}= | Set Variable | ${1}
348 | | ${framesize}= | Set Variable | IMIX_v4_1
349 | | ${imix_size}= | Get Frame Size | ${framesize}
350 | | ${min_rate}= | Set Variable | ${10000}
351 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${imix_size} + ${ipsec_overhead}
352 | | ${binary_min}= | Set Variable | ${min_rate}
353 | | ${binary_max}= | Set Variable | ${max_rate}
354 | | ${threshold}= | Set Variable | ${min_rate}
355 | | ${encr_alg}= | Crypto Alg AES CBC 128
356 | | ${auth_alg}= | Integ Alg SHA1 96
357 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
358 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
359 | | And Add PCI devices to DUTs from 3-node single link topology
360 | | And Add Cryptodev to all DUTs | ${1}
361 | | And Apply startup configuration on all VPP DUTs
362 | | And IPsec initialized in a 3-node circular topology
363 | | And VPP IPsec Create Tunnel Interfaces
364 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
365 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
366 | | ... | ${raddr_ip4} | ${addr_range}
367 | | Then Find NDR using binary search and pps | ${framesize}
368 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
369 | | ... | ${min_rate} | ${max_rate} | ${threshold}
370
371 | tc10-IMIX-1t1c-ethip4ipsecscale1ip4-ip4base-interfaces-cbc-sha1-pdrdisc
372 | | [Documentation]
373 | | ... | [Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configured\
374 | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port.
375 | | ... | [Ver] Find PDR for IMIX_v4_1 frames using binary search start at 40GE\
376 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
377 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
378 | | ...
379 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
380 | | ...
381 | | ${n_tunnels}= | Set Variable | ${1}
382 | | ${framesize}= | Set Variable | IMIX_v4_1
383 | | ${imix_size}= | Get Frame Size | ${framesize}
384 | | ${min_rate}= | Set Variable | ${10000}
385 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${imix_size} + ${ipsec_overhead}
386 | | ${binary_min}= | Set Variable | ${min_rate}
387 | | ${binary_max}= | Set Variable | ${max_rate}
388 | | ${threshold}= | Set Variable | ${min_rate}
389 | | ${encr_alg}= | Crypto Alg AES CBC 128
390 | | ${auth_alg}= | Integ Alg SHA1 96
391 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
392 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
393 | | And Add PCI devices to DUTs from 3-node single link topology
394 | | And Add Cryptodev to all DUTs | ${1}
395 | | And Apply startup configuration on all VPP DUTs
396 | | And IPsec initialized in a 3-node circular topology
397 | | And VPP IPsec Create Tunnel Interfaces
398 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
399 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
400 | | ... | ${raddr_ip4} | ${addr_range}
401 | | Then Find PDR using binary search and pps | ${framesize}
402 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
403 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
404 | | ... | ${perf_pdr_loss_acceptance_type}
405
406 | tc11-IMIX-1t1c-ethip4ipsecscale1000ip4-ip4base-interfaces-cbc-sha1-ndrdisc
407 | | [Documentation]
408 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
409 | | ... | configured with 1 thread, 1 phy core, 1 receive queue per NIC port.
410 | | ... | [Ver] Find NDR for IMIX_v4_1 frames\
411 | | ... | using binary search start at 40GE linerate, step 100kpps.
412 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
413 | | ...
414 | | [Tags] | 1T1C | STHREAD | NDRDISC
415 | | ...
416 | | ${n_tunnels}= | Set Variable | ${1000}
417 | | ${framesize}= | Set Variable | IMIX_v4_1
418 | | ${imix_size}= | Get Frame Size | ${framesize}
419 | | ${min_rate}= | Set Variable | ${10000}
420 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${imix_size} + ${ipsec_overhead}
421 | | ${binary_min}= | Set Variable | ${min_rate}
422 | | ${binary_max}= | Set Variable | ${max_rate}
423 | | ${threshold}= | Set Variable | ${min_rate}
424 | | ${encr_alg}= | Crypto Alg AES CBC 128
425 | | ${auth_alg}= | Integ Alg SHA1 96
426 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
427 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
428 | | And Add PCI devices to DUTs from 3-node single link topology
429 | | And Add Cryptodev to all DUTs | ${1}
430 | | And Apply startup configuration on all VPP DUTs
431 | | And IPsec initialized in a 3-node circular topology
432 | | And VPP IPsec Create Tunnel Interfaces
433 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
434 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
435 | | ... | ${raddr_ip4} | ${addr_range}
436 | | Then Find NDR using binary search and pps | ${framesize}
437 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
438 | | ... | ${min_rate} | ${max_rate} | ${threshold}
439
440 | tc12-IMIX-1t1c-ethip4ipsecscale1000ip4-ip4base-interfaces-cbc-sha1-pdrdisc
441 | | [Documentation]
442 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
443 | | ... | configured with 1 thread, 1 phy core, 1 receive queue per NIC port.
444 | | ... | [Ver] Find PDR for IMIX_v4_1 frames using binary search start at 40GE\
445 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
446 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
447 | | ...
448 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
449 | | ...
450 | | ${n_tunnels}= | Set Variable | ${1000}
451 | | ${framesize}= | Set Variable | IMIX_v4_1
452 | | ${imix_size}= | Get Frame Size | ${framesize}
453 | | ${min_rate}= | Set Variable | ${10000}
454 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${imix_size} + ${ipsec_overhead}
455 | | ${binary_min}= | Set Variable | ${min_rate}
456 | | ${binary_max}= | Set Variable | ${max_rate}
457 | | ${threshold}= | Set Variable | ${min_rate}
458 | | ${encr_alg}= | Crypto Alg AES CBC 128
459 | | ${auth_alg}= | Integ Alg SHA1 96
460 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
461 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
462 | | And Add PCI devices to DUTs from 3-node single link topology
463 | | And Add Cryptodev to all DUTs | ${1}
464 | | And Apply startup configuration on all VPP DUTs
465 | | And IPsec initialized in a 3-node circular topology
466 | | And VPP IPsec Create Tunnel Interfaces
467 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
468 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
469 | | ... | ${raddr_ip4} | ${addr_range}
470 | | Then Find PDR using binary search and pps | ${framesize}
471 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
472 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
473 | | ... | ${perf_pdr_loss_acceptance_type}
474
475 | tc13-64B-2t2c-ethip4ipsecscale1ip4-ip4base-interfaces-cbc-sha1-ndrdisc
476 | | [Documentation]
477 | | ... | [Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configured\
478 | | ... | with 2 thread, 2 phy core, 1 receive queue per NIC port.
479 | | ... | [Ver] Find NDR for 64 Byte frames\
480 | | ... | using binary search start at 40GE linerate, step 100kpps.
481 | | ...
482 | | [Tags] | 2T2C | MTHREAD | NDRDISC
483 | | ...
484 | | ${n_tunnels}= | Set Variable | ${1}
485 | | ${framesize}= | Set Variable | ${64}
486 | | ${min_rate}= | Set Variable | ${10000}
487 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
488 | | ${binary_min}= | Set Variable | ${min_rate}
489 | | ${binary_max}= | Set Variable | ${max_rate}
490 | | ${threshold}= | Set Variable | ${min_rate}
491 | | ${encr_alg}= | Crypto Alg AES CBC 128
492 | | ${auth_alg}= | Integ Alg SHA1 96
493 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
494 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
495 | | And Add PCI devices to DUTs from 3-node single link topology
496 | | And Add No Multi Seg to all DUTs
497 | | And Add Cryptodev to all DUTs | ${2}
498 | | And Apply startup configuration on all VPP DUTs
499 | | And IPsec initialized in a 3-node circular topology
500 | | And VPP IPsec Create Tunnel Interfaces
501 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
502 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
503 | | ... | ${raddr_ip4} | ${addr_range}
504 | | Then Find NDR using binary search and pps | ${framesize}
505 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
506 | | ... | ${min_rate} | ${max_rate} | ${threshold}
507
508 | tc14-64B-2t2c-ethip4ipsecscale1ip4-ip4base-interfaces-cbc-sha1-pdrdisc
509 | | [Documentation]
510 | | ... | [Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configured\
511 | | ... | with 2 thread, 2 phy core, 1 receive queue per NIC port.
512 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 40GE\
513 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
514 | | ...
515 | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
516 | | ...
517 | | ${n_tunnels}= | Set Variable | ${1}
518 | | ${framesize}= | Set Variable | ${64}
519 | | ${min_rate}= | Set Variable | ${10000}
520 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
521 | | ${binary_min}= | Set Variable | ${min_rate}
522 | | ${binary_max}= | Set Variable | ${max_rate}
523 | | ${threshold}= | Set Variable | ${min_rate}
524 | | ${encr_alg}= | Crypto Alg AES CBC 128
525 | | ${auth_alg}= | Integ Alg SHA1 96
526 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
527 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
528 | | And Add PCI devices to DUTs from 3-node single link topology
529 | | And Add No Multi Seg to all DUTs
530 | | And Add Cryptodev to all DUTs | ${2}
531 | | And Apply startup configuration on all VPP DUTs
532 | | And IPsec initialized in a 3-node circular topology
533 | | And VPP IPsec Create Tunnel Interfaces
534 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
535 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
536 | | ... | ${raddr_ip4} | ${addr_range}
537 | | Then Find PDR using binary search and pps | ${framesize}
538 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
539 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
540 | | ... | ${perf_pdr_loss_acceptance_type}
541
542 | tc15-64B-2t2c-ethip4ipsecscale1000ip4-ip4base-interfaces-cbc-sha1-ndrdisc
543 | | [Documentation]
544 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
545 | | ... | configured with 2 thread, 2 phy core, 1 receive queue per NIC port.
546 | | ... | [Ver] Find NDR for 64 Byte frames\
547 | | ... | using binary search start at 40GE linerate, step 100kpps.
548 | | ...
549 | | [Tags] | 2T2C | MTHREAD | NDRDISC
550 | | ...
551 | | ${n_tunnels}= | Set Variable | ${1000}
552 | | ${framesize}= | Set Variable | ${64}
553 | | ${min_rate}= | Set Variable | ${10000}
554 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
555 | | ${binary_min}= | Set Variable | ${min_rate}
556 | | ${binary_max}= | Set Variable | ${max_rate}
557 | | ${threshold}= | Set Variable | ${min_rate}
558 | | ${encr_alg}= | Crypto Alg AES CBC 128
559 | | ${auth_alg}= | Integ Alg SHA1 96
560 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
561 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
562 | | And Add PCI devices to DUTs from 3-node single link topology
563 | | And Add No Multi Seg to all DUTs
564 | | And Add Cryptodev to all DUTs | ${2}
565 | | And Apply startup configuration on all VPP DUTs
566 | | And IPsec initialized in a 3-node circular topology
567 | | And VPP IPsec Create Tunnel Interfaces
568 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
569 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
570 | | ... | ${raddr_ip4} | ${addr_range}
571 | | Then Find NDR using binary search and pps | ${framesize}
572 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
573 | | ... | ${min_rate} | ${max_rate} | ${threshold}
574
575 | tc16-64B-2t2c-ethip4ipsecscale1000ip4-ip4base-interfaces-cbc-sha1-pdrdisc
576 | | [Documentation]
577 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
578 | | ... | configured with 2 thread, 2 phy core, 1 receive queue per NIC port.
579 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 40GE\
580 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
581 | | ...
582 | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
583 | | ...
584 | | ${n_tunnels}= | Set Variable | ${1000}
585 | | ${framesize}= | Set Variable | ${64}
586 | | ${min_rate}= | Set Variable | ${10000}
587 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
588 | | ${binary_min}= | Set Variable | ${min_rate}
589 | | ${binary_max}= | Set Variable | ${max_rate}
590 | | ${threshold}= | Set Variable | ${min_rate}
591 | | ${encr_alg}= | Crypto Alg AES CBC 128
592 | | ${auth_alg}= | Integ Alg SHA1 96
593 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
594 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
595 | | And Add PCI devices to DUTs from 3-node single link topology
596 | | And Add No Multi Seg to all DUTs
597 | | And Add Cryptodev to all DUTs | ${2}
598 | | And Apply startup configuration on all VPP DUTs
599 | | And IPsec initialized in a 3-node circular topology
600 | | And VPP IPsec Create Tunnel Interfaces
601 | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${n_tunnels}
602 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key} | ${laddr_ip4}
603 | | ... | ${raddr_ip4} | ${addr_range}
604 | | Then Find PDR using binary search and pps | ${framesize}
605 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
606 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
607 | | ... | ${perf_pdr_loss_acceptance_type}