[dts][PATCH V1] tests/vm2vm_virtio_net_perf: delete restore dut interface step

Wei Ling weix.ling at intel.com
Wed Jun 22 08:11:52 CEST 2022


When start vhost side testpmd with no_pci=True, so no need to restore
dut interface now, and delete cbdma related code.

Signed-off-by: Wei Ling <weix.ling at intel.com>
---
 tests/TestSuite_vm2vm_virtio_net_perf.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tests/TestSuite_vm2vm_virtio_net_perf.py b/tests/TestSuite_vm2vm_virtio_net_perf.py
index 9356100f..ec659519 100644
--- a/tests/TestSuite_vm2vm_virtio_net_perf.py
+++ b/tests/TestSuite_vm2vm_virtio_net_perf.py
@@ -45,7 +45,6 @@ class TestVM2VMVirtioNetPerf(TestCase):
         self.pmd_vhost = PmdOutput(self.dut, self.vhost)
         self.app_testpmd_path = self.dut.apps_name["test-pmd"]
         self.checked_vm = False
-        self.dut.restore_interfaces()
 
     def set_up(self):
         """
@@ -175,7 +174,6 @@ class TestVM2VMVirtioNetPerf(TestCase):
 
     def prepare_test_env(
         self,
-        cbdma=False,
         no_pci=True,
         client_mode=False,
         enable_queues=1,
@@ -184,7 +182,6 @@ class TestVM2VMVirtioNetPerf(TestCase):
         opt_queue=None,
         combined=False,
         rxq_txq=None,
-        iova_mode="",
     ):
         """
         start vhost testpmd and qemu, and config the vm env
-- 
2.25.1



More information about the dts mailing list