X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fvpp%2Fperf%2Fl2%2F10ge2p1x710-avf-eth-l2bdbasemaclrn-ndrpdr.robot;h=f1cf436b8a84e3ac49965dde2a080344fffc287f;hb=ac89ba8a39355a4a761508870ea0e08212ef7aee;hp=9e84f1e1f9195f6ea60777c959641fd965b150ad;hpb=5e6145a4260ffce1c302e94b9b241851f90838e1;p=csit.git diff --git a/tests/vpp/perf/l2/10ge2p1x710-avf-eth-l2bdbasemaclrn-ndrpdr.robot b/tests/vpp/perf/l2/10ge2p1x710-avf-eth-l2bdbasemaclrn-ndrpdr.robot index 9e84f1e1f9..f1cf436b8a 100644 --- a/tests/vpp/perf/l2/10ge2p1x710-avf-eth-l2bdbasemaclrn-ndrpdr.robot +++ b/tests/vpp/perf/l2/10ge2p1x710-avf-eth-l2bdbasemaclrn-ndrpdr.robot @@ -12,19 +12,15 @@ # limitations under the License. *** Settings *** -| Resource | resources/libraries/robot/performance/performance_setup.robot +| Resource | resources/libraries/robot/shared/default.robot | ... | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | ... | NIC_Intel-X710 | ETH | L2BDMACLRN | BASE | DRV_AVF | ... -| Suite Setup | Run Keywords -| ... | Set up SRIOV 3-node performance topology with DUT's NIC model -| ... | L2 | ${nic_name} | AVF -| ... | AND | Set up performance test suite with AVF driver -| Suite Teardown | Tear down 3-node performance topology -| ... -| Test Setup | Set up performance test -| Test Teardown | Tear down performance test +| Suite Setup | Setup suite single link | performance_avf +| Suite Teardown | Tear down suite | performance +| Test Setup | Setup test +| Test Teardown | Tear down test | performance | ... | Test Template | Local template | ... @@ -34,8 +30,8 @@ | ... | with single links between nodes. | ... | *[Enc] Packet Encapsulations:* Eth-IPv4 for L2 bridge-domain. | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with L2 bridge-\ -| ... | domain and MAC learning enabled. DUT1 and DUT2 tested with ${nic_name} -| ... | with VF enabled.\ +| ... | domain and MAC learning enabled. DUT1 and DUT2 tested with ${nic_name}\ +| ... | with VF enabled. | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop\ | ... | Rate) with zero packet loss tolerance and throughput PDR (Partial Drop\ | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage\ @@ -50,7 +46,11 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| @{plugins_to_enable}= | avf_plugin.so +| ${crypto_type}= | ${None} | ${nic_name}= | Intel-X710 +| ${nic_driver}= | avf +| ${osi_layer}= | L2 | ${overhead}= | ${0} # Traffic profile: | ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 @@ -71,12 +71,13 @@ | | ... | | Set Test Variable | \${frame_size} | | ... -| | Given Add worker threads and rxqueues to all DUTs | ${phy_cores} | ${rxq} -| | And Add DPDK no PCI to all DUTs -| | Set Max Rate And Jumbo -| | And Apply startup configuration on all VPP DUTs -| | When Initialize AVF interfaces -| | And Initialize L2 bridge domain in circular topology +| | Given Set Max Rate And Jumbo +| | And Add worker threads to all DUTs | ${phy_cores} | ${rxq} +| | And Pre-initialize layer driver | ${nic_driver} +| | And Apply Startup configuration on all VPP DUTs +| | When Initialize layer driver | ${nic_driver} +| | And Initialize layer interface +| | And Initialize L2 bridge domain | | Then Find NDR and PDR intervals using optimized search *** Test Cases *** @@ -104,6 +105,18 @@ | | [Tags] | 1518B | 4C | | frame_size=${1518} | phy_cores=${4} +| tc07-9000B-1c-avf-eth-l2bdbasemaclrn-ndrpdr +| | [Tags] | 9000B | 1C +| | frame_size=${9000} | phy_cores=${1} + +| tc08-9000B-2c-avf-eth-l2bdbasemaclrn-ndrpdr +| | [Tags] | 9000B | 2C +| | frame_size=${9000} | phy_cores=${2} + +| tc09-9000B-4c-avf-eth-l2bdbasemaclrn-ndrpdr +| | [Tags] | 9000B | 4C +| | frame_size=${9000} | phy_cores=${4} + | tc10-IMIX-1c-avf-eth-l2bdbasemaclrn-ndrpdr | | [Tags] | IMIX | 1C | | frame_size=IMIX_v4_1 | phy_cores=${1}