X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fvpp%2Fperf%2Fvts%2F10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-iacldstbase-aclpermitreflect-2vhostvr1024-1vm-mrr.robot;h=67ac44b9f72decf6586708d57c027d3447959b89;hp=ff476a49aa417b2d0337557b9325221a2385071d;hb=85eaed551e088d0a3f3dd71febc361acecc17add;hpb=298d0a61d75cded31fc0f09d408e7b3e3f9ee4f7 diff --git a/tests/vpp/perf/vts/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-iacldstbase-aclpermitreflect-2vhostvr1024-1vm-mrr.robot b/tests/vpp/perf/vts/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-iacldstbase-aclpermitreflect-2vhostvr1024-1vm-mrr.robot index ff476a49aa..67ac44b9f7 100644 --- a/tests/vpp/perf/vts/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-iacldstbase-aclpermitreflect-2vhostvr1024-1vm-mrr.robot +++ b/tests/vpp/perf/vts/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-iacldstbase-aclpermitreflect-2vhostvr1024-1vm-mrr.robot @@ -13,7 +13,6 @@ *** Settings *** | Resource | resources/libraries/robot/performance/performance_setup.robot -| Library | resources.libraries.python.QemuUtils | ... | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | MRR | ... | NIC_Intel-X520-DA2 | L2BDMACLRN | ENCAP | VXLAN | L2OVRLAY | IP4UNRLAY @@ -56,7 +55,6 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544, RFC7348. *** Variables *** -| ${perf_qemu_qsz}= | 1024 # X520-DA2 bandwidth limit | ${s_limit}= | ${10000000000} | ${overhead}= | ${50} @@ -64,12 +62,14 @@ | ${dut1_bd_id1}= | 1 | ${dut1_bd_id2}= | 2 | ${dut2_bd_id1}= | 1 -| ${sock1}= | /tmp/sock-1-${dut1_bd_id1} -| ${sock2}= | /tmp/sock-1-${dut1_bd_id2} +| ${sock1}= | /var/run/vpp/sock-1-${dut1_bd_id1} +| ${sock2}= | /var/run/vpp/sock-1-${dut1_bd_id2} # Traffic profile: -| ${traffic_profile} | trex-sl-ethip4-vxlansrc253 - +| ${traffic_profile}= | trex-sl-ethip4-vxlansrc253 | ${acl_type}= | permit+reflect +# Defaults for teardown: +| ${dut1}= | ${None} +| ${dut1_vm_refs}= | ${None} *** Keywords *** | Local Template @@ -96,7 +96,7 @@ | | &{vxlan2} = | Create Dictionary | vni=24 | vtep=172.27.0.2 | | @{dut1_vxlans} = | Create List | ${vxlan1} | | @{dut2_vxlans} = | Create List | ${vxlan2} -| | Set interfaces in path in 3-node circular topology up +| | Set interfaces in path up | | Configure vhost interfaces for L2BD forwarding | ${dut1} | | ... | ${sock1} | ${sock2} | | When Init L2 bridge domains with single DUT with Vhost-User and VXLANoIPv4 in 3-node circular topology @@ -106,9 +106,12 @@ | | Run Keyword If | '${acl_type}' != '${EMPTY}' | | ... | Configure ACLs on a single interface | ${dut1} | ${dut1_if2} | input | | ... | ${acl_type} | @{permit_list} +| | ${nf_cpus}= | Create network function CPU list | DUT1 +| | ... | chains=${1} | nodeness=${1} | chain_id=${1} +| | ... | node_id=${1} | auto_scale=${True} | | ${vm1} = | And Configure guest VM with dpdk-testpmd connected via vhost-user -| | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1 -| | ... | jumbo_frames=${jumbo} +| | ... | DUT1 | ${sock1} | ${sock2} | DUT1_VM1 | ${nf_cpus} +| | ... | jumbo=${jumbo} | perf_qemu_qsz=${1024} | use_tuned_cfs=${False} | | Set Test Variable | &{dut1_vm_refs} | DUT1_VM1=${vm1} | | Then Traffic should pass with maximum rate | | ... | ${max_rate}pps | ${framesize} | ${traffic_profile}