[V1] tests/TestSuite_veb_switch.py modify cores list, vf-vf switch case must contain core0
Commit Message
Signed-off-by: sunqin <qinx.sun@intel.com>
---
tests/TestSuite_veb_switch.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Subject format should be tests/veb_switch: xxxxxxxx
Why must contain core0, does dpdk require it?
> + 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)
Check firstly before use them, in case don't have enough resource.
@@ -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>")