X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fperf%2F40ge2p1xl710-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-ndrpdrdisc.robot;h=8d6403ba8b903096d033fe14ada4a3b2b6cf3ac2;hp=873f729514639909bcabee9c5ed9b5f1e7b4ee5d;hb=53d69321e41aa6fd94abc16c7050314dc2e53f08;hpb=48eb2c5381fe357980a64803cb660d32bf23626a diff --git a/tests/perf/40ge2p1xl710-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-ndrpdrdisc.robot b/tests/perf/40ge2p1xl710-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-ndrpdrdisc.robot index 873f729514..8d6403ba8b 100644 --- a/tests/perf/40ge2p1xl710-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-ndrpdrdisc.robot +++ b/tests/perf/40ge2p1xl710-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-ndrpdrdisc.robot @@ -18,15 +18,14 @@ | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | SCALE | NDRPDRDISC | ... | IP4FWD | IPSEC | IPSECHW | IPSECTUN | NIC_Intel-XL710 | TNL_1000 | ... -| Suite Setup | Run Keywords -| ... | 3-node Performance Suite Setup with DUT's NIC model | L3 | Intel-XL710 -| ... | AND | Verify Crypto Device On All DUTs | force_init=${True} -| ... | AND | Verify Kernel Module On All DUTs | igb_uio | force_load=${True} -| Suite Teardown | 3-node Performance Suite Teardown +| Suite Setup | Set up IPSec performance test suite | L3 | Intel-XL710 | ... -| Test Setup | Performance test setup -| Test Teardown | Performance test teardown | ${min_rate}pps | ${framesize} -| ... | 3-node-IPv4-dst-${n_tunnels} +| Suite Teardown | Tear down 3-node performance topology +| ... +| Test Setup | Set up performance test +| ... +| Test Teardown | Tear down performance discovery test | ${min_rate}pps +| ... | ${framesize} | ${traffic_profile} | ... | Documentation | *IPv4 IPsec tunnel mode performance test suite.* | ... @@ -68,6 +67,9 @@ | ${laddr_ip4}= | 10.0.0.0 | ${addr_range}= | ${32} | ${ipsec_overhead}= | ${58} +| ${n_tunnels}= | ${1000} +# Traffic profile: +| ${traffic_profile} | trex-sl-3n-ethip4-ip4dst${n_tunnels} *** Test Cases *** | tc01-64B-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-ndrdisc @@ -79,7 +81,6 @@ | | ... | | [Tags] | 64B | 1T1C | STHREAD | NDRDISC | | ... -| | ${n_tunnels}= | Set Variable | ${1000} | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Set Variable | ${s_18.75Mpps} @@ -88,13 +89,13 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And IPsec Generate Keys | ${encr_alg} | ${auth_alg} -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs -| | And Add Cryptodev to all DUTs | ${1} +| | 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 Apply startup configuration on all VPP DUTs -| | And IPsec initialized in a 3-node circular topology +| | 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 @@ -103,7 +104,7 @@ | | ... | ${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} | 3-node-IPv4-dst-${n_tunnels} +| | ... | ${binary_min} | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | tc02-64B-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-pdrdisc @@ -115,7 +116,6 @@ | | ... | | [Tags] | 64B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH | | ... -| | ${n_tunnels}= | Set Variable | ${1000} | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Set Variable | ${s_18.75Mpps} @@ -124,13 +124,13 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And IPsec Generate Keys | ${encr_alg} | ${auth_alg} -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs -| | And Add Cryptodev to all DUTs | ${1} +| | 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 Apply startup configuration on all VPP DUTs -| | And IPsec initialized in a 3-node circular topology +| | 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 @@ -139,7 +139,7 @@ | | ... | ${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} | 3-node-IPv4-dst-${n_tunnels} +| | ... | ${binary_min} | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} @@ -152,7 +152,6 @@ | | ... | | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC | | ... -| | ${n_tunnels}= | Set Variable | ${1000} | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize + ${ipsec_overhead}} @@ -161,12 +160,12 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And IPsec Generate Keys | ${encr_alg} | ${auth_alg} -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add Cryptodev to all DUTs | ${1} +| | 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 Apply startup configuration on all VPP DUTs -| | And IPsec initialized in a 3-node circular topology +| | 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 @@ -175,7 +174,7 @@ | | ... | ${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} | 3-node-IPv4-dst-${n_tunnels} +| | ... | ${binary_min} | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | tc04-1518B-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-pdrdisc @@ -187,7 +186,6 @@ | | ... | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH | | ... -| | ${n_tunnels}= | Set Variable | ${1000} | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize + ${ipsec_overhead}} @@ -196,12 +194,12 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And IPsec Generate Keys | ${encr_alg} | ${auth_alg} -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add Cryptodev to all DUTs | ${1} +| | 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 Apply startup configuration on all VPP DUTs -| | And IPsec initialized in a 3-node circular topology +| | 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 @@ -210,7 +208,7 @@ | | ... | ${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} | 3-node-IPv4-dst-${n_tunnels} +| | ... | ${binary_min} | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} @@ -224,7 +222,6 @@ | | ... | | [Tags] | IMIX | 1T1C | STHREAD | NDRDISC | | ... -| | ${n_tunnels}= | Set Variable | ${1000} | | ${framesize}= | Set Variable | IMIX_v4_1 | | ${imix_size}= | Get Frame Size | ${framesize} | | ${min_rate}= | Set Variable | ${10000} @@ -234,12 +231,12 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And IPsec Generate Keys | ${encr_alg} | ${auth_alg} -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add Cryptodev to all DUTs | ${1} +| | 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 Apply startup configuration on all VPP DUTs -| | And IPsec initialized in a 3-node circular topology +| | 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 @@ -248,7 +245,7 @@ | | ... | ${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} | 3-node-IPv4-dst-${n_tunnels} +| | ... | ${binary_min} | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | tc06-IMIX-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-pdrdisc @@ -261,7 +258,6 @@ | | ... | | [Tags] | IMIX | 1T1C | STHREAD | PDRDISC | SKIP_PATCH | | ... -| | ${n_tunnels}= | Set Variable | ${1000} | | ${framesize}= | Set Variable | IMIX_v4_1 | | ${imix_size}= | Get Frame Size | ${framesize} | | ${min_rate}= | Set Variable | ${10000} @@ -271,12 +267,12 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And IPsec Generate Keys | ${encr_alg} | ${auth_alg} -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add Cryptodev to all DUTs | ${1} +| | 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 Apply startup configuration on all VPP DUTs -| | And IPsec initialized in a 3-node circular topology +| | 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 @@ -285,7 +281,7 @@ | | ... | ${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} | 3-node-IPv4-dst-${n_tunnels} +| | ... | ${binary_min} | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} @@ -298,7 +294,6 @@ | | ... | | [Tags] | 64B | 2T2C | MTHREAD | NDRDISC | | ... -| | ${n_tunnels}= | Set Variable | ${1000} | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Set Variable | ${s_18.75Mpps} @@ -307,13 +302,13 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo -| | And IPsec Generate Keys | ${encr_alg} | ${auth_alg} -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs -| | And Add Cryptodev to all DUTs | ${2} +| | 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 Apply startup configuration on all VPP DUTs -| | And IPsec initialized in a 3-node circular topology +| | 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 @@ -322,7 +317,7 @@ | | ... | ${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} | 3-node-IPv4-dst-${n_tunnels} +| | ... | ${binary_min} | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | tc08-64B-2t2c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-pdrdisc @@ -334,7 +329,6 @@ | | ... | | [Tags] | 64B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH | | ... -| | ${n_tunnels}= | Set Variable | ${1000} | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Set Variable | ${s_18.75Mpps} @@ -343,13 +337,13 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo -| | And IPsec Generate Keys | ${encr_alg} | ${auth_alg} -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs -| | And Add Cryptodev to all DUTs | ${2} +| | 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 Apply startup configuration on all VPP DUTs -| | And IPsec initialized in a 3-node circular topology +| | 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 @@ -358,6 +352,6 @@ | | ... | ${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} | 3-node-IPv4-dst-${n_tunnels} +| | ... | ${binary_min} | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type}