X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fvpp%2Fdevice%2Finterfaces%2Feth2p-ethicmpv4-ip4base-eth-1tap-namespace-dev.robot;h=74f8c3767fb05c9da3b45fbb779c2648aa95d0b5;hp=b0cacd1f24662cb5bbf0df3b49e53e3fc0dd4374;hb=d68951ac245150eeefa6e0f4156e4c1b5c9e9325;hpb=d2a7114de8c307c152b119d2c153e1d75df78b65 diff --git a/tests/vpp/device/interfaces/eth2p-ethicmpv4-ip4base-eth-1tap-namespace-dev.robot b/tests/vpp/device/interfaces/eth2p-ethicmpv4-ip4base-eth-1tap-namespace-dev.robot index b0cacd1f24..74f8c3767f 100644 --- a/tests/vpp/device/interfaces/eth2p-ethicmpv4-ip4base-eth-1tap-namespace-dev.robot +++ b/tests/vpp/device/interfaces/eth2p-ethicmpv4-ip4base-eth-1tap-namespace-dev.robot @@ -13,16 +13,17 @@ *** Settings *** | Resource | resources/libraries/robot/shared/default.robot -| ... +| | Force Tags | 2_NODE_SINGLE_LINK_TOPO | DEVICETEST | HW_ENV | DCR_ENV | SCAPY | ... | NIC_Virtual | ETH | IP4FWD | BASE | IP4BASE | 1TAP | NAMESPACE -| ... +| ... | DRV_VFIO_PCI +| | Suite Setup | Setup suite single link | scapy | Test Setup | Setup test | namespace | Test Teardown | Tear down test | packet_trace | namespace -| ... +| | Test Template | Local Template -| ... +| | Documentation | *Tap Interface Traffic Tests* | ... | *[Top] Network Topologies:* TG=DUT1 2-node topology with two links | ... | between nodes. @@ -39,7 +40,9 @@ *** Variables *** | @{plugins_to_enable}= | dpdk_plugin.so +| ${crypto_type}= | ${None} | ${nic_name}= | virtual +| ${nic_driver}= | vfio-pci | ${overhead}= | ${0} | ${tap1_VPP_ip}= | 16.0.10.1 | ${tap1_NM_ip}= | 16.0.10.2 @@ -57,21 +60,22 @@ | | ... | namespace. | | ... | [Ver] Packet sent from TG gets to the destination and ICMP-reply is\ | | ... | received on TG. -| | ... +| | | | ... | *Arguments:* | | ... | - frame_size - Framesize in Bytes in integer. Type: integer | | ... | - phy_cores - Number of physical cores. Type: integer | | ... | - rxq - Number of RX queues, default value: ${None}. 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 | with_trace=${True} -| | When Set interfaces in path up +| | When Initialize layer driver | ${nic_driver} +| | And Initialize layer interface | | ${int1}= | And Add Tap Interface | ${dut1} | tap0 | | And VPP Interface Set IP Address | | ... | ${dut1} | ${int1} | ${tap1_VPP_ip} | ${prefix} @@ -95,6 +99,6 @@ | | ... | ${tap1_NM_ip} | ${tg_ip_address} *** Test Cases *** -| tc01-64B-eth2p-ethicmpv4-ip4base-eth-1tap-namespace-dev +| tc01-64B-ethicmpv4-ip4base-eth-1tap-namespace-dev | | [Tags] | 64B | | frame_size=${64} | phy_cores=${0}