[dts] [PATCH V3] tests/vf port start stop:restore nic status

Lijuan Tu lijuan.tu at intel.com
Wed Dec 26 18:32:47 CET 2018


Applied, thanks


On 2018年12月26日 10:11, zhao,meijuan wrote:
> 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..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()



More information about the dts mailing list