[V1,1/2] tests/dpdk_gro_lib: delete unbind ports of ports.cfg step
Commit Message
Delete unbind ports of ports.cfg step in set_up_all
to avoid impact other test suites.
Signed-off-by: Ling Wei <weix.ling@intel.com>
---
tests/TestSuite_dpdk_gro_lib.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
@@ -51,12 +51,10 @@ class TestDPDKGROLib(TestCase):
# it will use the port config in vhost_peer_conf.cfg
# And it need two interface reconnet in DUT
- # unbind the port which config in ports.cfg
+ # get dut ports and default driver
self.dut_ports = self.dut.get_ports()
self.def_driver = self.dut.ports_info[self.dut_ports[0]]['port'].get_nic_driver()
- for i in self.dut_ports:
- port = self.dut.ports_info[i]['port']
- port.bind_driver()
+
# get and bind the port in config file
self.pci = peer.get_pci_info()
self.pci_drv = peer.get_pci_driver_info()