CSIT-573: Split SNAT scale tests to multiple files
[csit.git] / tests / perf / 40ge2p1xl710-ethip4ipsecscaleip4-ip4base-tunnels-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-tunnels-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] | 64B | 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 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
99 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
100 | | And VPP IPsec Add Multiple Tunnels
101 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
102 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
103 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
104 | | ... | ${addr_range}
105 | | Then Find NDR using binary search and pps | ${framesize}
106 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
107 | | ... | ${min_rate} | ${max_rate} | ${threshold}
108
109 | tc02-64B-1t1c-ethip4ipsecscale1ip4-ip4base-tunnels-cbc-sha1-pdrdisc
110 | | [Documentation]
111 | | ... | [Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configured\
112 | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port.
113 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 40GE\
114 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
115 | | ...
116 | | [Tags] | 64B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
117 | | ...
118 | | ${n_tunnels}= | Set Variable | ${1}
119 | | ${framesize}= | Set Variable | ${64}
120 | | ${min_rate}= | Set Variable | ${10000}
121 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
122 | | ${binary_min}= | Set Variable | ${min_rate}
123 | | ${binary_max}= | Set Variable | ${max_rate}
124 | | ${threshold}= | Set Variable | ${min_rate}
125 | | ${encr_alg}= | Crypto Alg AES CBC 128
126 | | ${auth_alg}= | Integ Alg SHA1 96
127 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
128 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
129 | | And Add PCI devices to DUTs from 3-node single link topology
130 | | And Add No Multi Seg to all DUTs
131 | | And Add Cryptodev to all DUTs | ${1}
132 | | And Apply startup configuration on all VPP DUTs
133 | | And IPsec initialized in a 3-node circular topology
134 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
135 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
136 | | And VPP IPsec Add Multiple Tunnels
137 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
138 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
139 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
140 | | ... | ${addr_range}
141 | | Then Find PDR using binary search and pps | ${framesize}
142 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
143 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
144 | | ... | ${perf_pdr_loss_acceptance_type}
145
146 | tc03-64B-1t1c-ethip4ipsecscale1000ip4-ip4base-tunnels-cbc-sha1-ndrdisc
147 | | [Documentation]
148 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
149 | | ... | configured with 1 thread, 1 phy core, 1 receive queue per NIC port.
150 | | ... | [Ver] Find NDR for 64 Byte frames\
151 | | ... | using binary search start at 40GE linerate, step 100kpps.
152 | | ...
153 | | [Tags] | 64B | 1T1C | STHREAD | NDRDISC
154 | | ...
155 | | ${n_tunnels}= | Set Variable | ${1000}
156 | | ${framesize}= | Set Variable | ${64}
157 | | ${min_rate}= | Set Variable | ${10000}
158 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
159 | | ${binary_min}= | Set Variable | ${min_rate}
160 | | ${binary_max}= | Set Variable | ${max_rate}
161 | | ${threshold}= | Set Variable | ${min_rate}
162 | | ${encr_alg}= | Crypto Alg AES CBC 128
163 | | ${auth_alg}= | Integ Alg SHA1 96
164 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
165 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
166 | | And Add PCI devices to DUTs from 3-node single link topology
167 | | And Add No Multi Seg to all DUTs
168 | | And Add Cryptodev to all DUTs | ${1}
169 | | And Apply startup configuration on all VPP DUTs
170 | | And IPsec initialized in a 3-node circular topology
171 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
172 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
173 | | And VPP IPsec Add Multiple Tunnels
174 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
175 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
176 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
177 | | ... | ${addr_range}
178 | | Then Find NDR using binary search and pps | ${framesize}
179 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
180 | | ... | ${min_rate} | ${max_rate} | ${threshold}
181
182 | tc04-64B-1t1c-ethip4ipsecscale1000ip4-ip4base-tunnels-cbc-sha1-pdrdisc
183 | | [Documentation]
184 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
185 | | ... | configured with 1 thread, 1 phy core, 1 receive queue per NIC port.
186 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 40GE\
187 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
188 | | ...
189 | | [Tags] | 64B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
190 | | ...
191 | | ${n_tunnels}= | Set Variable | ${1000}
192 | | ${framesize}= | Set Variable | ${64}
193 | | ${min_rate}= | Set Variable | ${10000}
194 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
195 | | ${binary_min}= | Set Variable | ${min_rate}
196 | | ${binary_max}= | Set Variable | ${max_rate}
197 | | ${threshold}= | Set Variable | ${min_rate}
198 | | ${encr_alg}= | Crypto Alg AES CBC 128
199 | | ${auth_alg}= | Integ Alg SHA1 96
200 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
201 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
202 | | And Add PCI devices to DUTs from 3-node single link topology
203 | | And Add No Multi Seg to all DUTs
204 | | And Add Cryptodev to all DUTs | ${1}
205 | | And Apply startup configuration on all VPP DUTs
206 | | And IPsec initialized in a 3-node circular topology
207 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
208 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
209 | | And VPP IPsec Add Multiple Tunnels
210 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
211 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
212 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
213 | | ... | ${addr_range}
214 | | Then Find PDR using binary search and pps | ${framesize}
215 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
216 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
217 | | ... | ${perf_pdr_loss_acceptance_type}
218
219 | tc05-1518B-1t1c-ethip4ipsecscale1ip4-ip4base-tunnels-cbc-sha1-ndrdisc
220 | | [Documentation]
221 | | ... | [Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configured\
222 | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port.
223 | | ... | [Ver] Find NDR for 1518 Byte frames\
224 | | ... | using binary search start at 40GE linerate, step 100kpps.
225 | | ...
226 | | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC
227 | | ...
228 | | ${n_tunnels}= | Set Variable | ${1}
229 | | ${framesize}= | Set Variable | ${1518}
230 | | ${min_rate}= | Set Variable | ${10000}
231 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize + ${ipsec_overhead}}
232 | | ${binary_min}= | Set Variable | ${min_rate}
233 | | ${binary_max}= | Set Variable | ${max_rate}
234 | | ${threshold}= | Set Variable | ${min_rate}
235 | | ${encr_alg}= | Crypto Alg AES CBC 128
236 | | ${auth_alg}= | Integ Alg SHA1 96
237 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
238 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
239 | | And Add PCI devices to DUTs from 3-node single link topology
240 | | And Add Cryptodev to all DUTs | ${1}
241 | | And Apply startup configuration on all VPP DUTs
242 | | And IPsec initialized in a 3-node circular topology
243 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
244 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
245 | | And VPP IPsec Add Multiple Tunnels
246 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
247 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
248 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
249 | | ... | ${addr_range}
250 | | Then Find NDR using binary search and pps | ${framesize}
251 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
252 | | ... | ${min_rate} | ${max_rate} | ${threshold}
253
254 | tc06-1518B-1t1c-ethip4ipsecscale1ip4-ip4base-tunnels-cbc-sha1-pdrdisc
255 | | [Documentation]
256 | | ... | [Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configured\
257 | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port.
258 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 40GE\
259 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
260 | | ...
261 | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
262 | | ...
263 | | ${n_tunnels}= | Set Variable | ${1}
264 | | ${framesize}= | Set Variable | ${1518}
265 | | ${min_rate}= | Set Variable | ${10000}
266 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize + ${ipsec_overhead}}
267 | | ${binary_min}= | Set Variable | ${min_rate}
268 | | ${binary_max}= | Set Variable | ${max_rate}
269 | | ${threshold}= | Set Variable | ${min_rate}
270 | | ${encr_alg}= | Crypto Alg AES CBC 128
271 | | ${auth_alg}= | Integ Alg SHA1 96
272 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
273 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
274 | | And Add PCI devices to DUTs from 3-node single link topology
275 | | And Add Cryptodev to all DUTs | ${1}
276 | | And Apply startup configuration on all VPP DUTs
277 | | And IPsec initialized in a 3-node circular topology
278 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
279 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
280 | | And VPP IPsec Add Multiple Tunnels
281 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
282 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
283 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
284 | | ... | ${addr_range}
285 | | Then Find PDR using binary search and pps | ${framesize}
286 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
287 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
288 | | ... | ${perf_pdr_loss_acceptance_type}
289
290 | tc07-1518B-1t1c-ethip4ipsecscale1000ip4-ip4base-tunnels-cbc-sha1-ndrdisc
291 | | [Documentation]
292 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
293 | | ... | configured with 1 thread, 1 phy core, 1 receive queue per NIC port.
294 | | ... | [Ver] Find NDR for 1518 Byte frames\
295 | | ... | using binary search start at 40GE linerate, step 100kpps.
296 | | ...
297 | | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC
298 | | ...
299 | | ${n_tunnels}= | Set Variable | ${1000}
300 | | ${framesize}= | Set Variable | ${1518}
301 | | ${min_rate}= | Set Variable | ${10000}
302 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize + ${ipsec_overhead}}
303 | | ${binary_min}= | Set Variable | ${min_rate}
304 | | ${binary_max}= | Set Variable | ${max_rate}
305 | | ${threshold}= | Set Variable | ${min_rate}
306 | | ${encr_alg}= | Crypto Alg AES CBC 128
307 | | ${auth_alg}= | Integ Alg SHA1 96
308 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
309 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
310 | | And Add PCI devices to DUTs from 3-node single link topology
311 | | And Add Cryptodev to all DUTs | ${1}
312 | | And Apply startup configuration on all VPP DUTs
313 | | And IPsec initialized in a 3-node circular topology
314 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
315 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
316 | | And VPP IPsec Add Multiple Tunnels
317 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
318 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
319 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
320 | | ... | ${addr_range}
321 | | Then Find NDR using binary search and pps | ${framesize}
322 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
323 | | ... | ${min_rate} | ${max_rate} | ${threshold}
324
325 | tc08-1518B-1t1c-ethip4ipsecscale1000ip4-ip4base-tunnels-cbc-sha1-pdrdisc
326 | | [Documentation]
327 | | ... | [Cfg] DUTs run 1000 IPsec tunnel CBC-SHA1 in each direction,\
328 | | ... | configured with 1 thread, 1 phy core, 1 receive queue per NIC port.
329 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 40GE\
330 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
331 | | ...
332 | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
333 | | ...
334 | | ${n_tunnels}= | Set Variable | ${1000}
335 | | ${framesize}= | Set Variable | ${1518}
336 | | ${min_rate}= | Set Variable | ${10000}
337 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize + ${ipsec_overhead}}
338 | | ${binary_min}= | Set Variable | ${min_rate}
339 | | ${binary_max}= | Set Variable | ${max_rate}
340 | | ${threshold}= | Set Variable | ${min_rate}
341 | | ${encr_alg}= | Crypto Alg AES CBC 128
342 | | ${auth_alg}= | Integ Alg SHA1 96
343 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
344 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
345 | | And Add PCI devices to DUTs from 3-node single link topology
346 | | And Add Cryptodev to all DUTs | ${1}
347 | | And Apply startup configuration on all VPP DUTs
348 | | And IPsec initialized in a 3-node circular topology
349 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
350 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
351 | | And VPP IPsec Add Multiple Tunnels
352 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
353 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
354 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
355 | | ... | ${addr_range}
356 | | Then Find PDR using binary search and pps | ${framesize}
357 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
358 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
359 | | ... | ${perf_pdr_loss_acceptance_type}
360
361 | tc09-IMIX-1t1c-ethip4ipsecscale1ip4-ip4base-tunnels-cbc-sha1-ndrdisc
362 | | [Documentation]
363 | | ... | [Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configured\
364 | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port.
365 | | ... | [Ver] Find NDR for IMIX_v4_1 frames\
366 | | ... | using binary search start at 40GE linerate, step 100kpps.
367 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
368 | | ...
369 | | [Tags] | IMIX | 1T1C | STHREAD | NDRDISC
370 | | ...
371 | | ${n_tunnels}= | Set Variable | ${1}
372 | | ${framesize}= | Set Variable | IMIX_v4_1
373 | | ${imix_size}= | Get Frame Size | ${framesize}
374 | | ${min_rate}= | Set Variable | ${10000}
375 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${imix_size} + ${ipsec_overhead}
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 CBC 128
380 | | ${auth_alg}= | Integ Alg SHA1 96
381 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
382 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
383 | | And Add PCI devices to DUTs from 3-node single link topology
384 | | And Add Cryptodev to all DUTs | ${1}
385 | | And Apply startup configuration on all VPP DUTs
386 | | And IPsec initialized in a 3-node circular topology
387 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
388 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${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 | | Then Find NDR using binary search and pps | ${framesize}
395 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
396 | | ... | ${min_rate} | ${max_rate} | ${threshold}
397
398 | tc10-IMIX-1t1c-ethip4ipsecscale1ip4-ip4base-tunnels-cbc-sha1-pdrdisc
399 | | [Documentation]
400 | | ... | [Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configured\
401 | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port.
402 | | ... | [Ver] Find PDR for IMIX_v4_1 frames using binary search start at 40GE\
403 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
404 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
405 | | ...
406 | | [Tags] | IMIX | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
407 | | ...
408 | | ${n_tunnels}= | Set Variable | ${1}
409 | | ${framesize}= | Set Variable | IMIX_v4_1
410 | | ${imix_size}= | Get Frame Size | ${framesize}
411 | | ${min_rate}= | Set Variable | ${10000}
412 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${imix_size} + ${ipsec_overhead}
413 | | ${binary_min}= | Set Variable | ${min_rate}
414 | | ${binary_max}= | Set Variable | ${max_rate}
415 | | ${threshold}= | Set Variable | ${min_rate}
416 | | ${encr_alg}= | Crypto Alg AES CBC 128
417 | | ${auth_alg}= | Integ Alg SHA1 96
418 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
419 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
420 | | And Add PCI devices to DUTs from 3-node single link topology
421 | | And Add Cryptodev to all DUTs | ${1}
422 | | And Apply startup configuration on all VPP DUTs
423 | | And IPsec initialized in a 3-node circular topology
424 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
425 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
426 | | And VPP IPsec Add Multiple Tunnels
427 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
428 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
429 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
430 | | ... | ${addr_range}
431 | | Then Find PDR using binary search and pps | ${framesize}
432 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
433 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
434 | | ... | ${perf_pdr_loss_acceptance_type}
435
436 | tc11-IMIX-1t1c-ethip4ipsecscale1000ip4-ip4base-tunnels-cbc-sha1-ndrdisc
437 | | [Documentation]
438 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
439 | | ... | configured with 1 thread, 1 phy core, 1 receive queue per NIC port.
440 | | ... | [Ver] Find NDR for IMIX_v4_1 frames\
441 | | ... | using binary search start at 40GE linerate, step 100kpps.
442 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
443 | | ...
444 | | [Tags] | IMIX | 1T1C | STHREAD | NDRDISC
445 | | ...
446 | | ${n_tunnels}= | Set Variable | ${1000}
447 | | ${framesize}= | Set Variable | IMIX_v4_1
448 | | ${imix_size}= | Get Frame Size | ${framesize}
449 | | ${min_rate}= | Set Variable | ${10000}
450 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${imix_size} + ${ipsec_overhead}
451 | | ${binary_min}= | Set Variable | ${min_rate}
452 | | ${binary_max}= | Set Variable | ${max_rate}
453 | | ${threshold}= | Set Variable | ${min_rate}
454 | | ${encr_alg}= | Crypto Alg AES CBC 128
455 | | ${auth_alg}= | Integ Alg SHA1 96
456 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
457 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
458 | | And Add PCI devices to DUTs from 3-node single link topology
459 | | And Add Cryptodev to all DUTs | ${1}
460 | | And Apply startup configuration on all VPP DUTs
461 | | And IPsec initialized in a 3-node circular topology
462 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
463 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
464 | | And VPP IPsec Add Multiple Tunnels
465 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
466 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
467 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
468 | | ... | ${addr_range}
469 | | Then Find NDR using binary search and pps | ${framesize}
470 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
471 | | ... | ${min_rate} | ${max_rate} | ${threshold}
472
473 | tc12-IMIX-1t1c-ethip4ipsecscale1000ip4-ip4base-tunnels-cbc-sha1-pdrdisc
474 | | [Documentation]
475 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
476 | | ... | configured with 1 thread, 1 phy core, 1 receive queue per NIC port.
477 | | ... | [Ver] Find PDR for IMIX_v4_1 frames using binary search start at 40GE\
478 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
479 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
480 | | ...
481 | | [Tags] | IMIX | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
482 | | ...
483 | | ${n_tunnels}= | Set Variable | ${1000}
484 | | ${framesize}= | Set Variable | IMIX_v4_1
485 | | ${imix_size}= | Get Frame Size | ${framesize}
486 | | ${min_rate}= | Set Variable | ${10000}
487 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${imix_size} + ${ipsec_overhead}
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 '1' 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 Cryptodev to all DUTs | ${1}
497 | | And Apply startup configuration on all VPP DUTs
498 | | And IPsec initialized in a 3-node circular topology
499 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
500 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
501 | | And VPP IPsec Add Multiple Tunnels
502 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
503 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
504 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
505 | | ... | ${addr_range}
506 | | Then Find PDR using binary search and pps | ${framesize}
507 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
508 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
509 | | ... | ${perf_pdr_loss_acceptance_type}
510
511 | tc13-64B-2t2c-ethip4ipsecscale1ip4-ip4base-tunnels-cbc-sha1-ndrdisc
512 | | [Documentation]
513 | | ... | [Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configured\
514 | | ... | with 2 thread, 2 phy core, 1 receive queue per NIC port.
515 | | ... | [Ver] Find NDR for 64 Byte frames\
516 | | ... | using binary search start at 40GE linerate, step 100kpps.
517 | | ...
518 | | [Tags] | 64B | 2T2C | MTHREAD | NDRDISC
519 | | ...
520 | | ${n_tunnels}= | Set Variable | ${1}
521 | | ${framesize}= | Set Variable | ${64}
522 | | ${min_rate}= | Set Variable | ${10000}
523 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
524 | | ${binary_min}= | Set Variable | ${min_rate}
525 | | ${binary_max}= | Set Variable | ${max_rate}
526 | | ${threshold}= | Set Variable | ${min_rate}
527 | | ${encr_alg}= | Crypto Alg AES CBC 128
528 | | ${auth_alg}= | Integ Alg SHA1 96
529 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
530 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
531 | | And Add PCI devices to DUTs from 3-node single link topology
532 | | And Add No Multi Seg to all DUTs
533 | | And Add Cryptodev to all DUTs | ${2}
534 | | And Apply startup configuration on all VPP DUTs
535 | | And IPsec initialized in a 3-node circular topology
536 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
537 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
538 | | And VPP IPsec Add Multiple Tunnels
539 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
540 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
541 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
542 | | ... | ${addr_range}
543 | | Then Find NDR using binary search and pps | ${framesize}
544 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
545 | | ... | ${min_rate} | ${max_rate} | ${threshold}
546
547 | tc14-64B-2t2c-ethip4ipsecscale1ip4-ip4base-tunnels-cbc-sha1-pdrdisc
548 | | [Documentation]
549 | | ... | [Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configured\
550 | | ... | with 2 thread, 2 phy core, 1 receive queue per NIC port.
551 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 40GE\
552 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
553 | | ...
554 | | [Tags] | 64B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
555 | | ...
556 | | ${n_tunnels}= | Set Variable | ${1}
557 | | ${framesize}= | Set Variable | ${64}
558 | | ${min_rate}= | Set Variable | ${10000}
559 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
560 | | ${binary_min}= | Set Variable | ${min_rate}
561 | | ${binary_max}= | Set Variable | ${max_rate}
562 | | ${threshold}= | Set Variable | ${min_rate}
563 | | ${encr_alg}= | Crypto Alg AES CBC 128
564 | | ${auth_alg}= | Integ Alg SHA1 96
565 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
566 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
567 | | And Add PCI devices to DUTs from 3-node single link topology
568 | | And Add No Multi Seg to all DUTs
569 | | And Add Cryptodev to all DUTs | ${2}
570 | | And Apply startup configuration on all VPP DUTs
571 | | And IPsec initialized in a 3-node circular topology
572 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
573 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
574 | | And VPP IPsec Add Multiple Tunnels
575 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
576 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
577 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
578 | | ... | ${addr_range}
579 | | Then Find PDR using binary search and pps | ${framesize}
580 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
581 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
582 | | ... | ${perf_pdr_loss_acceptance_type}
583
584 | tc15-64B-2t2c-ethip4ipsecscale1000ip4-ip4base-tunnels-cbc-sha1-ndrdisc
585 | | [Documentation]
586 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
587 | | ... | configured with 2 thread, 2 phy core, 1 receive queue per NIC port.
588 | | ... | [Ver] Find NDR for 64 Byte frames\
589 | | ... | using binary search start at 40GE linerate, step 100kpps.
590 | | ...
591 | | [Tags] | 64B | 2T2C | MTHREAD | NDRDISC
592 | | ...
593 | | ${n_tunnels}= | Set Variable | ${1000}
594 | | ${framesize}= | Set Variable | ${64}
595 | | ${min_rate}= | Set Variable | ${10000}
596 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
597 | | ${binary_min}= | Set Variable | ${min_rate}
598 | | ${binary_max}= | Set Variable | ${max_rate}
599 | | ${threshold}= | Set Variable | ${min_rate}
600 | | ${encr_alg}= | Crypto Alg AES CBC 128
601 | | ${auth_alg}= | Integ Alg SHA1 96
602 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
603 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
604 | | And Add PCI devices to DUTs from 3-node single link topology
605 | | And Add No Multi Seg to all DUTs
606 | | And Add Cryptodev to all DUTs | ${2}
607 | | And Apply startup configuration on all VPP DUTs
608 | | And IPsec initialized in a 3-node circular topology
609 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
610 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
611 | | And VPP IPsec Add Multiple Tunnels
612 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
613 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
614 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
615 | | ... | ${addr_range}
616 | | Then Find NDR using binary search and pps | ${framesize}
617 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
618 | | ... | ${min_rate} | ${max_rate} | ${threshold}
619
620 | tc16-64B-2t2c-ethip4ipsecscale1000ip4-ip4base-tunnels-cbc-sha1-pdrdisc
621 | | [Documentation]
622 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
623 | | ... | configured with 2 thread, 2 phy core, 1 receive queue per NIC port.
624 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 40GE\
625 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
626 | | ...
627 | | [Tags] | 64B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
628 | | ...
629 | | ${n_tunnels}= | Set Variable | ${1000}
630 | | ${framesize}= | Set Variable | ${64}
631 | | ${min_rate}= | Set Variable | ${10000}
632 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
633 | | ${binary_min}= | Set Variable | ${min_rate}
634 | | ${binary_max}= | Set Variable | ${max_rate}
635 | | ${threshold}= | Set Variable | ${min_rate}
636 | | ${encr_alg}= | Crypto Alg AES CBC 128
637 | | ${auth_alg}= | Integ Alg SHA1 96
638 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
639 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
640 | | And Add PCI devices to DUTs from 3-node single link topology
641 | | And Add No Multi Seg to all DUTs
642 | | And Add Cryptodev to all DUTs | ${2}
643 | | And Apply startup configuration on all VPP DUTs
644 | | And IPsec initialized in a 3-node circular topology
645 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
646 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
647 | | And VPP IPsec Add Multiple Tunnels
648 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
649 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
650 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
651 | | ... | ${addr_range}
652 | | Then Find PDR using binary search and pps | ${framesize}
653 | | ... | ${binary_min} | ${binary_max} | 3-node-IPv4-dst-${n_tunnels}
654 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
655 | | ... | ${perf_pdr_loss_acceptance_type}