[dts] [PATCH V1 1/3] tests/vhost_user_interrupt: delete invalid parameter

Ling Wei weix.ling at intel.com
Mon Mar 29 04:25:39 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_vhost_user_interrupt.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_vhost_user_interrupt.py b/tests/TestSuite_vhost_user_interrupt.py
index 53f407fa..296d2283 100644
--- a/tests/TestSuite_vhost_user_interrupt.py
+++ b/tests/TestSuite_vhost_user_interrupt.py
@@ -177,7 +177,7 @@ class TestVhostUserInterrupt(TestCase):
             eal_params = self.dut.create_eal_parameters(cores=self.core_list_l3fwd, ports=self.cbdma_dev_infos[0:4], vdevs=[vdev])
         else:
             vdev = 'net_vhost0,iface=vhost-net,queues=%d,client=1' % self.queues
-            eal_params = self.dut.create_eal_parameters(cores=self.core_list_l3fwd, no_pci=True, ports=[self.pci_info], vdevs=[vdev])
+            eal_params = self.dut.create_eal_parameters(cores=self.core_list_l3fwd, no_pci=True, vdevs=[vdev])
         para = " -- -p 0x1 --parse-ptype 1 --config '%s' --interrupt-only" % config_info
         command_line_client = example_cmd + eal_params + para
         self.vhost.get_session_before(timeout=2)
-- 
2.25.1



More information about the dts mailing list