* [dts] [PATCH V3] tests/vf port start stop:restore nic status
@ 2018-12-26 2:11 zhao,meijuan
2018-12-26 2:55 ` Yao, BingX Y
2018-12-26 17:32 ` Lijuan Tu
0 siblings, 2 replies; 3+ messages in thread
From: zhao,meijuan @ 2018-12-26 2:11 UTC (permalink / raw)
To: dts; +Cc: zhao,meijuan
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..29c0fb9 100644
--- a/tests/TestSuite_vf_port_start_stop.py
+++ b/tests/TestSuite_vf_port_start_stop.py
@@ -247,6 +247,8 @@ class TestVfPortStartStop(TestCase):
getattr(self, 'tester_tx_pci', None):
self.tester.send_expect("./dpdk_nic_bind.py --bind=%s %s" \
%(self.tester_port_driver, self.tester_tx_pci), "#")
+ tx_interface = self.tester.get_interface(self.tester_tx_port)
+ self.tester.send_expect("ifconfig %s up" % tx_interface, "#")
if getattr(self, 'vm0', None):
self.vm0.stop()
--
2.17.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V3] tests/vf port start stop:restore nic status
2018-12-26 2:11 [dts] [PATCH V3] tests/vf port start stop:restore nic status zhao,meijuan
@ 2018-12-26 2:55 ` Yao, BingX Y
2018-12-26 17:32 ` Lijuan Tu
1 sibling, 0 replies; 3+ messages in thread
From: Yao, BingX Y @ 2018-12-26 2:55 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: Wednesday, December 26, 2018 10:12 AM
To: dts@dpdk.org
Cc: Zhao, MeijuanX <meijuanx.zhao@intel.com>
Subject: [dts] [PATCH V3] tests/vf port start stop:restore nic 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..29c0fb9 100644
--- a/tests/TestSuite_vf_port_start_stop.py
+++ b/tests/TestSuite_vf_port_start_stop.py
@@ -247,6 +247,8 @@ class TestVfPortStartStop(TestCase):
getattr(self, 'tester_tx_pci', None):
self.tester.send_expect("./dpdk_nic_bind.py --bind=%s %s" \
%(self.tester_port_driver, self.tester_tx_pci), "#")
+ tx_interface = self.tester.get_interface(self.tester_tx_port)
+ self.tester.send_expect("ifconfig %s up" % tx_interface, "#")
if getattr(self, 'vm0', None):
self.vm0.stop()
--
2.17.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V3] tests/vf port start stop:restore nic status
2018-12-26 2:11 [dts] [PATCH V3] tests/vf port start stop:restore nic status zhao,meijuan
2018-12-26 2:55 ` Yao, BingX Y
@ 2018-12-26 17:32 ` Lijuan Tu
1 sibling, 0 replies; 3+ messages in thread
From: Lijuan Tu @ 2018-12-26 17:32 UTC (permalink / raw)
To: zhao,meijuan, dts
Applied, thanks
On 2018年12月26日 10:11, zhao,meijuan wrote:
> 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..29c0fb9 100644
> --- a/tests/TestSuite_vf_port_start_stop.py
> +++ b/tests/TestSuite_vf_port_start_stop.py
> @@ -247,6 +247,8 @@ class TestVfPortStartStop(TestCase):
> getattr(self, 'tester_tx_pci', None):
> self.tester.send_expect("./dpdk_nic_bind.py --bind=%s %s" \
> %(self.tester_port_driver, self.tester_tx_pci), "#")
> + tx_interface = self.tester.get_interface(self.tester_tx_port)
> + self.tester.send_expect("ifconfig %s up" % tx_interface, "#")
>
> if getattr(self, 'vm0', None):
> self.vm0.stop()
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-12-26 9:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-26 2:11 [dts] [PATCH V3] tests/vf port start stop:restore nic status zhao,meijuan
2018-12-26 2:55 ` Yao, BingX Y
2018-12-26 17:32 ` Lijuan Tu
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).