[dts] [PATCH V2 4/4] tests/unit_tests_eal: modify code to adapt avx512

Tu, Lijuan lijuan.tu at intel.com
Fri Nov 5 14:22:50 CET 2021



> -----Original Message-----
> From: dts <dts-bounces at dpdk.org> On Behalf Of Xiang An
> Sent: 2021年11月4日 14:52
> To: dts at dpdk.org
> Cc: An, XiangX <xiangx.an at intel.com>
> Subject: [dts] [PATCH V2 4/4] tests/unit_tests_eal: modify code to adapt avx512
> 
> Modify code to adapt rxmod avx512.
> 
> Signed-off-by: Xiang An <xiangx.an at intel.com>
> ---
>  tests/TestSuite_unit_tests_eal.py | 14 ++++++++------
>  1 file changed, 8 insertions(+), 6 deletions(-)
> 
> diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py
> index 8096183..9b44132 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.
> @@ -457,13 +457,15 @@ class TestUnitTestsEal(TestCase):
>          """
>          Run acl autotest.
>          """
> -
> -        eal_params = self.dut.create_eal_parameters()
> -        self.test_app_cmdline += "--no-pci"
> +        default_cores = '1S/4C/1T'

default_cores defined but not used.



More information about the dts mailing list