X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fperf%2F40ge2p1xl710-eth-l2bdbasemaclrn-ndrpdrdisc.robot;h=73df75ef9a86b460180360cd338a5002cfedc751;hp=35a36a1db5fe4660090b4882b0c4dbecb09bf683;hb=53d69321e41aa6fd94abc16c7050314dc2e53f08;hpb=7e77c9160cc3eb6f7f585df70231c4eeb07421d4 diff --git a/tests/perf/40ge2p1xl710-eth-l2bdbasemaclrn-ndrpdrdisc.robot b/tests/perf/40ge2p1xl710-eth-l2bdbasemaclrn-ndrpdrdisc.robot index 35a36a1db5..73df75ef9a 100644 --- a/tests/perf/40ge2p1xl710-eth-l2bdbasemaclrn-ndrpdrdisc.robot +++ b/tests/perf/40ge2p1xl710-eth-l2bdbasemaclrn-ndrpdrdisc.robot @@ -17,13 +17,14 @@ | ... | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC | ... | NIC_Intel-XL710 | 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 | Intel-XL710 -| 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* | ... @@ -52,6 +53,8 @@ | ${s_24.5G} | ${24500000000} # XL710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps | ${s_18.75Mpps} | ${18750000} +# Traffic profile: +| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | L2 Bridge Domain NDR Binary Search BW limit @@ -62,14 +65,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 NDR Binary Search @@ -80,14 +83,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 BW limit @@ -98,14 +101,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 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} @@ -117,20 +120,21 @@ | | ${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 | ${s_18.75Mpps} +| | ... | framesize=${64} | min_rate=${100000} | wt=1 | rxq=1 +| | ... | s_limit=${s_18.75Mpps} | | [Tags] | 64B | 1T1C | STHREAD | NDRDISC | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -140,7 +144,8 @@ | | [Template] | L2 Bridge Domain NDR Binary Search | tc03-1518B-1t1c-eth-l2bdbasemaclrn-ndrdisc -| | ... | ${1518} | ${10000} | 1 | 1 | ${s_24.5G} +| | ... | framesize=${1518} | min_rate=${10000} | wt=1 | rxq=1 +| | ... | s_limit=${s_24.5G} | | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -150,7 +155,8 @@ | | [Template] | L2 Bridge Domain NDR Binary Search BW limit | tc07-64B-2t2c-eth-l2bdbasemaclrn-ndrdisc -| | ... | ${64} | ${100000} | 2 | 1 | ${s_18.75Mpps} +| | ... | framesize=${64} | min_rate=${100000} | wt=2 | rxq=1 +| | ... | s_limit=${s_18.75Mpps} | | [Tags] | 64B | 2T2C | MTHREAD | NDRDISC | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -160,7 +166,8 @@ | | [Template] | L2 Bridge Domain NDR Binary Search | tc09-1518B-2t2c-eth-l2bdbasemaclrn-ndrdisc -| | ... | ${1518} | ${10000} | 2 | 1 | ${s_24.5G} +| | ... | framesize=${1518} | min_rate=${10000} | wt=2 | rxq=1 +| | ... | s_limit=${s_24.5G} | | [Tags] | 1518B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -170,7 +177,8 @@ | | [Template] | L2 Bridge Domain NDR Binary Search BW limit | tc13-64B-4t4c-eth-l2bdbasemaclrn-ndrdisc -| | ... | ${64} | ${100000} | 4 | 2 | ${s_18.75Mpps} +| | ... | framesize=${64} | min_rate=${100000} | wt=4 | rxq=2 +| | ... | s_limit=${s_18.75Mpps} | | [Tags] | 64B | 4T4C | MTHREAD | NDRDISC | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -180,7 +188,8 @@ | | [Template] | L2 Bridge Domain NDR Binary Search | tc15-1518B-4t4c-eth-l2bdbasemaclrn-ndrdisc -| | ... | ${1518} | ${10000} | 4 | 2 | ${s_24.5G} +| | ... | framesize=${1518} | min_rate=${10000} | wt=4 | rxq=2 +| | ... | s_limit=${s_24.5G} | | [Tags] | 1518B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -190,7 +199,8 @@ | | [Template] | L2 Bridge Domain NDR Binary Search BW limit | tc19-IMIX-1t1c-eth-l2bdbasemaclrn-ndrdisc -| | ... | IMIX_v4_1 | ${100000} | 1 | 1 | ${s_24.5G} +| | ... | framesize=IMIX_v4_1 | min_rate=${100000} | wt=1 | rxq=1 +| | ... | s_limit=${s_24.5G} | | [Tags] | IMIX | 1T1C | STHREAD | NDRDISC | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -200,7 +210,8 @@ | | [Template] | L2 Bridge Domain NDR Binary Search BW limit | tc20-IMIX-2t2c-eth-l2bdbasemaclrn-ndrdisc -| | ... | IMIX_v4_1 | ${100000} | 2 | 1 | ${s_24.5G} +| | ... | framesize=IMIX_v4_1 | min_rate=${100000} | wt=2 | rxq=1 +| | ... | s_limit=${s_24.5G} | | [Tags] | IMIX | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\ @@ -210,7 +221,8 @@ | | [Template] | L2 Bridge Domain NDR Binary Search BW limit | tc21-IMIX-4t4c-eth-l2bdbasemaclrn-ndrdisc -| | ... | IMIX_v4_1 | ${100000} | 4 | 2 | ${s_24.5G} +| | ... | framesize=IMIX_v4_1 | min_rate=${100000} | wt=4 | rxq=2 +| | ... | s_limit=${s_24.5G} | | [Tags] | IMIX | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with with\