[dts] [PATCH] tests vf_vlan: reverse rx vlan remove command

pengyuan yuan.peng at intel.com
Thu Jun 2 05:30:48 CEST 2016


Signed-off-by: pengyuan <yuan.peng at intel.com>

diff --git a/tests/TestSuite_vf_vlan.py b/tests/TestSuite_vf_vlan.py
index 0a0dbe1..7d1ec73 100644
--- a/tests/TestSuite_vf_vlan.py
+++ b/tests/TestSuite_vf_vlan.py
@@ -319,7 +319,7 @@ class TestVfVlan(TestCase):
                 "received 1 packets" not in out, "Received filtered vlan packet!!!")
 
         for rx_vlan in rx_vlans:
-            self.vm0_testpmd.execute_cmd('rx_vlan rm 0 %d' % rx_vlan)
+            self.vm0_testpmd.execute_cmd('rx_vlan rm %d 0' % rx_vlan)
 
         # send packet with vlan 0
         out = self.send_and_getout(vlan=0, pkt_type="VLAN_UDP")
-- 
2.5.0



More information about the dts mailing list