[dts][PATCH V1] tests/vhost_pmd_xstats: delete unbind dut port steps

Wei Ling weix.ling at intel.com
Thu Jun 2 04:31:16 CEST 2022


Currently, this suite start vhost testpmd with ports parameter,and start 
virtio testpmd with --no-pci parameter, so delete unbind dut port steps.

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

diff --git a/tests/TestSuite_vhost_pmd_xstats.py b/tests/TestSuite_vhost_pmd_xstats.py
index 46258924..ec95b7f1 100644
--- a/tests/TestSuite_vhost_pmd_xstats.py
+++ b/tests/TestSuite_vhost_pmd_xstats.py
@@ -29,9 +29,6 @@ class TestVhostPmdXstats(TestCase):
         Run at the start of each test suite.
         """
         self.dut_ports = self.dut.get_ports(self.nic)
-        self.unbind_ports = copy.deepcopy(self.dut_ports)
-        self.unbind_ports.remove(0)
-        self.dut.unbind_interfaces_linux(self.unbind_ports)
         txport = self.tester.get_local_port(self.dut_ports[0])
         self.txItf = self.tester.get_interface(txport)
         self.scapy_num = 0
-- 
2.25.1



More information about the dts mailing list