[dts] [PATCH V1 4/4] tests/unit_tests_eal: modify code to adapt avx512
Ananyev, Konstantin
konstantin.ananyev at intel.com
Tue Nov 2 11:43:02 CET 2021
Hi Xiang,
> Modify code to adapt rxmod avx512.
>
> Signed-off-by: Xiang An <xiangx.an at intel.com>
> ---
> tests/TestSuite_unit_tests_eal.py | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py
> index 8096183..b5cb7a2 100644
> --- a/tests/TestSuite_unit_tests_eal.py
> +++ b/tests/TestSuite_unit_tests_eal.py
> @@ -38,7 +38,7 @@ EAL autotest.
>
> import framework.utils as utils
> from framework.test_case import TestCase
> -
> +from framework.settings import load_global_setting, DPDK_RXMODE_SETTING
> #
> #
> # Test class.
> @@ -462,7 +462,8 @@ class TestUnitTestsEal(TestCase):
> self.test_app_cmdline += "--no-pci"
>
> if self.dut.dpdk_version >= '20.11.0':
> - self.test_app_cmdline += " --force-max-simd-bitwidth=0"
> + if load_global_setting(DPDK_RXMODE_SETTING) == 'default':
> + self.test_app_cmdline += " --force-max-simd-bitwidth=0"
Could you probably explain why it is needed here?
> self.dut.send_expect(self.test_app_cmdline, "R.*T.*E.*>.*>", self.start_test_time)
> out = self.dut.send_expect("acl_autotest", "RTE>>", self.run_cmd_time)
> self.dut.send_expect("quit", "# ")
> --
> 1.8.3.1
More information about the dts
mailing list