[V1] tests/userspace_ethtool: optimization script
Checks
Commit Message
In some case tests, the port is bound to the kernel driver. when these cases fail,
the port will always be bound to the kernel driver, affecting the tests of later cases.
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
tests/TestSuite_userspace_ethtool.py | 1 +
1 file changed, 1 insertion(+)
Comments
> -----Original Message-----
> From: Jiale Song <songx.jiale@intel.com>
> Sent: Thursday, April 28, 2022 10:39 PM
> To: dts@dpdk.org
> Cc: Jiale, SongX <songx.jiale@intel.com>
> Subject: [dts] [PATCH V1] tests/userspace_ethtool: optimization script
>
> In some case tests, the port is bound to the kernel driver. when these cases fail,
> the port will always be bound to the kernel driver, affecting the tests of later
> cases.
>
> Signed-off-by: Jiale Song <songx.jiale@intel.com>
> ---
Tested-by: Zhimin Huang <zhiminx.huang@intel.com >
On Thu, 28 Apr 2022 14:39:24 +0000, Jiale Song <songx.jiale@intel.com> wrote:
> In some case tests, the port is bound to the kernel driver. when these cases fail,
> the port will always be bound to the kernel driver, affecting the tests of later cases.
>
> Signed-off-by: Jiale Song <songx.jiale@intel.com>
Applied, thanks
@@ -699,6 +699,7 @@ class TestUserspaceEthtool(TestCase):
"""
Run after each test case.
"""
+ self.dut.bind_interfaces_linux(self.drivername)
self.dut.kill_all()
pass