[dts] [PATCH V4] tests/kernelpf_iavf:add vlan filter for CVL on case test_vf_vlan_strip
Ma, LihongX
lihongx.ma at intel.com
Fri Dec 13 03:48:15 CET 2019
Reviewed-by: ma,lihong<lihongx.ma at intel.com>
-----Original Message-----
From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Peng, ZhihongX
Sent: Wednesday, December 11, 2019 3:57 PM
To: Zeng, XiaoxiaoX <xiaoxiaox.zeng at intel.com>; dts at dpdk.org
Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng at intel.com>
Subject: Re: [dts] [PATCH V4] tests/kernelpf_iavf:add vlan filter for CVL on case test_vf_vlan_strip
Tested-by: Peng,ZhihongX <zhihongx.peng at intel.com>
-----Original Message-----
From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Xiaoxiao Zeng
Sent: Thursday, December 12, 2019 3:43 AM
To: dts at dpdk.org
Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng at intel.com>
Subject: [dts] [PATCH V4] tests/kernelpf_iavf:add vlan filter for CVL on case test_vf_vlan_strip
*.As FW/HW problem which caused older FW works and newer FW not work,need to add 'vlan set filter' in testpmd to pass this case.
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