[dts] [PATCH V1] tests/vf_vlan : enable hw vlan,filter and strip
zhao,meijuan
meijuanx.zhao at intel.com
Fri Feb 2 03:59:48 CET 2018
need enable hw vlan,filter and vlan
you can refer to dpdk commit 8b9bd0ef
Signed-off-by: zhao,meijuan <meijuanx.zhao at intel.com>
---
tests/TestSuite_vf_vlan.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_vf_vlan.py b/tests/TestSuite_vf_vlan.py
index c0b26a3..fea0243 100644
--- a/tests/TestSuite_vf_vlan.py
+++ b/tests/TestSuite_vf_vlan.py
@@ -374,9 +374,9 @@ class TestVfVlan(TestCase):
self.vm0_testpmd = PmdOutput(self.vm_dut_0)
if self.kdriver == "i40e":
- self.vm0_testpmd.start_testpmd(VM_CORES_MASK, '')
+ self.vm0_testpmd.start_testpmd(VM_CORES_MASK, ' --enable-hw-vlan --enable-hw-vlan-filter --enable-hw-vlan-strip')
else:
- self.vm0_testpmd.start_testpmd(VM_CORES_MASK)
+ self.vm0_testpmd.start_testpmd(VM_CORES_MASK, ' --enable-hw-vlan --enable-hw-vlan-filter --enable-hw-vlan-strip')
self.vm0_testpmd.execute_cmd('set fwd rxonly')
self.vm0_testpmd.execute_cmd('set verbose 1')
self.vm0_testpmd.execute_cmd('start')
--
1.9.3
More information about the dts
mailing list