1f2f6f9c183b75ce46ff7d63972ef7c9de196155
[csit.git] / tests / vpp / perf / crypto / 40ge2p1xl710-ethip4ipsectptlispgpe-ip4base-cbc-sha1-ndrpdrdisc.robot
1 # Copyright (c) 2017 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 *** Settings ***
15 | Resource | resources/libraries/robot/performance/performance_setup.robot
16 | Resource | resources/libraries/robot/crypto/ipsec.robot
17 | Resource | resources/libraries/robot/overlay/lispgpe.robot
18 | ...
19 | Variables | resources/test_data/lisp/performance/lisp_static_adjacency.py
20 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC | IP4FWD
21 | ... | LISPGPE | IPSEC | IPSECHW | IPSECTRAN | ENCAP | IP4UNRLAY | IP4OVRLAY
22 | ... | NIC_Intel-XL710
23 | ...
24 | Suite Setup | Set up IPSec performance test suite | L3 | Intel-XL710
25 | ... | HW_cryptodev
26 | ...
27 | Suite Teardown | Tear down 3-node performance topology
28 | ...
29 | Test Setup | Set up performance test
30 | ...
31 | Test Teardown | Tear down performance discovery test | ${min_rate}pps
32 | ... | ${framesize} | ${traffic_profile}
33 | ...
34 | Documentation | *IPv4 IPsec transport mode performance test suite.*
35 | ...
36 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology\
37 | ... | with single links between nodes.
38 | ... | *[Enc] Packet Encapsulations:* Eth-IPv4 on TG-DUTn,\
39 | ... | Eth-IPv4-IPSec-LISPGPE-IPv4 on DUT1-DUT2
40 | ... | *[Cfg] DUT configuration:* Each DUT is configured with LISP and IPsec\
41 | ... | in each direction. IPsec is in transport mode. DUTs get IPv4 traffic\
42 | ... | from TG, encrypt it and send to another DUT, where packets are\
43 | ... | decrypted and sent back to TG.
44 | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop\
45 | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop\
46 | ... | Rate) with non-zero packet loss tolerance (LT) expressed in number\
47 | ... | of packets transmitted. NDR is discovered for different\
48 | ... | number of IPsec tunnels using binary search algorithms with configured\
49 | ... | starting rate and final step that determines throughput measurement\
50 | ... | resolution. Test packets are generated by TG on\
51 | ... | links to DUTs. TG traffic profile contains two L3 flow-groups\
52 | ... | (flow-group per direction, number of flows per flow-group equals to\
53 | ... | number of IPSec tunnels) with all packets\
54 | ... | containing Ethernet header, IPv4 header with IP protocol=61 and\
55 | ... | static payload. MAC addresses are matching MAC addresses of the TG\
56 | ... | node interfaces. Incrementing of IP.dst (IPv4 destination address)\
57 | ... | field is applied to both streams.
58 | ... | *[Ref] Applicable standard specifications:* RFC6830, RFC4303 and\
59 | ... | RFC2544.
60
61 *** Variables ***
62 # XL710-DA2 bandwidth limit ~49Gbps/2=24.5Gbps
63 | ${s_24.5G}= | ${24500000000}
64 # XL710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps
65 | ${s_18.75Mpps}= | ${18750000}
66 | ${dut2_spi}= | ${1000}
67 | ${dut1_spi}= | ${1001}
68 | ${ESP_PROTO}= | ${50}
69 | ${ipsec_overhead}= | ${54}
70 # Traffic profile:
71 | ${traffic_profile}= | trex-sl-3n-ethip4-ip4src253
72
73 *** Test Cases ***
74 | tc01-64B-1t1c-ethip4ipsectptlispgpe-ip4base-cbc-sha1-ndrdisc
75 | | [Documentation]
76 | | ... | [Cfg] Each DUT is configured with LISP and IPsec in each direction.\
77 | | ... | IPsec is in transport mode. DUTs are configured with 1 thread, 1 phy\
78 | | ... | core, 1 receive queue per NIC port.
79 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 40GE\
80 | | ... | linerate, step 50kpps.
81 | | ...
82 | | [Tags] | 64B | 1T1C | STHREAD | NDRDISC
83 | | ...
84 | | # FIXME: Move repeated lines into a keyword.
85 | | ${framesize}= | Set Variable | ${64}
86 | | ${min_rate}= | Set Variable | ${50000}
87 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
88 | | ${binary_min}= | Set Variable | ${min_rate}
89 | | ${binary_max}= | Set Variable | ${max_rate}
90 | | ${threshold}= | Set Variable | ${min_rate}
91 | | ${encr_alg}= | Crypto Alg AES CBC 128
92 | | ${auth_alg}= | Integ Alg SHA1 96
93 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
94 | | And Add PCI devices to DUTs in 3-node single link topology
95 | | And Add no multi seg to all DUTs
96 | | And Add cryptodev to all DUTs | ${1}
97 | | And Add DPDK dev default RXD to all DUTs | 2048
98 | | And Add DPDK dev default TXD to all DUTs | 2048
99 | | And Apply startup configuration on all VPP DUTs
100 | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg}
101 | | When Initialize LISP GPE IPv4 over IPsec in 3-node circular topology
102 | | ... | ${encr_alg} | ${auth_alg}
103 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
104 | | ... | ${binary_max} | ${traffic_profile}
105 | | ... | ${min_rate} | ${max_rate} | ${threshold}
106
107 | tc02-64B-1t1c-ethip4ipsectptlispgpe-ip4base-cbc-sha1-pdrdisc
108 | | [Documentation]
109 | | ... | [Cfg] Each DUT is configured with LISP and IPsec in each direction.\
110 | | ... | IPsec is in transport mode. DUTs are configured with 1 thread, 1 phy\
111 | | ... | core, 1 receive queue per NIC port.
112 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 40GE\
113 | | ... | linerate, step 50kpps, LT=0.5%.
114 | | ...
115 | | [Tags] | 64B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
116 | | ...
117 | | ${framesize}= | Set Variable | ${64}
118 | | ${min_rate}= | Set Variable | ${50000}
119 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
120 | | ${binary_min}= | Set Variable | ${min_rate}
121 | | ${binary_max}= | Set Variable | ${max_rate}
122 | | ${threshold}= | Set Variable | ${min_rate}
123 | | ${encr_alg}= | Crypto Alg AES CBC 128
124 | | ${auth_alg}= | Integ Alg SHA1 96
125 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
126 | | And Add PCI devices to DUTs in 3-node single link topology
127 | | And Add no multi seg to all DUTs
128 | | And Add cryptodev to all DUTs | ${1}
129 | | And Add DPDK dev default RXD to all DUTs | 2048
130 | | And Add DPDK dev default TXD to all DUTs | 2048
131 | | And Apply startup configuration on all VPP DUTs
132 | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg}
133 | | When Initialize LISP GPE IPv4 over IPsec in 3-node circular topology
134 | | ... | ${encr_alg} | ${auth_alg}
135 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
136 | | ... | ${binary_max} | ${traffic_profile}
137 | | ... | ${min_rate} | ${max_rate} | ${threshold}
138 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
139
140 | tc03-1518B-1t1c-ethip4ipsectptlispgpe-ip4base-cbc-sha1-ndrdisc
141 | | [Documentation]
142 | | ... | [Cfg] Each DUT is configured with LISP and IPsec in each direction.\
143 | | ... | IPsec is in transport mode. DUTs are configured with 1 thread, 1 phy\
144 | | ... | core, 1 receive queue per NIC port.
145 | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 40GE\
146 | | ... | linerate, step 50kpps.
147 | | ...
148 | | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC
149 | | ...
150 | | ${framesize}= | Set Variable | ${1518}
151 | | ${min_rate}= | Set Variable | ${50000}
152 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize + ${ipsec_overhead}}
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 '1' rxqueues in 3-node single-link circular topology
159 | | And Add PCI devices to DUTs in 3-node single link topology
160 | | And Add cryptodev to all DUTs | ${1}
161 | | And Add DPDK dev default RXD to all DUTs | 2048
162 | | And Add DPDK dev default TXD to all DUTs | 2048
163 | | And Apply startup configuration on all VPP DUTs
164 | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg}
165 | | When Initialize LISP GPE IPv4 over IPsec in 3-node circular topology
166 | | ... | ${encr_alg} | ${auth_alg}
167 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
168 | | ... | ${binary_max} | ${traffic_profile}
169 | | ... | ${min_rate} | ${max_rate} | ${threshold}
170
171 | tc04-1518B-1t1c-ethip4ipsectptlispgpe-ip4base-cbc-sha1-pdrdisc
172 | | [Documentation]
173 | | ... | [Cfg] Each DUT is configured with LISP and IPsec in each direction.\
174 | | ... | IPsec is in transport mode. DUTs are configured with 1 thread, 1 phy\
175 | | ... | core, 1 receive queue per NIC port.
176 | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 40GE\
177 | | ... | linerate, step 50kpps, LT=0.5%.
178 | | ...
179 | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
180 | | ...
181 | | ${framesize}= | Set Variable | ${1518}
182 | | ${min_rate}= | Set Variable | ${50000}
183 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize + ${ipsec_overhead}}
184 | | ${binary_min}= | Set Variable | ${min_rate}
185 | | ${binary_max}= | Set Variable | ${max_rate}
186 | | ${threshold}= | Set Variable | ${min_rate}
187 | | ${encr_alg}= | Crypto Alg AES CBC 128
188 | | ${auth_alg}= | Integ Alg SHA1 96
189 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
190 | | And Add PCI devices to DUTs in 3-node single link topology
191 | | And Add cryptodev to all DUTs | ${1}
192 | | And Add DPDK dev default RXD to all DUTs | 2048
193 | | And Add DPDK dev default TXD to all DUTs | 2048
194 | | And Apply startup configuration on all VPP DUTs
195 | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg}
196 | | When Initialize LISP GPE IPv4 over IPsec in 3-node circular topology
197 | | ... | ${encr_alg} | ${auth_alg}
198 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
199 | | ... | ${binary_max} | ${traffic_profile}
200 | | ... | ${min_rate} | ${max_rate} | ${threshold}
201 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
202
203 | tc05-IMIX-1t1c-ethip4ipsectptlispgpe-ip4base-cbc-sha1-ndrdisc
204 | | [Documentation]
205 | | ... | [Cfg] Each DUT is configured with LISP and IPsec in each direction.\
206 | | ... | IPsec is in transport mode. DUTs are configured with 1 thread, 1 phy\
207 | | ... | core, 1 receive queue per NIC port.
208 | | ... | [Ver] Find NDR for IMIX_v4_1 frames using binary search start at 40GE\
209 | | ... | linerate, step 50kpps.
210 | | ...
211 | | [Tags] | IMIX | 1T1C | STHREAD | NDRDISC
212 | | ...
213 | | ${framesize}= | Set Variable | IMIX_v4_1
214 | | ${imix_size}= | Get Frame Size | ${framesize}
215 | | ${min_rate}= | Set Variable | ${50000}
216 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${imix_size} + ${ipsec_overhead}
217 | | ${binary_min}= | Set Variable | ${min_rate}
218 | | ${binary_max}= | Set Variable | ${max_rate}
219 | | ${threshold}= | Set Variable | ${min_rate}
220 | | ${encr_alg}= | Crypto Alg AES CBC 128
221 | | ${auth_alg}= | Integ Alg SHA1 96
222 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
223 | | And Add PCI devices to DUTs in 3-node single link topology
224 | | And Add cryptodev to all DUTs | ${1}
225 | | And Add DPDK dev default RXD to all DUTs | 2048
226 | | And Add DPDK dev default TXD to all DUTs | 2048
227 | | And Apply startup configuration on all VPP DUTs
228 | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg}
229 | | When Initialize LISP GPE IPv4 over IPsec in 3-node circular topology
230 | | ... | ${encr_alg} | ${auth_alg}
231 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
232 | | ... | ${binary_max} | ${traffic_profile}
233 | | ... | ${min_rate} | ${max_rate} | ${threshold}
234
235 | tc06-IMIX-1t1c-ethip4ipsectptlispgpe-ip4base-cbc-sha1-pdrdisc
236 | | [Documentation]
237 | | ... | [Cfg] Each DUT is configured with LISP and IPsec in each direction.\
238 | | ... | IPsec is in transport mode. DUTs are configured with 1 thread, 1 phy\
239 | | ... | core, 1 receive queue per NIC port.
240 | | ... | [Ver] Find NDR for IMIX_v4_1 frames using binary search start at 40GE\
241 | | ... | linerate, step 50kpps, LT=0.5%.
242 | | ...
243 | | [Tags] | IMIX | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
244 | | ...
245 | | ${framesize}= | Set Variable | IMIX_v4_1
246 | | ${imix_size}= | Get Frame Size | ${framesize}
247 | | ${min_rate}= | Set Variable | ${50000}
248 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${imix_size} + ${ipsec_overhead}
249 | | ${binary_min}= | Set Variable | ${min_rate}
250 | | ${binary_max}= | Set Variable | ${max_rate}
251 | | ${threshold}= | Set Variable | ${min_rate}
252 | | ${encr_alg}= | Crypto Alg AES CBC 128
253 | | ${auth_alg}= | Integ Alg SHA1 96
254 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
255 | | And Add PCI devices to DUTs in 3-node single link topology
256 | | And Add cryptodev to all DUTs | ${1}
257 | | And Add DPDK dev default RXD to all DUTs | 2048
258 | | And Add DPDK dev default TXD to all DUTs | 2048
259 | | And Apply startup configuration on all VPP DUTs
260 | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg}
261 | | When Initialize LISP GPE IPv4 over IPsec in 3-node circular topology
262 | | ... | ${encr_alg} | ${auth_alg}
263 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
264 | | ... | ${binary_max} | ${traffic_profile}
265 | | ... | ${min_rate} | ${max_rate} | ${threshold}
266 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
267
268 | tc07-64B-2t2c-ethip4ipsectptlispgpe-ip4base-cbc-sha1-ndrdisc
269 | | [Documentation]
270 | | ... | [Cfg] Each DUT is configured with LISP and IPsec in each direction.\
271 | | ... | IPsec is in transport mode. DUTs are configured with 2 threads, 2 phy\
272 | | ... | cores, 1 receive queue per NIC port.
273 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 40GE\
274 | | ... | linerate, step 50kpps.
275 | | ...
276 | | [Tags] | 64B | 2T2C | MTHREAD | NDRDISC
277 | | ...
278 | | ${framesize}= | Set Variable | ${64}
279 | | ${min_rate}= | Set Variable | ${50000}
280 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
281 | | ${binary_min}= | Set Variable | ${min_rate}
282 | | ${binary_max}= | Set Variable | ${max_rate}
283 | | ${threshold}= | Set Variable | ${min_rate}
284 | | ${encr_alg}= | Crypto Alg AES CBC 128
285 | | ${auth_alg}= | Integ Alg SHA1 96
286 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
287 | | And Add PCI devices to DUTs in 3-node single link topology
288 | | And Add no multi seg to all DUTs
289 | | And Add cryptodev to all DUTs | ${2}
290 | | And Add DPDK dev default RXD to all DUTs | 2048
291 | | And Add DPDK dev default TXD to all DUTs | 2048
292 | | And Apply startup configuration on all VPP DUTs
293 | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg}
294 | | When Initialize LISP GPE IPv4 over IPsec in 3-node circular topology
295 | | ... | ${encr_alg} | ${auth_alg}
296 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
297 | | ... | ${binary_max} | ${traffic_profile}
298 | | ... | ${min_rate} | ${max_rate} | ${threshold}
299
300 | tc08-64B-2t2c-ethip4ipsectptlispgpe-ip4base-cbc-sha1-pdrdisc
301 | | [Documentation]
302 | | ... | [Cfg] Each DUT is configured with LISP and IPsec in each direction.\
303 | | ... | IPsec is in transport mode. DUTs are configured with 2 threads, 2 phy\
304 | | ... | cores, 1 receive queue per NIC port.
305 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 40GE\
306 | | ... | linerate, step 50kpps, LT=0.5%.
307 | | ...
308 | | [Tags] | 64B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
309 | | ...
310 | | ${framesize}= | Set Variable | ${64}
311 | | ${min_rate}= | Set Variable | ${50000}
312 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
313 | | ${binary_min}= | Set Variable | ${min_rate}
314 | | ${binary_max}= | Set Variable | ${max_rate}
315 | | ${threshold}= | Set Variable | ${min_rate}
316 | | ${encr_alg}= | Crypto Alg AES CBC 128
317 | | ${auth_alg}= | Integ Alg SHA1 96
318 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
319 | | And Add PCI devices to DUTs in 3-node single link topology
320 | | And Add no multi seg to all DUTs
321 | | And Add cryptodev to all DUTs | ${2}
322 | | And Add DPDK dev default RXD to all DUTs | 2048
323 | | And Add DPDK dev default TXD to all DUTs | 2048
324 | | And Apply startup configuration on all VPP DUTs
325 | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg}
326 | | When Initialize LISP GPE IPv4 over IPsec in 3-node circular topology
327 | | ... | ${encr_alg} | ${auth_alg}
328 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
329 | | ... | ${binary_max} | ${traffic_profile}
330 | | ... | ${min_rate} | ${max_rate} | ${threshold}
331 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
332
333 | tc13-64B-4t4c-ethip4ipsectptlispgpe-ip4base-cbc-sha1-ndrdisc
334 | | [Documentation]
335 | | ... | [Cfg] Each DUT is configured with LISP and IPsec in each direction.\
336 | | ... | IPsec is in transport mode. DUTs are configured with 4 threads, 4 phy\
337 | | ... | cores, 2 receive queues per NIC port.
338 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 40GE\
339 | | ... | linerate, step 50kpps.
340 | | ...
341 | | [Tags] | 64B | 4T4C | MTHREAD | NDRDISC
342 | | ...
343 | | ${framesize}= | Set Variable | ${64}
344 | | ${min_rate}= | Set Variable | ${50000}
345 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
346 | | ${binary_min}= | Set Variable | ${min_rate}
347 | | ${binary_max}= | Set Variable | ${max_rate}
348 | | ${threshold}= | Set Variable | ${min_rate}
349 | | ${encr_alg}= | Crypto Alg AES CBC 128
350 | | ${auth_alg}= | Integ Alg SHA1 96
351 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
352 | | And Add PCI devices to DUTs in 3-node single link topology
353 | | And Add no multi seg to all DUTs
354 | | And Add cryptodev to all DUTs | ${4}
355 | | And Add DPDK dev default RXD to all DUTs | 2048
356 | | And Add DPDK dev default TXD to all DUTs | 2048
357 | | And Apply startup configuration on all VPP DUTs
358 | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg}
359 | | When Initialize LISP GPE IPv4 over IPsec in 3-node circular topology
360 | | ... | ${encr_alg} | ${auth_alg}
361 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
362 | | ... | ${binary_max} | ${traffic_profile}
363 | | ... | ${min_rate} | ${max_rate} | ${threshold}
364
365 | tc14-64B-4t4c-ethip4ipsectptlispgpe-ip4base-cbc-sha1-pdrdisc
366 | | [Documentation]
367 | | ... | [Cfg] Each DUT is configured with LISP and IPsec in each direction.\
368 | | ... | IPsec is in transport mode. DUTs are configured with 4 threads, 4 phy\
369 | | ... | cores, 2 receive queues per NIC port.
370 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 40GE\
371 | | ... | linerate, step 50kpps, LT=0.5%.
372 | | ...
373 | | [Tags] | 64B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
374 | | ...
375 | | ${framesize}= | Set Variable | ${64}
376 | | ${min_rate}= | Set Variable | ${50000}
377 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
378 | | ${binary_min}= | Set Variable | ${min_rate}
379 | | ${binary_max}= | Set Variable | ${max_rate}
380 | | ${threshold}= | Set Variable | ${min_rate}
381 | | ${encr_alg}= | Crypto Alg AES CBC 128
382 | | ${auth_alg}= | Integ Alg SHA1 96
383 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
384 | | And Add PCI devices to DUTs in 3-node single link topology
385 | | And Add no multi seg to all DUTs
386 | | And Add cryptodev to all DUTs | ${4}
387 | | And Add DPDK dev default RXD to all DUTs | 2048
388 | | And Add DPDK dev default TXD to all DUTs | 2048
389 | | And Apply startup configuration on all VPP DUTs
390 | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg}
391 | | When Initialize LISP GPE IPv4 over IPsec in 3-node circular topology
392 | | ... | ${encr_alg} | ${auth_alg}
393 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
394 | | ... | ${binary_max} | ${traffic_profile}
395 | | ... | ${min_rate} | ${max_rate} | ${threshold}
396 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}