[dts] [PATCH V1] tests/vf kernel : change fwd function for testpmd
zhao,meijuan
meijuanx.zhao at intel.com
Fri Dec 21 09:21:31 CET 2018
change testpmd fwd function to get dut's session output
Signed-off-by: zhao,meijuan <meijuanx.zhao at intel.com>
---
tests/TestSuite_vf_kernel.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/TestSuite_vf_kernel.py b/tests/TestSuite_vf_kernel.py
index a46a07b..a720738 100644
--- a/tests/TestSuite_vf_kernel.py
+++ b/tests/TestSuite_vf_kernel.py
@@ -577,6 +577,8 @@ class TestVfKernel(TestCase):
# Start DPDK PF, enable promisc mode, set rxonly forwarding
self.dut_testpmd.execute_cmd('stop')
self.dut_testpmd.execute_cmd('set promisc all on')
+ self.dut_testpmd.execute_cmd('set fwd rxonly')
+ self.dut_testpmd.execute_cmd('set verbose 1')
self.dut_testpmd.execute_cmd('start')
self.verify(self.check_pf_vf_link_status(
self.vm0_dut, self.vm0_intf0), "VM0_VF0 link down")
--
2.17.2
More information about the dts
mailing list