test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V2] tests/vf port start stop:restore device status
@ 2018-12-24  8:52 zhao,meijuan
  2018-12-24 10:19 ` Yao, BingX Y
  0 siblings, 1 reply; 2+ messages in thread
From: zhao,meijuan @ 2018-12-24  8:52 UTC (permalink / raw)
  To: dts; +Cc: zhao,meijuan

restore device status

Signed-off-by: zhao,meijuan <meijuanx.zhao@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH V2] tests/vf port start stop:restore device status
  2018-12-24  8:52 [dts] [PATCH V2] tests/vf port start stop:restore device status zhao,meijuan
@ 2018-12-24 10:19 ` Yao, BingX Y
  0 siblings, 0 replies; 2+ messages in thread
From: Yao, BingX Y @ 2018-12-24 10:19 UTC (permalink / raw)
  To: Zhao, MeijuanX, dts; +Cc: Zhao, MeijuanX

Tested-by: Yao, bing<bingx.y.yao@intel.com>

-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhao,meijuan
Sent: Monday, December 24, 2018 4:53 PM
To: dts@dpdk.org
Cc: Zhao, MeijuanX <meijuanx.zhao@intel.com>
Subject: [dts] [PATCH V2] tests/vf port start stop:restore device status

restore device status

Signed-off-by: zhao,meijuan <meijuanx.zhao@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-24 10:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-24  8:52 [dts] [PATCH V2] tests/vf port start stop:restore device status zhao,meijuan
2018-12-24 10:19 ` Yao, BingX Y

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).