diff mbox series

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

Message ID 20220622063019.1589075-1-weix.ling@intel.com (mailing list archive)
State Accepted
Headers show
Series delete restore VM's interface step | expand

Commit Message

Ling, WeiX June 22, 2022, 6:30 a.m. UTC
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@intel.com>
---
 tests/TestSuite_dpdk_gso_lib.py | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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):
         """