[dts] [PATCH V1] tests/hotplug_mp: bind the ports to dpdk after test
Tu, Lijuan
lijuan.tu at intel.com
Wed Aug 28 12:41:05 CEST 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Wenjie Li
> Sent: Thursday, August 15, 2019 6:36 PM
> To: dts at dpdk.org
> Cc: Li, WenjieX A <wenjiex.a.li at intel.com>
> Subject: [dts] [PATCH V1] tests/hotplug_mp: bind the ports to dpdk after test
>
> Should bind the ports to dpdk in tear_down_all, since ports are bind to
> kernel driver in set_up_all; without this action, it will affect following tests.
>
> Signed-off-by: Wenjie Li <wenjiex.a.li at intel.com>
> ---
> tests/TestSuite_hotplug_mp.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/TestSuite_hotplug_mp.py b/tests/TestSuite_hotplug_mp.py
> index 3a43058..42bbee9 100644
> --- a/tests/TestSuite_hotplug_mp.py
> +++ b/tests/TestSuite_hotplug_mp.py
> @@ -309,5 +309,6 @@ class TestHotplugMp(TestCase):
> """
> Run after each test suite.
> """
> + self.dut.bind_interfaces_linux(self.drivername)
> self.dut.close_session(self.dut)
> self.dut.kill_all()
> --
> 2.17.1
More information about the dts
mailing list