[dts][PATCH V1 3/5] tests/dpdk_gso_lib: delete restore VM's interface step

Wei Ling weix.ling at intel.com
Wed Jun 22 08:30:19 CEST 2022


In framework/virt_base.py, the start VMs method bind_dev default is
True, when bind_dev=True, VMs will bind the VM's interfacet to kernel
driver, so no need to restore VM's interface step now.

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

diff --git a/tests/TestSuite_dpdk_gso_lib.py b/tests/TestSuite_dpdk_gso_lib.py
index ee71bcd6..f93b0a74 100644
--- a/tests/TestSuite_dpdk_gso_lib.py
+++ b/tests/TestSuite_dpdk_gso_lib.py
@@ -256,7 +256,6 @@ class TestDPDKGsoLib(TestCase):
                 raise Exception("Set up VM ENV failed")
         except Exception as e:
             print((utils.RED("Failure for %s" % str(e))))
-        self.vm1_dut.restore_interfaces()
 
     def iperf_result_verify(self, vm_client):
         """
-- 
2.25.1



More information about the dts mailing list