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 83FBEA0C48; Wed, 16 Jun 2021 08:22:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 780F14067A; Wed, 16 Jun 2021 08:22:00 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 83AEA40041 for ; Mon, 17 May 2021 19:53:04 +0200 (CEST) IronPort-SDR: yxEePtfbq08MEHH7ZUx840aifEWoobb0x6DVkXw6L7nSDuA02Atr8Adeai1eg8/5bFzAu9dbTk RWn+40WICpNg== X-IronPort-AV: E=McAfee;i="6200,9189,9987"; a="200577561" X-IronPort-AV: E=Sophos;i="5.82,307,1613462400"; d="scan'208";a="200577561" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2021 10:53:03 -0700 IronPort-SDR: HaZQwh1Pnf7c9cp2ULYwv8k64xjNVhOaxeoQbSnbgHYgFWlXi9eBJ+iK4X4DXFtxE5bVBws8Kf iU7LCCtTPe8A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,307,1613462400"; d="scan'208";a="439023917" Received: from sivswdev08.ir.intel.com ([10.237.217.47]) by orsmga008.jf.intel.com with ESMTP; 17 May 2021 10:53:02 -0700 From: Konstantin Ananyev To: dts@dpdk.org Cc: Konstantin Ananyev Date: Mon, 17 May 2021 18:52:53 +0100 Message-Id: <20210517175253.1007-1-konstantin.ananyev@intel.com> X-Mailer: git-send-email 2.18.0 X-Mailman-Approved-At: Wed, 16 Jun 2021 08:21:59 +0200 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