[dts] [PATCH V1] tests/kernelpf_iavf:vlan_insertion add filter on and rx_vlan

Zeng Xiaoxiao xiaoxiaox.zeng at intel.com
Thu Feb 20 03:27:44 CET 2020


Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng at intel.com>
---
 tests/TestSuite_kernelpf_iavf.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py
index 578b9cc..63cd8e9 100644
--- a/tests/TestSuite_kernelpf_iavf.py
+++ b/tests/TestSuite_kernelpf_iavf.py
@@ -491,6 +491,8 @@ class TestKernelpfIavf(TestCase):
         self.vm_testpmd.execute_cmd("vlan set strip off 0")
         self.vm_testpmd.execute_cmd("port stop all")
         self.vm_testpmd.execute_cmd("tx_vlan set 0 %s" % random_vlan)
+        self.vm_testpmd.execute_cmd("vlan set filter on 0")
+        self.vm_testpmd.execute_cmd("rx_vlan add %s 0" % random_vlan)
         self.vm_testpmd.execute_cmd("port start all")
         self.vm_testpmd.execute_cmd("set fwd mac")
         self.vm_testpmd.execute_cmd("set verbose 1")
-- 
1.8.3.1



More information about the dts mailing list