X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fperf%2F10ge2p1x520-ethip4udp-ip4base-udpsrcscale15-snat-ndrpdrdisc.robot;h=303faa76f6a55892d895e8fe9313f041a6e6ebf5;hb=f22e850f38ad5a1630271d020b2078c1580c99c0;hp=f3bcac2bf50ad3650479071763557f4a53ea92cc;hpb=043b2564cd0bfbcb3b00c782fb8d317e752ac210;p=csit.git diff --git a/tests/perf/10ge2p1x520-ethip4udp-ip4base-udpsrcscale15-snat-ndrpdrdisc.robot b/tests/perf/10ge2p1x520-ethip4udp-ip4base-udpsrcscale15-snat-ndrpdrdisc.robot index f3bcac2bf5..303faa76f6 100644 --- a/tests/perf/10ge2p1x520-ethip4udp-ip4base-udpsrcscale15-snat-ndrpdrdisc.robot +++ b/tests/perf/10ge2p1x520-ethip4udp-ip4base-udpsrcscale15-snat-ndrpdrdisc.robot @@ -19,11 +19,14 @@ | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC | ... | NIC_Intel-X520-DA2 | ETH | IP4FWD | FEATURE | SNAT | BASE | ... -| Suite Setup | 3-node Performance Suite Setup with DUT's NIC model +| Suite Setup | Set up 3-node performance topology with DUT's NIC model | ... | L3 | Intel-X520-DA2 -| Suite Teardown | 3-node Performance Suite Teardown +| Suite Teardown | Tear down 3-node performance topology | ... -| Test Setup | Performance test setup +| Test Setup | Set up performance test +| ... +| Test Teardown | Tear down performance discovery test with SNAT +| ... | ${min_rate}pps | ${framesize} | ${traffic_profile} | ... | Documentation | *SNAT performance test cases* | ... @@ -62,6 +65,8 @@ *** Variables *** # X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} +# Traffic profile: +| ${traffic_profile} | trex-sl-3n-ethip4udp-1u15p *** Test Cases *** | tc01-64B-1t1c-ethip4udp-ip4base-udpsrcscale15-snat-ndrdisc @@ -72,11 +77,6 @@ | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\ | | ... | linerate, step 100kpps. | | ... -| | [Teardown] | Run keywords | Performance test teardown | ${min_rate}pps -| | ... | ${framesize} | 3-node-IPv4-SNAT-1u-15p -| | ... | AND | Show SNAT verbose | ${dut1} -| | ... | AND | Show SNAT verbose | ${dut2} -| | ... | | [Tags] | 64B | 1T1C | STHREAD | NDRDISC | | ... | | ${framesize}= | Set Variable | ${64} @@ -85,15 +85,15 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs +| | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology +| | And Add PCI devices to DUTs in 3-node single link topology +| | And Add no multi seg to all DUTs | | And Add SNAT to all DUTs | | And Apply startup configuration on all VPP DUTs -| | When SNAT is initialized in a 3-node circular topology +| | When Initialize SNAT in 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-SNAT-1u-15p | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc02-64B-1t1c-ethip4udp-ip4base-udpsrcscale15-snat-pdrdisc | | [Documentation] @@ -103,9 +103,6 @@ | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\ | | ... | linerate, step 100kpps. | | ... -| | [Teardown] | Performance test teardown | ${min_rate}pps | ${framesize} -| | ... | 3-node-IPv4-SNAT-1u-15p -| | ... | | [Tags] | 64B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH | | ... | | ${framesize}= | Set Variable | ${64} @@ -114,15 +111,15 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs +| | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology +| | And Add PCI devices to DUTs in 3-node single link topology +| | And Add no multi seg to all DUTs | | And Add SNAT to all DUTs | | And Apply startup configuration on all VPP DUTs -| | When SNAT is initialized in a 3-node circular topology +| | When Initialize SNAT in 3-node circular topology | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-SNAT-1u-15p | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc03-1518B-1t1c-ethip4udp-ip4base-udpsrcscale15-snat-ndrdisc @@ -133,11 +130,6 @@ | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\ | | ... | linerate, step 100kpps. | | ... -| | [Teardown] | Run keywords | Performance test teardown | ${min_rate}pps -| | ... | ${framesize} | 3-node-IPv4-SNAT-1u-15p -| | ... | AND | Show SNAT verbose | ${dut1} -| | ... | AND | Show SNAT verbose | ${dut2} -| | ... | | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC | | ... | | ${framesize}= | Set Variable | ${1518} @@ -146,15 +138,15 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs +| | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology +| | And Add PCI devices to DUTs in 3-node single link topology +| | And Add no multi seg to all DUTs | | And Add SNAT to all DUTs | | And Apply startup configuration on all VPP DUTs -| | When SNAT is initialized in a 3-node circular topology +| | When Initialize SNAT in 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-SNAT-1u-15p | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc04-1518B-1t1c-ethip4udp-ip4base-udpsrcscale15-snat-pdrdisc | | [Documentation] @@ -164,9 +156,6 @@ | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\ | | ... | linerate, step 100kpps. | | ... -| | [Teardown] | Performance test teardown | ${min_rate}pps | ${framesize} -| | ... | 3-node-IPv4-SNAT-1u-15p -| | ... | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH | | ... | | ${framesize}= | Set Variable | ${1518} @@ -175,61 +164,52 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs +| | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology +| | And Add PCI devices to DUTs in 3-node single link topology +| | And Add no multi seg to all DUTs | | And Add SNAT to all DUTs | | And Apply startup configuration on all VPP DUTs -| | When SNAT is initialized in a 3-node circular topology +| | When Initialize SNAT in 3-node circular topology | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-SNAT-1u-15p | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} -| tc05-1518B-1t1c-ethip4udp-ip4base-udpsrcscale15-snat-pdrdisc +| tc05-IMIX-1t1c-ethip4udp-ip4base-udpsrcscale15-snat-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\ | | ... | 1 user and 15 ports (sessions) per user. -| | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\ +| | ... | [Ver] Find NDR for IMIX frames using binary search start at 10GE\ | | ... | linerate, step 100kpps. | | ... -| | [Teardown] | Performance test teardown | ${min_rate}pps | ${framesize} -| | ... | 3-node-IPv4-SNAT-1u-15p -| | ... -| | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH +| | [Tags] | IMIX | 1T1C | STHREAD | NDRDISC | | ... -| | ${framesize}= | Set Variable | ${1518} +| | ${framesize}= | Set Variable | IMIX_v4_1 | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs +| | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology +| | And Add PCI devices to DUTs in 3-node single link topology +| | And Add no multi seg to all DUTs | | And Add SNAT to all DUTs | | And Apply startup configuration on all VPP DUTs -| | When SNAT is initialized in a 3-node circular topology -| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-SNAT-1u-15p | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} -| | ... | ${perf_pdr_loss_acceptance_type} +| | When Initialize SNAT in 3-node circular topology +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} -| tc06-IMIX-1t1c-ethip4udp-ip4base-udpsrcscale15-snat-ndrdisc +| tc06-IMIX-1t1c-ethip4udp-ip4base-udpsrcscale15-snat-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\ | | ... | 1 user and 15 ports (sessions) per user. -| | ... | [Ver] Find NDR for IMIX frames using binary search start at 10GE\ +| | ... | [Ver] Find PDR for IMIX frames using binary search start at 10GE\ | | ... | linerate, step 100kpps. | | ... -| | [Teardown] | Run keywords | Performance test teardown | ${min_rate}pps -| | ... | ${framesize} | 3-node-IPv4-SNAT-1u-15p -| | ... | AND | Show SNAT verbose | ${dut1} -| | ... | AND | Show SNAT verbose | ${dut2} -| | ... -| | [Tags] | IMIX | 1T1C | STHREAD | NDRDISC +| | [Tags] | IMIX | 1T1C | STHREAD | PDRDISC | SKIP_PATCH | | ... | | ${framesize}= | Set Variable | IMIX_v4_1 | | ${min_rate}= | Set Variable | ${100000} @@ -237,12 +217,13 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs +| | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology +| | And Add PCI devices to DUTs in 3-node single link topology +| | And Add no multi seg to all DUTs | | And Add SNAT to all DUTs | | And Apply startup configuration on all VPP DUTs -| | When SNAT is initialized in a 3-node circular topology -| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-SNAT-1u-15p | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | When Initialize SNAT in 3-node circular topology +| | 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}