X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fperf%2F10ge2p1vic1227-eth-l2bdbasemaclrn-ndrpdrdisc.robot;h=7f025baa926eac606bc084afd6200b22db64199f;hb=b9edc2d34cf5148684b9a8d49b965756c289fcdb;hp=62a757cf31e619368ca72c853639e250511c2d5a;hpb=7e77c9160cc3eb6f7f585df70231c4eeb07421d4;p=csit.git diff --git a/tests/perf/10ge2p1vic1227-eth-l2bdbasemaclrn-ndrpdrdisc.robot b/tests/perf/10ge2p1vic1227-eth-l2bdbasemaclrn-ndrpdrdisc.robot index 62a757cf31..7f025baa92 100644 --- a/tests/perf/10ge2p1vic1227-eth-l2bdbasemaclrn-ndrpdrdisc.robot +++ b/tests/perf/10ge2p1vic1227-eth-l2bdbasemaclrn-ndrpdrdisc.robot @@ -12,18 +12,19 @@ # limitations under the License. *** Settings *** -| Resource | resources/libraries/robot/performance.robot +| Resource | resources/libraries/robot/performance_setup.robot | ... | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC | ... | NIC_Cisco-VIC-1227 | 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-1227 -| 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 *** # Cisco-VIC-1227 bandwidth limit | ${s_limit} | ${10000000000} +# Traffic profile: +| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | L2 Bridge Domain NDR Binary Search @@ -67,13 +70,13 @@ | | Set Test Documentation | [Ver] Find NDR for ${framesize} Byte\ | append=True | | Set Test Documentation | frames using binary search start at\ | append=True | | Set Test Documentation | 10GE linerate, step ${threshold}pps. | append=True -| | Add '${wt}' worker threads and rxqueues '${rxq}' in 3-node single-link topo -| | Add PCI devices to DUTs from 3-node single link topology -| | Run Keyword If | ${framesize} < ${1522} | Add No Multi Seg to all DUTs +| | 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 +| | Run Keyword If | ${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 @@ -93,19 +96,19 @@ | | Set Test Documentation | 10GE linerate, step ${threshold}pps, | append=True | | Set Test Documentation | LT=${perf_pdr_loss_acceptance} | append=True | | Set Test Documentation | ${perf_pdr_loss_acceptance_type}. | append=True -| | Add '${wt}' worker threads and rxqueues '${rxq}' in 3-node single-link topo -| | Add PCI devices to DUTs from 3-node single link topology -| | Run Keyword If | ${framesize} < ${1522} | Add No Multi Seg to all DUTs +| | 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 +| | Run Keyword If | ${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 | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. @@ -115,7 +118,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 | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. @@ -125,7 +128,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 | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. @@ -135,7 +138,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 | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. @@ -145,7 +148,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 | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. @@ -155,7 +158,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 | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. @@ -165,7 +168,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 | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. @@ -175,7 +178,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 | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. @@ -185,7 +188,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 | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. @@ -195,7 +198,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 | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. @@ -205,7 +208,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 | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. @@ -215,7 +218,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 | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. @@ -225,7 +228,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 | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ | | ... | 4 threads, 4 phy cores, 2 receive queues per NIC port. @@ -235,7 +238,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 | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ | | ... | 4 threads, 4 phy cores, 2 receive queues per NIC port. @@ -245,7 +248,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 | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ | | ... | 4 threads, 4 phy cores, 2 receive queues per NIC port. @@ -255,7 +258,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 | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ | | ... | 4 threads, 4 phy cores, 2 receive queues per NIC port. @@ -265,7 +268,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 | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ | | ... | 4 threads, 4 phy cores, 2 receive queues per NIC port. @@ -275,7 +278,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 | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ | | ... | 4 threads, 4 phy cores, 2 receive queues per NIC port.