X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fperf%2F40ge2p1vic1385-eth-l2bdbasemaclrn-ndrpdrdisc.robot;h=a5a46eb604815eda32f2b99eda9179500772e2fb;hp=879bfa427be8c24a06fe385b7ad0c1c0b96b407f;hb=53d69321e41aa6fd94abc16c7050314dc2e53f08;hpb=974897e8bcff8f3baeadf09b87840f530d8f41c1 diff --git a/tests/perf/40ge2p1vic1385-eth-l2bdbasemaclrn-ndrpdrdisc.robot b/tests/perf/40ge2p1vic1385-eth-l2bdbasemaclrn-ndrpdrdisc.robot index 879bfa427b..a5a46eb604 100644 --- a/tests/perf/40ge2p1vic1385-eth-l2bdbasemaclrn-ndrpdrdisc.robot +++ b/tests/perf/40ge2p1vic1385-eth-l2bdbasemaclrn-ndrpdrdisc.robot @@ -18,13 +18,14 @@ | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC | ... | NIC_Cisco-VIC-1385 | ETH | L2BDMACLRN | 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 | ... | L2 | Cisco-VIC-1385 -| Suite Teardown | 3-node Performance Suite Teardown +| Suite Teardown | Tear down 3-node performance topology | ... -| Test Setup | Performance test setup -| Test Teardown | Performance test teardown | ${min_rate}pps | ${framesize} -| ... | 3-node-bridge +| Test Setup | Set up performance test +| ... +| Test Teardown | Tear down performance discovery test | ${min_rate}pps +| ... | ${framesize} | ${traffic_profile} | ... | Documentation | *RFC2544: Pkt throughput L2BD test cases* | ... @@ -53,6 +54,8 @@ | ${s_24.5G} | ${24500000000} # XL710-DA2 Mpps (TG) limit 37.5Mpps/2=18.75Mpps | ${s_18.75Mpps} | ${18750000} +# Traffic profile: +| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 *** Test Cases *** | tc01-64B-1t1c-eth-l2bdbasemaclrn-ndrdisc @@ -62,7 +65,7 @@ | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at\ | | ... | 18.75Mpps rate, step 100kpps. | | ... -| | [Tags] | 1T1C | STHREAD | NDRDISC +| | [Tags] | 64B | 1T1C | STHREAD | NDRDISC | | ... | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${100000} @@ -70,14 +73,14 @@ | | ${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 Apply startup configuration on all VPP DUTs -| | And L2 bridge domain initialized in a 3-node circular topology +| | And Initialize L2 bridge domain in 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc02-64B-1t1c-eth-l2bdbasemaclrn-pdrdisc | | [Documentation] @@ -86,7 +89,7 @@ | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at\ | | ... | 18.75Mpps rate, step 100kpps. | | ... -| | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH +| | [Tags] | 64B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH | | ... | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${100000} @@ -94,14 +97,14 @@ | | ${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 Apply startup configuration on all VPP DUTs -| | And L2 bridge domain initialized in a 3-node circular topology +| | And Initialize L2 bridge domain in 3-node circular topology | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-bridge | ${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-eth-l2bdbasemaclrn-ndrdisc @@ -111,7 +114,7 @@ | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at\ | | ... | 24.5G rate, step 10kpps. | | ... -| | [Tags] | 1T1C | STHREAD | NDRDISC +| | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC | | ... | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${10000} @@ -119,14 +122,14 @@ | | ${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 Apply startup configuration on all VPP DUTs -| | And L2 bridge domain initialized in a 3-node circular topology +| | And Initialize L2 bridge domain in 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc05-9000B-1t1c-eth-l2bdbasemaclrn-ndrdisc | | [Documentation] @@ -135,7 +138,7 @@ | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at\ | | ... | 24.5G rate, step 10kpps. | | ... -| | [Tags] | 1T1C | STHREAD | NDRDISC +| | [Tags] | 9000B | 1T1C | STHREAD | NDRDISC | | ... | | ${framesize}= | Set Variable | ${9000} | | ${min_rate}= | Set Variable | ${10000} @@ -143,14 +146,14 @@ | | ${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 Apply startup configuration on all VPP DUTs -| | And L2 bridge domain initialized in a 3-node circular topology +| | And Initialize L2 bridge domain in 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc07-64B-2t2c-eth-l2bdbasemaclrn-ndrdisc | | [Documentation] @@ -159,7 +162,7 @@ | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at\ | | ... | 18.75Mpps rate, step 100kpps. | | ... -| | [Tags] | 2T2C | MTHREAD | NDRDISC +| | [Tags] | 64B | 2T2C | MTHREAD | NDRDISC | | ... | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${100000} @@ -167,14 +170,14 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Given Add '2' 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 '2' 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 Apply startup configuration on all VPP DUTs -| | And L2 bridge domain initialized in a 3-node circular topology +| | And Initialize L2 bridge domain in 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc08-64B-2t2c-eth-l2bdbasemaclrn-pdrdisc | | [Documentation] @@ -183,7 +186,7 @@ | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at\ | | ... | 18.75Mpps rate, step 100kpps. | | ... -| | [Tags] | 2T2C | MTHREAD | PDR | SKIP_PATCH +| | [Tags] | 64B | 2T2C | MTHREAD | PDR | SKIP_PATCH | | ... | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${100000} @@ -191,14 +194,14 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Given Add '2' 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 '2' 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 Apply startup configuration on all VPP DUTs -| | And L2 bridge domain initialized in a 3-node circular topology +| | And Initialize L2 bridge domain in 3-node circular topology | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-bridge | ${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} | tc09-1518B-2t2c-eth-l2bdbasemaclrn-ndrdisc @@ -208,7 +211,7 @@ | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at\ | | ... | 24.5G rate, step 10kpps. | | ... -| | [Tags] | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH +| | [Tags] | 1518B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH | | ... | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${10000} @@ -216,14 +219,14 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Given Add '2' 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 '2' 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 Apply startup configuration on all VPP DUTs -| | And L2 bridge domain initialized in a 3-node circular topology +| | And Initialize L2 bridge domain in 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc13-64B-4t4c-eth-l2bdbasemaclrn-ndrdisc | | [Documentation] @@ -232,7 +235,7 @@ | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at\ | | ... | 18.75Mpps rate, step 100kpps. | | ... -| | [Tags] | 4T4C | MTHREAD | NDRDISC +| | [Tags] | 64B | 4T4C | MTHREAD | NDRDISC | | ... | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${100000} @@ -240,14 +243,14 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Given Add '4' worker threads and rxqueues '2' 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 '4' worker threads and '2' 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 Apply startup configuration on all VPP DUTs -| | And L2 bridge domain initialized in a 3-node circular topology +| | And Initialize L2 bridge domain in 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc15-1518B-4t4c-eth-l2bdbasemaclrn-ndrdisc | | [Documentation] @@ -256,7 +259,7 @@ | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at\ | | ... | 24.5G rate, step 10kpps. | | ... -| | [Tags] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH +| | [Tags] | 1518B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH | | ... | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${10000} @@ -264,14 +267,14 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Given Add '4' worker threads and rxqueues '2' 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 '4' worker threads and '2' 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 Apply startup configuration on all VPP DUTs -| | And L2 bridge domain initialized in a 3-node circular topology +| | And Initialize L2 bridge domain in 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc19-IMIX-1t1c-eth-l2bdbasemaclrn-ndrdisc | | [Documentation] @@ -281,7 +284,7 @@ | | ... | 24.5G rate, step 100kpps. | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B) | | ... -| | [Tags] | 1T1C | STHREAD | NDRDISC +| | [Tags] | IMIX | 1T1C | STHREAD | NDRDISC | | ... | | ${framesize}= | Set Variable | IMIX_v4_1 | | ${min_rate}= | Set Variable | ${100000} @@ -289,14 +292,14 @@ | | ${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 +| | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology | | And Add all PCI devices to all DUTs -| | And Add No Multi Seg to all DUTs +| | And Add no multi seg to all DUTs | | And Apply startup configuration on all VPP DUTs -| | And L2 bridge domain initialized in a 3-node circular topology +| | And Initialize L2 bridge domain in 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc20-IMIX-2t2c-eth-l2bdbasemaclrn-ndrdisc | | [Documentation] @@ -306,7 +309,7 @@ | | ... | 24.5G rate, step 100kpps. | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B) | | ... -| | [Tags] | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH +| | [Tags] | IMIX | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH | | ... | | ${framesize}= | Set Variable | IMIX_v4_1 | | ${min_rate}= | Set Variable | ${100000} @@ -314,14 +317,14 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo +| | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology | | And Add all PCI devices to all DUTs -| | And Add No Multi Seg to all DUTs +| | And Add no multi seg to all DUTs | | And Apply startup configuration on all VPP DUTs -| | And L2 bridge domain initialized in a 3-node circular topology +| | And Initialize L2 bridge domain in 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc21-IMIX-4t4c-eth-l2bdbasemaclrn-ndrdisc | | [Documentation] @@ -331,7 +334,7 @@ | | ... | 24.5G rate, step 100kpps. | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B) | | ... -| | [Tags] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH +| | [Tags] | IMIX | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH | | ... | | ${framesize}= | Set Variable | IMIX_v4_1 | | ${min_rate}= | Set Variable | ${100000} @@ -339,11 +342,11 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo +| | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology | | And Add all PCI devices to all DUTs -| | And Add No Multi Seg to all DUTs +| | And Add no multi seg to all DUTs | | And Apply startup configuration on all VPP DUTs -| | And L2 bridge domain initialized in a 3-node circular topology +| | And Initialize L2 bridge domain in 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold}