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

Message ID 20220622061152.1588586-1-weix.ling@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/vm2vm_virtio_net_perf: delete restore dut interface step |

Checks

Context Check Description
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-suite-test fail Testing issues

Commit Message

Ling, WeiX June 22, 2022, 6:11 a.m. UTC
  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@intel.com>
---
 tests/TestSuite_vm2vm_virtio_net_perf.py | 3 ---
 1 file changed, 3 deletions(-)
  

Comments

Tu, Lijuan June 29, 2022, 1:29 a.m. UTC | #1
On Wed, 22 Jun 2022 02:11:52 -0400, Wei Ling <weix.ling@intel.com> wrote:
> 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@intel.com>


Applied, thanks
  

Patch

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