X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fvpp%2Fperf%2Fcrypto%2F10ge2p1x710-ethip4ipsecscale1000tnlsw-ip4base-tnl-aes256gcm-ndrpdr.robot;h=ff0bafe4c89663258b19012ecb2c40707f545f68;hp=297e0c8d2dc905d9192049ea8dd3493c6f2d3ec7;hb=2732350ff44a68fe34d7703682ea9339944f1459;hpb=79b4b11d54496d9a6243165528701da3e9ddf02d diff --git a/tests/vpp/perf/crypto/10ge2p1x710-ethip4ipsecscale1000tnlsw-ip4base-tnl-aes256gcm-ndrpdr.robot b/tests/vpp/perf/crypto/10ge2p1x710-ethip4ipsecscale1000tnlsw-ip4base-tnl-aes256gcm-ndrpdr.robot index 297e0c8d2d..ff0bafe4c8 100644 --- a/tests/vpp/perf/crypto/10ge2p1x710-ethip4ipsecscale1000tnlsw-ip4base-tnl-aes256gcm-ndrpdr.robot +++ b/tests/vpp/perf/crypto/10ge2p1x710-ethip4ipsecscale1000tnlsw-ip4base-tnl-aes256gcm-ndrpdr.robot @@ -34,10 +34,9 @@ | ... | with single links between nodes. | ... | *[Enc] Packet Encapsulations:* Eth-IPv4 on TG-DUTn, | ... | Eth-IPv4-IPSec on DUT1-DUT2 -| ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with DPDK SW -| ... | crypto devices and multiple IPsec tunnels between them. DUTs get IPv4 -| ... | traffic from TG, encrypt it and send to another DUT, where packets are -| ... | decrypted and sent back to TG. +| ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with multiple\ +| ... | IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it\ +| ... | and send to another DUT, where packets are decrypted and sent back to TG | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop\ | ... | Rate) with zero packet loss tolerance and throughput PDR (Partial Drop\ | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage\ @@ -58,13 +57,13 @@ | ${overhead}= | ${54} | ${tg_if1_ip4}= | 192.168.10.2 | ${dut1_if1_ip4}= | 192.168.10.1 -| ${dut1_if2_ip4}= | 172.168.1.1 -| ${dut2_if1_ip4}= | 172.168.1.2 +| ${dut1_if2_ip4}= | 100.0.0.1 +| ${dut2_if1_ip4}= | 100.0.0.2 | ${dut2_if2_ip4}= | 192.168.20.1 | ${tg_if2_ip4}= | 192.168.20.2 | ${raddr_ip4}= | 20.0.0.0 | ${laddr_ip4}= | 10.0.0.0 -| ${addr_range}= | ${32} +| ${addr_range}= | ${24} | ${n_tunnels}= | ${1000} # Traffic profile: | ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst${n_tunnels} @@ -92,27 +91,16 @@ | | # These are enums (not strings) so they cannot be in Variables table. | | ${encr_alg}= | Crypto Alg AES GCM 256 | | ${auth_alg}= | Integ Alg AES GCM 256 -| | ${ipsec_proto}= | IPsec Proto ESP | | ... | | Given Add worker threads and rxqueues to all DUTs | ${phy_cores} | ${rxq} | | And Add PCI devices to all DUTs -| | Set Max Rate And Jumbo And Handle Multi Seg -| | And Add DPDK SW cryptodev on DUTs in 3-node single-link circular topology -| | ... | aesni_gcm | ${phy_cores} +| | And Set Max Rate And Jumbo And Handle Multi Seg | | And Apply startup configuration on all VPP DUTs -| | When Generate keys for IPSec | ${encr_alg} | ${auth_alg} -| | And VPP IPsec Select Backend | ${dut1} | ${ipsec_proto} | index=${1} -| | And VPP IPsec Select Backend | ${dut2} | ${ipsec_proto} | index=${1} | | And Initialize IPSec in 3-node circular topology -| | And Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | gateway=${dut2_if1_ip4} -| | ... | interface=${dut1_if2} -| | And Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | gateway=${dut1_if2_ip4} -| | ... | interface=${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} +| | ... | ${nodes} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels} +| | ... | ${encr_alg} | ${auth_alg} | ${dut1_if2_ip4} | ${dut2_if1_ip4} +| | ... | ${laddr_ip4} | ${raddr_ip4} | ${addr_range} | | Then Find NDR and PDR intervals using optimized search *** Test Cases ***