[dts] [PATCH V3] add vlan filter for kernelpf_iavf/test_vf_vlan_strip

Xiaoxiao Zeng xiaoxiaox.zeng at intel.com
Tue Dec 10 20:58:44 CET 2019


*.fix DPDK bug 16612 for cvl.

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

diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py
index 668eb28..3995238 100644
--- a/tests/TestSuite_kernelpf_iavf.py
+++ b/tests/TestSuite_kernelpf_iavf.py
@@ -510,6 +510,9 @@ class TestKernelpfIavf(TestCase):
 
         # disable strip
         self.vm_testpmd.execute_cmd("vlan set strip off 0")
+        if self.nic.startswith('columbiaville'):
+            self.vm_testpmd.execute_cmd("vlan set filter on 0")
+            self.vm_testpmd.execute_cmd("rx_vlan add %d 0" % random_vlan)
         self.start_tcpdump(self.tester_intf)
         out = self.send_and_getout(vlan=random_vlan, pkt_type="VLAN_UDP")
         tcpdump_out = self.get_tcpdump_package()
-- 
2.17.0



More information about the dts mailing list