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 95E3BA0A02; Tue, 18 May 2021 17:39:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5F7E44068E; Tue, 18 May 2021 17:39:35 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 0BC2040041 for ; Tue, 18 May 2021 17:39:33 +0200 (CEST) IronPort-SDR: Qp5pUxh935/z/wVwxYXdqKq1rAVMAGowqIUEj0cVJIza69Y6KSy9KZFpemUdPC8fOWv3FUCwZg 1EhFFSovLO2g== X-IronPort-AV: E=McAfee;i="6200,9189,9988"; a="188152772" X-IronPort-AV: E=Sophos;i="5.82,310,1613462400"; d="scan'208";a="188152772" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2021 08:39:30 -0700 IronPort-SDR: lLR8j0/GxIVvT44PJKbmSq7hwH3OMaxOsr2uyYucvPVmr6Lest0qgEze2vcTGUN6SB0v6Y2l3P lHBMyblRZmeA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,310,1613462400"; d="scan'208";a="394909750" Received: from sivswdev08.ir.intel.com ([10.237.217.47]) by orsmga006.jf.intel.com with ESMTP; 18 May 2021 08:39:29 -0700 From: Konstantin Ananyev To: dts@dpdk.org Cc: Konstantin Ananyev Date: Tue, 18 May 2021 16:39:26 +0100 Message-Id: <20210518153926.12091-1-konstantin.ananyev@intel.com> X-Mailer: git-send-email 2.18.0 Subject: [dts] [PATCH] tests/unit_tests_eal: modify ACL test to enhnace test coverage 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 test_acl() to run with " --force-max-simd-bitwidth=0". That will ensure validation of all supported on given HW ACL algorithms. Signed-off-by: Konstantin Ananyev --- test_plans/unit_tests_eal_test_plan.rst | 4 +++- tests/TestSuite_unit_tests_eal.py | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/test_plans/unit_tests_eal_test_plan.rst b/test_plans/unit_tests_eal_test_plan.rst index 7b2cf627..4cb9d6b9 100644 --- a/test_plans/unit_tests_eal_test_plan.rst +++ b/test_plans/unit_tests_eal_test_plan.rst @@ -308,7 +308,9 @@ To Be Filled Acl === -To Be Filled +Performs ACL functional validation. +If DPDK version permits, then start with " --force-max-simd-bitwidth=0" EAL parameter. +That will ensure validation of all supported on given HW ACL algorithms. Link_bonding ============ diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py index f799b681..e5703f1d 100644 --- a/tests/TestSuite_unit_tests_eal.py +++ b/tests/TestSuite_unit_tests_eal.py @@ -460,6 +460,11 @@ class TestUnitTestsEal(TestCase): Run acl autotest. """ + eal_params = self.dut.create_eal_parameters() + self.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) out = self.dut.send_expect("acl_autotest", "RTE>>", self.run_cmd_time) self.dut.send_expect("quit", "# ") -- 2.26.3