[dts] [PATCH V1 2/3] tests/vm2vm_virtio_pmd: delete invalid parameter

Ling Wei weix.ling at intel.com
Mon Mar 29 04:25:49 CEST 2021


Delete invalid parameter 'ports=[self.pci_info]' because of
use 'no_pci=True' means not use any pci.

Signed-off-by: Ling Wei <weix.ling at intel.com>
---
 tests/TestSuite_vm2vm_virtio_pmd.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_vm2vm_virtio_pmd.py b/tests/TestSuite_vm2vm_virtio_pmd.py
index 9cb51a8d..67e23666 100644
--- a/tests/TestSuite_vm2vm_virtio_pmd.py
+++ b/tests/TestSuite_vm2vm_virtio_pmd.py
@@ -93,7 +93,7 @@ class TestVM2VMVirtioPMD(TestCase):
         testcmd = self.app_testpmd_path + " "
         vdev1 = "--vdev 'net_vhost0,iface=%s/vhost-net0,queues=1' " % self.base_dir
         vdev2 = "--vdev 'net_vhost1,iface=%s/vhost-net1,queues=1' " % self.base_dir
-        eal_params = self.dut.create_eal_parameters(cores=vhost_mask, no_pci=True, prefix='vhost', ports=[self.pci_info])
+        eal_params = self.dut.create_eal_parameters(cores=vhost_mask, no_pci=True, prefix='vhost')
         para = " -- -i --nb-cores=1 --txd=1024 --rxd=1024"
         self.command_line = testcmd + eal_params + vdev1 + vdev2 + para
         self.vhost_user.send_expect(self.command_line, "testpmd> ", 30)
-- 
2.25.1



More information about the dts mailing list