[dts] [PATCH V1] tests/TestSuite_veb_switch.py modify cores list, vf-vf switch case must contain core0

sunqin qinx.sun at intel.com
Tue Oct 20 10:11:10 CEST 2020


Signed-off-by: sunqin <qinx.sun at intel.com>
---
 tests/TestSuite_veb_switch.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_veb_switch.py b/tests/TestSuite_veb_switch.py
index f51a8d3..62aac72 100644
--- a/tests/TestSuite_veb_switch.py
+++ b/tests/TestSuite_veb_switch.py
@@ -239,7 +239,7 @@ class TestVEBSwitching(TestCase):
         the packets. Check Inter VF-VF MAC switch.
         """
         self.setup_env(driver='default')
-        self.pmdout.start_testpmd("Default", prefix="test1", ports=[self.sriov_vfs_port[0].pci], param="--eth-peer=0,%s" % self.vf1_mac)
+        self.pmdout.start_testpmd([0,1,2,3], prefix="test1", ports=[self.sriov_vfs_port[0].pci], param="--eth-peer=0,%s" % self.vf1_mac)
         self.dut.send_expect("set fwd txonly", "testpmd>")
         self.dut.send_expect("set promisc all off", "testpmd>")
 
-- 
2.25.1



More information about the dts mailing list