X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fvpp%2Fperf%2Fvts%2F10ge2p1x710-ethip4vxlan-l2bdbasemaclrn-eth-iacldstbase-aclpermitreflect-2vhostvr1024-1vm-ndrpdr.robot;h=b3a29c8573a90cb2a42a5340fcbf6bd6dbacba8c;hp=5e9e72938620c1b79007deb668737c0b99fcc4fb;hb=d68951ac245150eeefa6e0f4156e4c1b5c9e9325;hpb=c58cba70baa74588619018a2e8b461592bff1bf4 diff --git a/tests/vpp/perf/vts/10ge2p1x710-ethip4vxlan-l2bdbasemaclrn-eth-iacldstbase-aclpermitreflect-2vhostvr1024-1vm-ndrpdr.robot b/tests/vpp/perf/vts/10ge2p1x710-ethip4vxlan-l2bdbasemaclrn-eth-iacldstbase-aclpermitreflect-2vhostvr1024-1vm-ndrpdr.robot index 5e9e729386..b3a29c8573 100644 --- a/tests/vpp/perf/vts/10ge2p1x710-ethip4vxlan-l2bdbasemaclrn-eth-iacldstbase-aclpermitreflect-2vhostvr1024-1vm-ndrpdr.robot +++ b/tests/vpp/perf/vts/10ge2p1x710-ethip4vxlan-l2bdbasemaclrn-eth-iacldstbase-aclpermitreflect-2vhostvr1024-1vm-ndrpdr.robot @@ -13,21 +13,21 @@ *** Settings *** | Resource | resources/libraries/robot/shared/default.robot -| ... +| | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | ... | NIC_Intel-X710 | L2BDMACLRN | ENCAP | VXLAN | L2OVRLAY | IP4UNRLAY -| ... | VHOST | VM | VHOST_1024 | VTS | ACL_PERMIT_REFLECT -| ... +| ... | VHOST | VM | VHOST_1024 | VTS | ACL_PERMIT_REFLECT | DRV_VFIO_PCI +| | Suite Setup | Setup suite single link | performance | Suite Teardown | Tear down suite | performance | Test Setup | Setup test | Test Teardown | Tear down test | performance | vhost -| ... +| | Test Template | Local Template -| ... +| | Documentation | *RFC2544: Packet throughput L2BD test cases with VXLANoIPv4 | ... | and vhost* -| ... +| | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology | ... | with single links between nodes. | ... | *[Enc] Packet Encapsulations:* Eth-IPv4 for L2 switching of IPv4. @@ -52,8 +52,10 @@ *** Variables *** | @{plugins_to_enable}= | dpdk_plugin.so | acl_plugin.so -| ${osi_layer}= | L3 +| ${crypto_type}= | ${None} | ${nic_name}= | Intel-X710 +| ${nic_driver}= | vfio-pci +| ${osi_layer}= | L3 | ${overhead}= | ${50} | ${nf_dtcr}= | ${1} | ${nf_dtc}= | ${1} @@ -73,26 +75,27 @@ | | ... | [Cfg] DUT runs L2BD switching config. | | ... | Each DUT uses ${phy_cores} physical core(s) for worker threads. | | ... | [Ver] Measure NDR and PDR values using MLRsearch algorithm.\ -| | ... +| | | | ... | *Arguments:* | | ... | - frame_size - L2 Frame Size [B]. Type: integer | | ... | - phy_cores - Number of worker threads to be used. Type: integer | | ... | - rxq - Number of Rx queues to be used. Type: integer | | ... | - acl_type - FIXME. -| | ... +| | | | [Arguments] | ${frame_size} | ${phy_cores} | ${rxq}=${None} -| | ... +| | | | Set Test Variable | \${frame_size} -| | ... -| | Given Add worker threads and rxqueues to all DUTs | ${phy_cores} | ${rxq} -| | And Add PCI devices to all DUTs -| | And Set Max Rate And Jumbo And Handle Multi Seg +| | +| | 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 | | &{vxlan1} = | Create Dictionary | vni=0 | vtep=172.17.0.2 | | &{vxlan2} = | Create Dictionary | vni=0 | vtep=172.27.0.2 | | @{dut1_vxlans} = | Create List | ${vxlan1} | | @{dut2_vxlans} = | Create List | ${vxlan2} -| | Set interfaces in path up | | When Init L2 bridge domains with single DUT with Vhost-User and VXLANoIPv4 in 3-node circular topology | | ... | 172.16.0.1 | 16 | 172.26.0.1 | 16 | 172.16.0.2 | 172.26.0.2 | | ... | ${dut1_vxlans} | ${dut2_vxlans} | 172.17.0.0 | 16 | 172.27.0.0 | 16