[dts] [PATCH V1 2/3]dpdk_gso_lib: bind port back after testsuite end
Xiao Qimai
qimaix.xiao at intel.com
Thu Apr 30 08:40:56 CEST 2020
Signed-off-by: Xiao Qimai <qimaix.xiao at intel.com>
---
tests/TestSuite_dpdk_gso_lib.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/TestSuite_dpdk_gso_lib.py b/tests/TestSuite_dpdk_gso_lib.py
index 72b1372..433869a 100644
--- a/tests/TestSuite_dpdk_gso_lib.py
+++ b/tests/TestSuite_dpdk_gso_lib.py
@@ -534,6 +534,9 @@ class TestDPDKGsoLib(TestCase):
"""
Run after each test suite.
"""
+ for i in self.dut_ports:
+ port = self.dut.ports_info[i]['port']
+ port.bind_driver(self.def_driver)
self.unprepare_dpdk()
self.dut.send_expect("ip netns del ns1", "#", 30)
self.dut.send_expect(
--
1.8.3.1
More information about the dts
mailing list