X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=tests%2Fvpp%2Fdevice%2Fip6%2Feth2p-ethip6-ip6base-ipolicemarkbase-dev.robot;h=dc2e7dbfc2a0a1abed90783a9f17d1ab7314d643;hb=7c923c6a4b2b16b31fbe9d72f83135b7616c06a1;hp=73abe62cb7369bb7526b724a9ef4c6a38363e5b6;hpb=7b73d46872db5adfc8f4603a9ca783be7d3fa323;p=csit.git diff --git a/tests/vpp/device/ip6/eth2p-ethip6-ip6base-ipolicemarkbase-dev.robot b/tests/vpp/device/ip6/eth2p-ethip6-ip6base-ipolicemarkbase-dev.robot index 73abe62cb7..dc2e7dbfc2 100644 --- a/tests/vpp/device/ip6/eth2p-ethip6-ip6base-ipolicemarkbase-dev.robot +++ b/tests/vpp/device/ip6/eth2p-ethip6-ip6base-ipolicemarkbase-dev.robot @@ -15,7 +15,7 @@ | Resource | resources/libraries/robot/shared/default.robot | ... | Force Tags | 2_NODE_SINGLE_LINK_TOPO | DEVICETEST | HW_ENV | DCR_ENV | SCAPY -| ... | NIC_Virtual | ETH | IP6FWD | FEATURE | POLICE_MARK +| ... | NIC_Virtual | ETH | IP6FWD | FEATURE | POLICE_MARK | DRV_VFIO_PCI | ... | Suite Setup | Setup suite single link | scapy | Test Setup | Setup test @@ -37,7 +37,9 @@ *** Variables *** | @{plugins_to_enable}= | dpdk_plugin.so +| ${crypto_type}= | ${None} | ${nic_name}= | virtual +| ${nic_driver}= | vfio-pci | ${overhead}= | ${0} | ${cir}= | ${100} | ${eir}= | ${150} @@ -60,20 +62,17 @@ | | Set Test Variable | \${cb} | ${frame_size} | | Set Test Variable | \${eb} | ${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 Initialize IPv6 forwarding in circular topology +| | When Initialize layer driver | ${nic_driver} +| | And Initialize layer interface +| | And Initialize IPv6 forwarding in circular topology | | And Initialize IPv6 policer 2r3c-'ca' in circular topology | | Then Send packet and verify marking | | ... | ${tg} | ${tg_if1} | ${tg_if2} | ${tg_if1_mac} | ${dut1_if1_mac} | | ... | 2001:1::2 | 2001:2::2 -# TODO: Add check of number of hits of the classify session after traffic -# Until there is implemented check of number of hits of the classify session -# after passing the traffic log the show classify tables verbose to allow visual -# check of hit number when needed. -| | And Show Classify Tables Verbose | ${dut1} *** Test Cases *** | tc01-78B-ethip6-ip6base-ipolicemarkbase-dev