X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fvpp%2Fperf%2Fnfv_density%2Fdcr_memif%2Fpipeline%2F2n-10ge2p1x710-eth-l2bd-4pl-8mif-8dcr1t-vppip4-ndrpdr.robot;h=bf8788587c9cab1daa8e5c21215953c8650c3468;hb=fcc77752111a4fbe8caa341cf5249efbad305a2a;hp=9d875c558b6ec70b0d5aeb3d0176b2dd99fa671d;hpb=6871d4e7f6ed43ce0bb003cb08e88b2581a474eb;p=csit.git diff --git a/tests/vpp/perf/nfv_density/dcr_memif/pipeline/2n-10ge2p1x710-eth-l2bd-4pl-8mif-8dcr1t-vppip4-ndrpdr.robot b/tests/vpp/perf/nfv_density/dcr_memif/pipeline/2n-10ge2p1x710-eth-l2bd-4pl-8mif-8dcr1t-vppip4-ndrpdr.robot index 9d875c558b..bf8788587c 100644 --- a/tests/vpp/perf/nfv_density/dcr_memif/pipeline/2n-10ge2p1x710-eth-l2bd-4pl-8mif-8dcr1t-vppip4-ndrpdr.robot +++ b/tests/vpp/perf/nfv_density/dcr_memif/pipeline/2n-10ge2p1x710-eth-l2bd-4pl-8mif-8dcr1t-vppip4-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 | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | ... | NIC_Intel-X710 | ETH | L2BDMACLRN | BASE | MEMIF | DOCKER | 4R2C | ... | NF_DENSITY | PIPELINE | NF_VPPIP4 | 8DCR1T | ... -| Suite Setup | Run Keywords -| ... | Set up 2-node performance topology with DUT's NIC model | L3 -| ... | ${nic_name} -| ... | AND | Set up performance test suite with MEMIF +| Suite Setup | Setup suite single link | performance | Suite Teardown | Tear down suite | performance -| ... -| Test Setup | Set up performance test +| Test Setup | Setup test | Test Teardown | Tear down test | performance | container | ... | Test Template | Local Template @@ -53,10 +49,15 @@ | ... | addresses of the TG node interfaces. *** Variables *** +| @{plugins_to_enable}= | dpdk_plugin.so | memif_plugin.so +| ${osi_layer}= | L3 | ${nic_name}= | Intel-X710 +| ${nic_driver}= | vfio-pci | ${overhead}= | ${0} | ${nf_dtcr}= | ${2} | ${nf_dtc}= | ${0.5} +| ${nf_chains}= | ${4} +| ${nf_nodes}= | ${2} # Traffic profile: | ${traffic_profile}= | trex-sl-2n3n-ethip4-ip4src254-4c2n # Container @@ -82,12 +83,15 @@ | | ... | | Given Add worker threads and rxqueues to all DUTs | ${phy_cores} | ${rxq} | | And Add PCI devices to all DUTs -| | Set Max Rate And Jumbo And Handle Multi Seg +| | And Set Max Rate And Jumbo And Handle Multi Seg | | And Apply startup configuration on all VPP DUTs -| | And Set up performance test with containers -| | ... | nf_chains=${4} | nf_nodes=${2} | auto_scale=${False} +| | When Initialize layer driver | ${nic_driver} +| | And Initialize layer interface +| | ... | count=${nf_chains} +| | And Start containers for test +| | ... | nf_chains=${nf_chains} | nf_nodes=${nf_nodes} | auto_scale=${False} | | And Initialize L2 Bridge Domain for multiple pipelines with memif pairs -| | ... | nf_chains=${4} | nf_nodes=${2} | auto_scale=${False} +| | ... | nf_chains=${nf_chains} | nf_nodes=${nf_nodes} | auto_scale=${False} | | Then Find NDR and PDR intervals using optimized search *** Test Cases ***