[dts] [PATCH V1] tests/virtio_user_as_exceptional_path:fix eal_params

Xie Wei weix.xie at intel.com
Thu Mar 12 10:34:39 CET 2020


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

diff --git a/tests/TestSuite_virtio_user_as_exceptional_path.py b/tests/TestSuite_virtio_user_as_exceptional_path.py
index c1af852..edcc963 100644
--- a/tests/TestSuite_virtio_user_as_exceptional_path.py
+++ b/tests/TestSuite_virtio_user_as_exceptional_path.py
@@ -114,7 +114,7 @@ class TestVirtioUserAsExceptionalPath(TestCase):
         core_mask = cores_list[0:2]
         testcmd = self.target + "/app/testpmd "
         vdev = "--vdev=virtio_user0,mac=%s,path=/dev/vhost-net," % self.virtio_mac
-        eal_params = self.dut.create_eal_parameters(cores=core_mask, ports=[self.pci0])
+        eal_params = self.dut.create_eal_parameters(cores=core_mask, ports=[self.pci])
         para = " queue_size=1024,queues=%s -- -i --rxd=1024 --txd=1024 %s" % (self.queue, comment)
         self.testcmd_start = testcmd + eal_params + vdev + para
         self.vhost_user = self.dut.new_session(suite="user")
-- 
2.17.2



More information about the dts mailing list