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 87A10A0C4B; Tue, 23 Nov 2021 09:33:55 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7B2D3410E4; Tue, 23 Nov 2021 09:33:55 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id BFD08410E4 for ; Tue, 23 Nov 2021 09:33:53 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10176"; a="221861772" X-IronPort-AV: E=Sophos;i="5.87,257,1631602800"; d="scan'208";a="221861772" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2021 00:33:53 -0800 X-IronPort-AV: E=Sophos;i="5.87,257,1631602800"; d="scan'208";a="456980464" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2021 00:33:52 -0800 From: Xiang An To: dts@dpdk.org Cc: xiangx.an@intel.com Subject: [dts][PATCH V2 2/2] tests/unit_tests_eal: modify pmd param for acl Date: Tue, 23 Nov 2021 16:34:13 +0800 Message-Id: <1637656453-236696-2-git-send-email-xiangx.an@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1637656453-236696-1-git-send-email-xiangx.an@intel.com> References: <1637656453-236696-1-git-send-email-xiangx.an@intel.com> 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 While test with acl, whatever the dpdk's rx_mode is, always use "force-max-simd-bitwidth=0" as the launch parameter for dpdk. Signed-off-by: Xiang An --- tests/TestSuite_unit_tests_eal.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py index 8096183c..37756843 100644 --- a/tests/TestSuite_unit_tests_eal.py +++ b/tests/TestSuite_unit_tests_eal.py @@ -457,13 +457,14 @@ class TestUnitTestsEal(TestCase): """ Run acl autotest. """ - - eal_params = self.dut.create_eal_parameters() - self.test_app_cmdline += "--no-pci" + eal_params = self.dut.create_eal_parameters(other_eal_param='force-max-simd-bitwidth') + app_name = self.dut.apps_name['test'] + test_app_cmdline = app_name + eal_params + test_app_cmdline += "--no-pci" if self.dut.dpdk_version >= '20.11.0': - self.test_app_cmdline += " --force-max-simd-bitwidth=0" - self.dut.send_expect(self.test_app_cmdline, "R.*T.*E.*>.*>", self.start_test_time) + test_app_cmdline += " --force-max-simd-bitwidth=0" + self.dut.send_expect(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", "# ") self.verify("Test OK" in out, "Test failed") -- 2.17.1