[dts] [PATCH V2] tests/virtio_user_as_exceptional_path:fix eal_parameters

Xie Wei weix.xie at intel.com
Fri Mar 13 03:45:30 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..470e0de 100644
--- a/tests/TestSuite_virtio_user_as_exceptional_path.py
+++ b/tests/TestSuite_virtio_user_as_exceptional_path.py
@@ -129,7 +129,7 @@ class TestVirtioUserAsExceptionalPath(TestCase):
     def launch_testpmd_exception_path(self):
         testcmd = self.target + "/app/testpmd "
         vdev = "--vdev=virtio_user0,mac=%s,path=/dev/vhost-net,queue_size=1024" % self.virtio_mac
-        eal_params = self.dut.create_eal_parameters(cores=self.cores, ports=[self.pci0])
+        eal_params = self.dut.create_eal_parameters(cores=self.cores, ports=[self.pci])
         para = " -- -i --rxd=1024 --txd=1024"
         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