[dts] [PATCH V2] tests/vf port start stop:restore device status
Yao, BingX Y
bingx.y.yao at intel.com
Mon Dec 24 11:19:53 CET 2018
Tested-by: Yao, bing<bingx.y.yao at intel.com>
-----Original Message-----
From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of zhao,meijuan
Sent: Monday, December 24, 2018 4:53 PM
To: dts at dpdk.org
Cc: Zhao, MeijuanX <meijuanx.zhao at intel.com>
Subject: [dts] [PATCH V2] tests/vf port start stop:restore device status
restore device status
Signed-off-by: zhao,meijuan <meijuanx.zhao at intel.com>
---
tests/TestSuite_vf_port_start_stop.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/TestSuite_vf_port_start_stop.py b/tests/TestSuite_vf_port_start_stop.py
index a9e88d8..bcb3761 100644
--- a/tests/TestSuite_vf_port_start_stop.py
+++ b/tests/TestSuite_vf_port_start_stop.py
@@ -249,6 +249,8 @@ class TestVfPortStartStop(TestCase):
%(self.tester_port_driver, self.tester_tx_pci), "#")
if getattr(self, 'vm0', None):
+ tx_interface = self.tester.get_interface(self.tester_tx_port)
+ self.tester.send_expect("ifconfig %s up" % tx_interface, "#")
self.vm0.stop()
self.dut.virt_exit()
--
2.17.2
More information about the dts
mailing list