From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 28E0BA0C4E; Tue, 2 Nov 2021 07:19:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 097654069F; Tue, 2 Nov 2021 07:19:00 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 9FDC64068F for ; Tue, 2 Nov 2021 07:18:58 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10155"; a="292030060" X-IronPort-AV: E=Sophos;i="5.87,201,1631602800"; d="scan'208";a="292030060" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Nov 2021 23:18:57 -0700 X-IronPort-AV: E=Sophos;i="5.87,201,1631602800"; d="scan'208";a="500368127" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Nov 2021 23:18:56 -0700 From: Xiang An To: dts@dpdk.org Cc: xiangx.an@intel.com Date: Tue, 2 Nov 2021 14:18:45 +0800 Message-Id: <1635833926-68804-1-git-send-email-xiangx.an@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH V2 1/2] tests/unit_tests_eal: modify code to adapt avx512 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Modify code to adapt rxmod avx512. Signed-off-by: Xiang An --- 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" 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