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-aclpermit-2vhostvr1024-1vm-ndrpdr.robot;h=583d5b8a6e9d35e6b0f4f3cd9a40b6aca3ec5bb1;hp=8eaefad5a71c5ba65a9509819035c2116bc41143;hb=88e6c1f979f530397a0743e4300d42faf9b538f5;hpb=cdf557ef070d004617ede4fc5a47dd6064d1c946 diff --git a/tests/vpp/perf/vts/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-iacldstbase-aclpermit-2vhostvr1024-1vm-ndrpdr.robot b/tests/vpp/perf/vts/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-iacldstbase-aclpermit-2vhostvr1024-1vm-ndrpdr.robot index 8eaefad5a7..583d5b8a6e 100644 --- a/tests/vpp/perf/vts/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-iacldstbase-aclpermit-2vhostvr1024-1vm-ndrpdr.robot +++ b/tests/vpp/perf/vts/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-iacldstbase-aclpermit-2vhostvr1024-1vm-ndrpdr.robot @@ -61,7 +61,6 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544, RFC7348. *** Variables *** -| ${perf_qemu_qsz}= | 1024 # X520-DA2 bandwidth limit | ${s_limit}= | ${10000000000} | ${overhead}= | ${50} @@ -72,10 +71,12 @@ | ${sock1}= | /tmp/sock-1-${dut1_bd_id1} | ${sock2}= | /tmp/sock-1-${dut1_bd_id2} # Traffic profile: -| ${traffic_profile} | trex-sl-ethip4-vxlansrc253 +| ${traffic_profile}= | trex-sl-ethip4-vxlansrc253 | ${min_rate}= | ${10000} - | ${acl_type}= | permit +# Defaults for teardown: +| ${dut1}= | ${None} +| ${dut1_vm_refs}= | ${None} *** Keywords *** | Local Template @@ -113,9 +114,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 Find NDR and PDR intervals using optimized search | | ... | ${framesize} | ${traffic_profile} | ${min_rate} | ${max_rate}