X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fperf%2F10ge2p1x520-eth-l2bdbasemaclrn-ndrpdrdisc.robot;h=bd75266d1c685de2274fead299512c3e6dfdc929;hp=04eca8c9aba3e9a95367a05e2ccba8ee6a79e27d;hb=53d69321e41aa6fd94abc16c7050314dc2e53f08;hpb=7a52c16bc35b6abfd0cfacbc6be79b38ee467367 diff --git a/tests/perf/10ge2p1x520-eth-l2bdbasemaclrn-ndrpdrdisc.robot b/tests/perf/10ge2p1x520-eth-l2bdbasemaclrn-ndrpdrdisc.robot index 04eca8c9ab..bd75266d1c 100644 --- a/tests/perf/10ge2p1x520-eth-l2bdbasemaclrn-ndrpdrdisc.robot +++ b/tests/perf/10ge2p1x520-eth-l2bdbasemaclrn-ndrpdrdisc.robot @@ -17,13 +17,14 @@ | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC | ... | NIC_Intel-X520-DA2 | ETH | L2BDMACLRN | BASE | L2BDBASE | ... -| 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 | Intel-X520-DA2 -| 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* | ... @@ -50,6 +51,8 @@ *** Variables *** # X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} +# Traffic profile: +| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | L2 Bridge Domain NDR Binary Search @@ -60,14 +63,14 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Add '${wt}' worker threads and rxqueues '${rxq}' in 3-node single-link topo -| | Add PCI devices to DUTs from 3-node single link topology +| | Add '${wt}' worker threads and '${rxq}' rxqueues in 3-node single-link circular topology +| | Add PCI devices to DUTs in 3-node single link topology | | ${get_framesize}= | Get Frame Size | ${framesize} -| | Run Keyword If | ${get_framesize} < ${1522} | Add No Multi Seg to all DUTs +| | Run Keyword If | ${get_framesize} < ${1522} | Add no multi seg to all DUTs | | Apply startup configuration on all VPP DUTs -| | L2 bridge domain initialized in a 3-node circular topology +| | Initialize L2 bridge domain in 3-node circular topology | | Find NDR using binary search and pps -| | ... | ${framesize} | ${binary_min} | ${binary_max} | 3-node-bridge +| | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | L2 Bridge Domain PDR Binary Search @@ -78,20 +81,20 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Add '${wt}' worker threads and rxqueues '${rxq}' in 3-node single-link topo -| | Add PCI devices to DUTs from 3-node single link topology +| | Add '${wt}' worker threads and '${rxq}' rxqueues in 3-node single-link circular topology +| | Add PCI devices to DUTs in 3-node single link topology | | ${get_framesize}= | Get Frame Size | ${framesize} -| | Run Keyword If | ${get_framesize} < ${1522} | Add No Multi Seg to all DUTs +| | Run Keyword If | ${get_framesize} < ${1522} | Add no multi seg to all DUTs | | Apply startup configuration on all VPP DUTs -| | L2 bridge domain initialized in a 3-node circular topology +| | Initialize L2 bridge domain in 3-node circular topology | | Find PDR using binary search and pps -| | ... | ${framesize} | ${binary_min} | ${binary_max} | 3-node-bridge +| | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type} *** Test Cases *** | tc01-64B-1t1c-eth-l2bdbasemaclrn-ndrdisc -| | ... | ${64} | ${100000} | 1 | 1 +| | ... | framesize=${64} | min_rate=${100000} | wt=1 | rxq=1 | | [Tags] | 64B | 1T1C | STHREAD | NDRDISC | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -101,7 +104,7 @@ | | [Template] | L2 Bridge Domain NDR Binary Search | tc02-64B-1t1c-eth-l2bdbasemaclrn-pdrdisc -| | ... | ${64} | ${100000} | 1 | 1 +| | ... | framesize=${64} | min_rate=${100000} | wt=1 | rxq=1 | | [Tags] | 64B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -111,7 +114,7 @@ | | [Template] | L2 Bridge Domain PDR Binary Search | tc03-1518B-1t1c-eth-l2bdbasemaclrn-ndrdisc -| | ... | ${1518} | ${10000} | 1 | 1 +| | ... | framesize=${1518} | min_rate=${10000} | wt=1 | rxq=1 | | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -121,7 +124,7 @@ | | [Template] | L2 Bridge Domain NDR Binary Search | tc04-1518B-1t1c-eth-l2bdbasemaclrn-pdrdisc -| | ... | ${1518} | ${10000} | 1 | 1 +| | ... | framesize=${1518} | min_rate=${10000} | wt=1 | rxq=1 | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -131,7 +134,7 @@ | | [Template] | L2 Bridge Domain PDR Binary Search | tc05-9000B-1t1c-eth-l2bdbasemaclrn-ndrdisc -| | ... | ${9000} | ${10000} | 1 | 1 +| | ... | framesize=${9000} | min_rate=${10000} | wt=1 | rxq=1 | | [Tags] | 9000B | 1T1C | STHREAD | NDRDISC | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -141,7 +144,7 @@ | | [Template] | L2 Bridge Domain NDR Binary Search | tc06-9000B-1t1c-eth-l2bdbasemaclrn-pdrdisc -| | ... | ${9000} | ${10000} | 1 | 1 +| | ... | framesize=${9000} | min_rate=${10000} | wt=1 | rxq=1 | | [Tags] | 9000B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -151,7 +154,7 @@ | | [Template] | L2 Bridge Domain PDR Binary Search | tc07-64B-2t2c-eth-l2bdbasemaclrn-ndrdisc -| | ... | ${64} | ${100000} | 2 | 1 +| | ... | framesize=${64} | min_rate=${100000} | wt=2 | rxq=1 | | [Tags] | 64B | 2T2C | MTHREAD | NDRDISC | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -161,7 +164,7 @@ | | [Template] | L2 Bridge Domain NDR Binary Search | tc08-64B-2t2c-eth-l2bdbasemaclrn-pdrdisc -| | ... | ${64} | ${100000} | 2 | 1 +| | ... | framesize=${64} | min_rate=${100000} | wt=2 | rxq=1 | | [Tags] | 64B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -171,7 +174,7 @@ | | [Template] | L2 Bridge Domain PDR Binary Search | tc09-1518B-2t2c-eth-l2bdbasemaclrn-ndrdisc -| | ... | ${1518} | ${10000} | 2 | 1 +| | ... | framesize=${1518} | min_rate=${10000} | wt=2 | rxq=1 | | [Tags] | 1518B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -181,7 +184,7 @@ | | [Template] | L2 Bridge Domain NDR Binary Search | tc10-1518B-2t2c-eth-l2bdbasemaclrn-pdrdisc -| | ... | ${1518} | ${10000} | 2 | 1 +| | ... | framesize=${1518} | min_rate=${10000} | wt=2 | rxq=1 | | [Tags] | 1518B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -191,7 +194,7 @@ | | [Template] | L2 Bridge Domain PDR Binary Search | tc11-9000B-2t2c-eth-l2bdbasemaclrn-ndrdisc -| | ... | ${9000} | ${10000} | 2 | 1 +| | ... | framesize=${9000} | min_rate=${10000} | wt=2 | rxq=1 | | [Tags] | 9000B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -201,7 +204,7 @@ | | [Template] | L2 Bridge Domain NDR Binary Search | tc12-9000B-2t2c-eth-l2bdbasemaclrn-pdrdisc -| | ... | ${9000} | ${10000} | 2 | 1 +| | ... | framesize=${9000} | min_rate=${10000} | wt=2 | rxq=1 | | [Tags] | 9000B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -211,7 +214,7 @@ | | [Template] | L2 Bridge Domain PDR Binary Search | tc13-64B-4t4c-eth-l2bdbasemaclrn-ndrdisc -| | ... | ${64} | ${100000} | 4 | 2 +| | ... | framesize=${64} | min_rate=${100000} | wt=4 | rxq=2 | | [Tags] | 64B | 4T4C | MTHREAD | NDRDISC | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -221,7 +224,7 @@ | | [Template] | L2 Bridge Domain NDR Binary Search | tc14-64B-4t4c-eth-l2bdbasemaclrn-pdrdisc -| | ... | ${64} | ${100000} | 4 | 2 +| | ... | framesize=${64} | min_rate=${100000} | wt=4 | rxq=2 | | [Tags] | 64B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -231,7 +234,7 @@ | | [Template] | L2 Bridge Domain PDR Binary Search | tc15-1518B-4t4c-eth-l2bdbasemaclrn-ndrdisc -| | ... | ${1518} | ${10000} | 4 | 2 +| | ... | framesize=${1518} | min_rate=${10000} | wt=4 | rxq=2 | | [Tags] | 1518B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -241,7 +244,7 @@ | | [Template] | L2 Bridge Domain NDR Binary Search | tc16-1518B-4t4c-eth-l2bdbasemaclrn-pdrdisc -| | ... | ${1518} | ${10000} | 4 | 2 +| | ... | framesize=${1518} | min_rate=${10000} | wt=4 | rxq=2 | | [Tags] | 1518B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -251,7 +254,7 @@ | | [Template] | L2 Bridge Domain PDR Binary Search | tc17-9000B-4t4c-eth-l2bdbasemaclrn-ndrdisc -| | ... | ${9000} | ${10000} | 4 | 2 +| | ... | framesize=${9000} | min_rate=${10000} | wt=4 | rxq=2 | | [Tags] | 9000B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -261,7 +264,7 @@ | | [Template] | L2 Bridge Domain NDR Binary Search | tc18-9000B-4t4c-eth-l2bdbasemaclrn-pdrdisc -| | ... | ${9000} | ${10000} | 4 | 2 +| | ... | framesize=${9000} | min_rate=${10000} | wt=4 | rxq=2 | | [Tags] | 9000B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\