X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fvpp%2Fperf%2Fnfv_density%2Fvm_vhost%2Fchain_dot1qip4vxlan%2F2n-10ge2p1x710-dot1qip4vxlan-l2bd-1ch-2vh-1vm2t-testpmd-ndrpdr.robot;h=669726967560ea55662fa645ed7abfd49205cba2;hp=b6873823b29864dfa12f8d4326df3d23fef0bc28;hb=e916ab4db7dec2cc0bb21dcc31460f819d68b0d5;hpb=baa47eee42b9b1f5fd4d19f0d4549f3baeac8354 diff --git a/tests/vpp/perf/nfv_density/vm_vhost/chain_dot1qip4vxlan/2n-10ge2p1x710-dot1qip4vxlan-l2bd-1ch-2vh-1vm2t-testpmd-ndrpdr.robot b/tests/vpp/perf/nfv_density/vm_vhost/chain_dot1qip4vxlan/2n-10ge2p1x710-dot1qip4vxlan-l2bd-1ch-2vh-1vm2t-testpmd-ndrpdr.robot index b6873823b2..6697269675 100644 --- a/tests/vpp/perf/nfv_density/vm_vhost/chain_dot1qip4vxlan/2n-10ge2p1x710-dot1qip4vxlan-l2bd-1ch-2vh-1vm2t-testpmd-ndrpdr.robot +++ b/tests/vpp/perf/nfv_density/vm_vhost/chain_dot1qip4vxlan/2n-10ge2p1x710-dot1qip4vxlan-l2bd-1ch-2vh-1vm2t-testpmd-ndrpdr.robot @@ -13,22 +13,23 @@ *** Settings *** | Resource | resources/libraries/robot/shared/default.robot -| ... +| | Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | ... | NIC_Intel-X710 | L2BDMACLRN | ENCAP | VXLAN | L2OVRLAY | IP4UNRLAY | ... | VHOST | VM | VHOST_1024 | VXLAN | DOT1Q | NF_DENSITY | NF_TESTPMD -| ... | CHAIN | 1R1C | 1VM2T -| ... +| ... | CHAIN | 1R1C | 1VM2T | DRV_VFIO_PCI +| ... | dot1qip4vxlan-l2bd-1ch-2vh-1vm2t-testpmd +| | 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 Dot1Q and -| ... | VXLANoIPv4 and 2 vhosts 1 chain 1 VM* -| ... +| ... | VXLANoIPv4 with ${nf_chains} instances, ${nf_nodes} VMs per instance.* +| | ... | *[Top] Network Topologies:* TG-DUT1-TG 2-node circular topology\ | ... | with single links between nodes. | ... | *[Enc] Packet Encapsulations:* Dot1q-IPv4-UDP-VXLAN-Eth-IPv4 for L2\ @@ -53,8 +54,10 @@ *** Variables *** | @{plugins_to_enable}= | dpdk_plugin.so -| ${osi_layer}= | L3 +| ${crypto_type}= | ${None} | ${nic_name}= | Intel-X710 +| ${nic_driver}= | vfio-pci +| ${osi_layer}= | L3 | ${overhead}= | ${54} | ${nf_dtcr}= | ${1} | ${nf_dtc}= | ${1} @@ -70,25 +73,26 @@ | | ... | [Cfg] DUT runs Dot1Q-IP4-Vxlan 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 - Framesize in Bytes in integer or string (IMIX_v4_1). | | ... | Type: integer, string | | ... | - phy_cores - Number of worker threads to be used. Type: integer | | ... | - rxq - Number of Rx queues to be used. Type: integer -| | ... +| | | | [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 interface +| | When Initialize layer driver | ${nic_driver} +| | And Initialize layer interface | | ... | count=${nf_chains} | | And Initialize layer dot1q -| | ... | count=${nf_chains} | create=${False} +| | ... | count=${nf_chains} | vlan_per_chain=${False} | | And Initialize layer ip4vxlan | | ... | count=${nf_chains} | | And Initialize L2 bridge domains for multiple chains with Vhost-User