8.1. crypto

8.1.1. 40ge2p1xl710-ethip4ipsecbasetnl-ip4base-int-aes-gcm-ndrpdrdisc suite

8.1.1.1. tc01-64B-1t1c-ethip4ipsecbasetnl-ip4base-int-aes-gcm-ndrdisc

[Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.1.2. tc02-64B-1t1c-ethip4ipsecbasetnl-ip4base-int-aes-gcm-pdrdisc

[Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.1.3. tc03-1518B-1t1c-ethip4ipsecbasetnl-ip4base-int-aes-gcm-ndrdisc

[Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${framesize + ${ipsec_overhead_gcm}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.1.4. tc04-1518B-1t1c-ethip4ipsecbasetnl-ip4base-int-aes-gcm-pdrdisc

[Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${framesize + ${ipsec_overhead_gcm}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.1.5. tc05-IMIX-1t1c-ethip4ipsecbasetnl-ip4base-int-aes-gcm-ndrdisc

[Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for IMIX_v4_1 framesusing binary search start at 40GE linerate, step 100kpps. IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)


${framesize}=  Set Variable  IMIX_v4_1
${imix_size}=  Get Frame Size  ${framesize}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${imix_size} + ${ipsec_overhead_gcm}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.1.6. tc06-IMIX-1t1c-ethip4ipsecbasetnl-ip4base-int-aes-gcm-pdrdisc

[Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for IMIX_v4_1 frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%. IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)


${framesize}=  Set Variable  IMIX_v4_1
${imix_size}=  Get Frame Size  ${framesize}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${imix_size} + ${ipsec_overhead_gcm}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.1.7. tc07-64B-2t2c-ethip4ipsecbasetnl-ip4base-int-aes-gcm-ndrdisc

[Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configuredwith 2 thread, 2 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${2}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.1.8. tc08-64B-2t2c-ethip4ipsecbasetnl-ip4base-int-aes-gcm-pdrdisc

[Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configuredwith 2 thread, 2 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${2}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.2. 40ge2p1xl710-ethip4ipsecbasetnl-ip4base-int-cbc-sha1-ndrpdrdisc suite

8.1.2.1. tc01-64B-1t1c-ethip4ipsecbasetnl-ip4base-int-cbc-sha1-ndrdisc

[Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.2.2. tc02-64B-1t1c-ethip4ipsecbasetnl-ip4base-int-cbc-sha1-pdrdisc

[Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.2.3. tc03-1518B-1t1c-ethip4ipsecbasetnl-ip4base-int-cbc-sha1-ndrdisc

[Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${framesize + ${ipsec_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.2.4. tc04-1518B-1t1c-ethip4ipsecbasetnl-ip4base-int-cbc-sha1-pdrdisc

[Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${framesize + ${ipsec_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.2.5. tc05-IMIX-1t1c-ethip4ipsecbasetnl-ip4base-int-cbc-sha1-ndrdisc

[Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for IMIX_v4_1 framesusing binary search start at 40GE linerate, step 100kpps. IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)


${framesize}=  Set Variable  IMIX_v4_1
${imix_size}=  Get Frame Size  ${framesize}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${imix_size} + ${ipsec_overhead}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.2.6. tc06-IMIX-1t1c-ethip4ipsecbasetnl-ip4base-int-cbc-sha1-pdrdisc

[Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for IMIX_v4_1 frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%. IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)


${framesize}=  Set Variable  IMIX_v4_1
${imix_size}=  Get Frame Size  ${framesize}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${imix_size} + ${ipsec_overhead}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.2.7. tc07-64B-2t2c-ethip4ipsecbasetnl-ip4base-int-cbc-sha1-ndrdisc

[Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configuredwith 2 thread, 2 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${2}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.2.8. tc08-64B-2t2c-ethip4ipsecbasetnl-ip4base-int-cbc-sha1-pdrdisc

[Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configuredwith 2 thread, 2 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${2}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.3. 40ge2p1xl710-ethip4ipsecbasetnl-ip4base-tnl-aes-gcm-ndrpdrdisc suite

8.1.3.1. tc01-64B-1t1c-ethip4ipsecbasetnl-ip4base-tnl-aes-gcm-ndrdisc

[Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.3.2. tc02-64B-1t1c-ethip4ipsecbasetnl-ip4base-tnl-aes-gcm-pdrdisc

[Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.3.3. tc03-1518B-1t1c-ethip4ipsecbasetnl-ip4base-tnl-aes-gcm-ndrdisc

[Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${framesize + ${ipsec_overhead_gcm}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.3.4. tc04-1518B-1t1c-ethip4ipsecbasetnl-ip4base-tnl-aes-gcm-pdrdisc

[Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${framesize + ${ipsec_overhead_gcm}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.3.5. tc05-IMIX-1t1c-ethip4ipsecbasetnl-ip4base-tnl-aes-gcm-ndrdisc

[Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for IMIX_v4_1 framesusing binary search start at 40GE linerate, step 100kpps. IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)


${framesize}=  Set Variable  IMIX_v4_1
${imix_size}=  Get Frame Size  ${framesize}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${imix_size} + ${ipsec_overhead_gcm}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.3.6. tc06-IMIX-1t1c-ethip4ipsecbasetnl-ip4base-tnl-aes-gcm-pdrdisc

[Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for IMIX_v4_1 frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%. IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)


${framesize}=  Set Variable  IMIX_v4_1
${imix_size}=  Get Frame Size  ${framesize}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${imix_size} + ${ipsec_overhead_gcm}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.3.7. tc07-64B-2t2c-ethip4ipsecbasetnl-ip4base-tnl-aes-gcm-ndrdisc

[Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configuredwith 2 thread, 2 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${2}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.3.8. tc08-64B-2t2c-ethip4ipsecbasetnl-ip4base-tnl-aes-gcm-pdrdisc

[Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configuredwith 2 thread, 2 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${2}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.4. 40ge2p1xl710-ethip4ipsecbasetnl-ip4base-tnl-cbc-sha1-ndrpdrdisc suite

8.1.4.1. tc01-64B-1t1c-ethip4ipsecbasetnl-ip4base-tnl-cbc-sha1-ndrdisc

[Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.4.2. tc02-64B-1t1c-ethip4ipsecbasetnl-ip4base-tnl-cbc-sha1-pdrdisc

[Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.4.3. tc03-1518B-1t1c-ethip4ipsecbasetnl-ip4base-tnl-cbc-sha1-ndrdisc

[Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${framesize + ${ipsec_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.4.4. tc04-1518B-1t1c-ethip4ipsecbasetnl-ip4base-tnl-cbc-sha1-pdrdisc

[Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${framesize + ${ipsec_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.4.5. tc05-IMIX-1t1c-ethip4ipsecbasetnl-ip4base-tnl-cbc-sha1-ndrdisc

[Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for IMIX_v4_1 framesusing binary search start at 40GE linerate, step 100kpps. IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)


${framesize}=  Set Variable  IMIX_v4_1
${imix_size}=  Get Frame Size  ${framesize}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${imix_size} + ${ipsec_overhead}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.4.6. tc06-IMIX-1t1c-ethip4ipsecbasetnl-ip4base-tnl-cbc-sha1-pdrdisc

[Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configuredwith 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for IMIX_v4_1 frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%. IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)


${framesize}=  Set Variable  IMIX_v4_1
${imix_size}=  Get Frame Size  ${framesize}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${imix_size} + ${ipsec_overhead}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.4.7. tc07-64B-2t2c-ethip4ipsecbasetnl-ip4base-tnl-cbc-sha1-ndrdisc

[Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configuredwith 2 thread, 2 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${2}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.4.8. tc08-64B-2t2c-ethip4ipsecbasetnl-ip4base-tnl-cbc-sha1-pdrdisc

[Cfg] DUTs run 1 IPsec tunnel CBC-SHA1 in each direction, configuredwith 2 thread, 2 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${2}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.5. 40ge2p1xl710-ethip4ipsecscale1000tnl-ip4base-int-aes-gcm-ndrpdrdisc suite

8.1.5.1. tc01-64B-1t1c-ethip4ipsecscale1000tnl-ip4base-int-aes-gcm-ndrdisc

[Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.5.2. tc02-64B-1t1c-ethip4ipsecscale1000tnl-ip4base-int-aes-gcm-pdrdisc

[Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.5.3. tc03-1518B-1t1c-ethip4ipsecscale1000tnl-ip4base-int-aes-gcm-ndrdisc

[Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${framesize + ${ipsec_overhead_gcm}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.5.4. tc04-1518B-1t1c-ethip4ipsecscale1000tnl-ip4base-int-aes-gcm-pdrdisc

[Cfg] DUTs run 1000 IPsec tunnel AES GCM in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${framesize + ${ipsec_overhead_gcm}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.5.5. tc05-IMIX-1t1c-ethip4ipsecscale1000tnl-ip4base-int-aes-gcm-ndrdisc

[Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for IMIX_v4_1 framesusing binary search start at 40GE linerate, step 100kpps. IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)


${framesize}=  Set Variable  IMIX_v4_1
${imix_size}=  Get Frame Size  ${framesize}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${imix_size} + ${ipsec_overhead_gcm}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.5.6. tc06-IMIX-1t1c-ethip4ipsecscale1000tnl-ip4base-int-aes-gcm-pdrdisc

[Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for IMIX_v4_1 frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%. IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)


${framesize}=  Set Variable  IMIX_v4_1
${imix_size}=  Get Frame Size  ${framesize}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${imix_size} + ${ipsec_overhead_gcm}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.5.7. tc07-64B-2t2c-ethip4ipsecscale1000tnl-ip4base-int-aes-gcm-ndrdisc

[Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,configured with 2 thread, 2 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${2}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.5.8. tc08-64B-2t2c-ethip4ipsecscale1000tnl-ip4base-int-aes-gcm-pdrdisc

[Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,configured with 2 thread, 2 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${2}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.6. 40ge2p1xl710-ethip4ipsecscale1000tnl-ip4base-int-cbc-sha1-ndrpdrdisc suite

8.1.6.1. tc01-64B-1t1c-ethip4ipsecscale1000tnl-ip4base-int-cbc-sha1-ndrdisc

[Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.6.2. tc02-64B-1t1c-ethip4ipsecscale1000tnl-ip4base-int-cbc-sha1-pdrdisc

[Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.6.3. tc03-1518B-1t1c-ethip4ipsecscale1000tnl-ip4base-int-cbc-sha1-ndrdisc

[Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${framesize + ${ipsec_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.6.4. tc04-1518B-1t1c-ethip4ipsecscale1000tnl-ip4base-int-cbc-sha1-pdrdisc

[Cfg] DUTs run 1000 IPsec tunnel CBC-SHA1 in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${framesize + ${ipsec_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.6.5. tc05-IMIX-1t1c-ethip4ipsecscale1000tnl-ip4base-int-cbc-sha1-ndrdisc

[Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for IMIX_v4_1 framesusing binary search start at 40GE linerate, step 100kpps. IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)


${framesize}=  Set Variable  IMIX_v4_1
${imix_size}=  Get Frame Size  ${framesize}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${imix_size} + ${ipsec_overhead}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.6.6. tc06-IMIX-1t1c-ethip4ipsecscale1000tnl-ip4base-int-cbc-sha1-pdrdisc

[Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for IMIX_v4_1 frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%. IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)


${framesize}=  Set Variable  IMIX_v4_1
${imix_size}=  Get Frame Size  ${framesize}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${imix_size} + ${ipsec_overhead}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.6.7. tc07-64B-2t2c-ethip4ipsecscale1000tnl-ip4base-int-cbc-sha1-ndrdisc

[Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,configured with 2 thread, 2 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${2}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.6.8. tc08-64B-2t2c-ethip4ipsecscale1000tnl-ip4base-int-cbc-sha1-pdrdisc

[Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,configured with 2 thread, 2 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${2}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${dut1}  ${dut2}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.7. 40ge2p1xl710-ethip4ipsecscale1000tnl-ip4base-tnl-aes-gcm-ndrpdrdisc suite

8.1.7.1. tc01-64B-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-aes-gcm-ndrdisc

[Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.7.2. tc02-64B-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-aes-gcm-pdrdisc

[Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.7.3. tc03-1518B-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-aes-gcm-ndrdisc

[Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${framesize + ${ipsec_overhead_gcm}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.7.4. tc04-1518B-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-aes-gcm-pdrdisc

[Cfg] DUTs run 1000 IPsec tunnel AES GCM in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${framesize + ${ipsec_overhead_gcm}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.7.5. tc05-IMIX-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-aes-gcm-ndrdisc

[Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for IMIX_v4_1 framesusing binary search start at 40GE linerate, step 100kpps. IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)


${framesize}=  Set Variable  IMIX_v4_1
${imix_size}=  Get Frame Size  ${framesize}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${imix_size} + ${ipsec_overhead_gcm}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.7.6. tc06-IMIX-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-aes-gcm-pdrdisc

[Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for IMIX_v4_1 frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%. IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)


${framesize}=  Set Variable  IMIX_v4_1
${imix_size}=  Get Frame Size  ${framesize}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${imix_size} + ${ipsec_overhead_gcm}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.7.7. tc07-64B-2t2c-ethip4ipsecscale1000tnl-ip4base-tnl-aes-gcm-ndrdisc

[Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,configured with 2 thread, 2 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${2}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.7.8. tc08-64B-2t2c-ethip4ipsecscale1000tnl-ip4base-tnl-aes-gcm-pdrdisc

[Cfg] DUTs run 1000 IPsec tunnels AES GCM in each direction,configured with 2 thread, 2 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Integ Alg AES GCM 128
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${2}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.8. 40ge2p1xl710-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-ndrpdrdisc suite

8.1.8.1. tc01-64B-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-ndrdisc

[Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.8.2. tc02-64B-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-pdrdisc

[Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.8.3. tc03-1518B-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-ndrdisc

[Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${framesize + ${ipsec_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.8.4. tc04-1518B-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-pdrdisc

[Cfg] DUTs run 1000 IPsec tunnel CBC-SHA1 in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${framesize + ${ipsec_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.8.5. tc05-IMIX-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-ndrdisc

[Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR for IMIX_v4_1 framesusing binary search start at 40GE linerate, step 100kpps. IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)


${framesize}=  Set Variable  IMIX_v4_1
${imix_size}=  Get Frame Size  ${framesize}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${imix_size} + ${ipsec_overhead}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.8.6. tc06-IMIX-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-pdrdisc

[Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,configured with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR for IMIX_v4_1 frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%. IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)


${framesize}=  Set Variable  IMIX_v4_1
${imix_size}=  Get Frame Size  ${framesize}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${imix_size} + ${ipsec_overhead}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.8.7. tc07-64B-2t2c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-ndrdisc

[Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,configured with 2 thread, 2 phy core, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte framesusing binary search start at 40GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${2}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.8.8. tc08-64B-2t2c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-pdrdisc

[Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,configured with 2 thread, 2 phy core, 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames using binary search start at 40GElinerate, step 100kpps and loss tolerance of 0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${2}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
Vpp Route Add  ${dut1}  ${raddr_ip4}  8  ${dut2_if1_ip4}  ${dut1_if2}
Vpp Route Add  ${dut2}  ${laddr_ip4}  8  ${dut1_if2_ip4}  ${dut2_if1}
  And VPP IPsec Add Multiple Tunnels  ${dut1}  ${dut2}  ${dut1_if2}  ${dut2_if1}  ${n_tunnels}  ${encr_alg}  ${encr_key}  ${auth_alg}  ${auth_key}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.9. 40ge2p1xl710-ethip4ipsectptlispgpe-ip4base-cbc-sha1-ndrpdrdisc suite

8.1.9.1. tc01-64B-1t1c-ethip4ipsectptlispgpe-ip4base-cbc-sha1-ndrdisc

[Cfg] Each DUT is configured with LISP and IPsec in each direction.IPsec is in transport mode. DUTs are configured with 1 thread, 1 phycore, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames using binary search start at 40GElinerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP GPE IPv4 over IPsec in 3-node circular topology  ${encr_alg}  ${auth_alg}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.9.2. tc02-64B-1t1c-ethip4ipsectptlispgpe-ip4base-cbc-sha1-pdrdisc

[Cfg] Each DUT is configured with LISP and IPsec in each direction.IPsec is in transport mode. DUTs are configured with 1 thread, 1 phycore, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames using binary search start at 40GElinerate, step 100kpps, LT=0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP GPE IPv4 over IPsec in 3-node circular topology  ${encr_alg}  ${auth_alg}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.9.3. tc03-1518B-1t1c-ethip4ipsectptlispgpe-ip4base-cbc-sha1-ndrdisc

[Cfg] Each DUT is configured with LISP and IPsec in each direction.IPsec is in transport mode. DUTs are configured with 1 thread, 1 phycore, 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames using binary search start at 40GElinerate, step 100kpps.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${framesize + ${ipsec_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP GPE IPv4 over IPsec in 3-node circular topology  ${encr_alg}  ${auth_alg}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.9.4. tc04-1518B-1t1c-ethip4ipsectptlispgpe-ip4base-cbc-sha1-pdrdisc

[Cfg] Each DUT is configured with LISP and IPsec in each direction.IPsec is in transport mode. DUTs are configured with 1 thread, 1 phycore, 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames using binary search start at 40GElinerate, step 100kpps, LT=0.5%.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${framesize + ${ipsec_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP GPE IPv4 over IPsec in 3-node circular topology  ${encr_alg}  ${auth_alg}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.9.5. tc05-IMIX-1t1c-ethip4ipsectptlispgpe-ip4base-cbc-sha1-ndrdisc

[Cfg] Each DUT is configured with LISP and IPsec in each direction.IPsec is in transport mode. DUTs are configured with 1 thread, 1 phycore, 1 receive queue per NIC port. [Ver] Find NDR for IMIX_v4_1 frames using binary search start at 40GElinerate, step 100kpps.


${framesize}=  Set Variable  IMIX_v4_1
${imix_size}=  Get Frame Size  ${framesize}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${imix_size} + ${ipsec_overhead}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP GPE IPv4 over IPsec in 3-node circular topology  ${encr_alg}  ${auth_alg}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.9.6. tc06-IMIX-1t1c-ethip4ipsectptlispgpe-ip4base-cbc-sha1-pdrdisc

[Cfg] Each DUT is configured with LISP and IPsec in each direction.IPsec is in transport mode. DUTs are configured with 1 thread, 1 phycore, 1 receive queue per NIC port. [Ver] Find NDR for IMIX_v4_1 frames using binary search start at 40GElinerate, step 100kpps, LT=0.5%.


${framesize}=  Set Variable  IMIX_v4_1
${imix_size}=  Get Frame Size  ${framesize}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_24.5G}  ${imix_size} + ${ipsec_overhead}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add cryptodev to all DUTs  ${1}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP GPE IPv4 over IPsec in 3-node circular topology  ${encr_alg}  ${auth_alg}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.9.7. tc07-64B-2t2c-ethip4ipsectptlispgpe-ip4base-cbc-sha1-ndrdisc

[Cfg] Each DUT is configured with LISP and IPsec in each direction.IPsec is in transport mode. DUTs are configured with 2 threads, 2 phycores, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames using binary search start at 40GElinerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${2}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP GPE IPv4 over IPsec in 3-node circular topology  ${encr_alg}  ${auth_alg}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.9.8. tc08-64B-2t2c-ethip4ipsectptlispgpe-ip4base-cbc-sha1-pdrdisc

[Cfg] Each DUT is configured with LISP and IPsec in each direction.IPsec is in transport mode. DUTs are configured with 2 threads, 2 phycores, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames using binary search start at 40GElinerate, step 100kpps, LT=0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${2}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP GPE IPv4 over IPsec in 3-node circular topology  ${encr_alg}  ${auth_alg}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.1.9.9. tc13-64B-4t4c-ethip4ipsectptlispgpe-ip4base-cbc-sha1-ndrdisc

[Cfg] Each DUT is configured with LISP and IPsec in each direction.IPsec is in transport mode. DUTs are configured with 4 threads, 4 phycores, 2 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames using binary search start at 40GElinerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${4}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP GPE IPv4 over IPsec in 3-node circular topology  ${encr_alg}  ${auth_alg}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.1.9.10. tc14-64B-4t4c-ethip4ipsectptlispgpe-ip4base-cbc-sha1-pdrdisc

[Cfg] Each DUT is configured with LISP and IPsec in each direction.IPsec is in transport mode. DUTs are configured with 4 threads, 4 phycores, 2 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames using binary search start at 40GElinerate, step 100kpps, LT=0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Set Variable  ${s_18.75Mpps}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA1 96
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Generate keys for IPSec  ${encr_alg}  ${auth_alg}
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Add cryptodev to all DUTs  ${4}
  And Add DPDK dev default RXD to all DUTs  2048
  And Add DPDK dev default TXD to all DUTs  2048
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP GPE IPv4 over IPsec in 3-node circular topology  ${encr_alg}  ${auth_alg}
 Then Find PDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}