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 E9463A0A02; Tue, 18 May 2021 17:35:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DA6FC4068E; Tue, 18 May 2021 17:35:35 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 0BE9F40041 for ; Tue, 18 May 2021 17:35:34 +0200 (CEST) IronPort-SDR: 8PyA3qmGG8zxAspkhMg8UWfeFUJBzkeEofeB3ZlbH0C7GK4z6j1Ck/nGgD/8A4PKpF7tLzMHCy yEuqORAHEejQ== X-IronPort-AV: E=McAfee;i="6200,9189,9988"; a="200797593" X-IronPort-AV: E=Sophos;i="5.82,310,1613462400"; d="scan'208";a="200797593" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2021 08:35:32 -0700 IronPort-SDR: 6HbGr+fSriPHqUet3EPpbO2nusCbbfmjXGLRcTVjXb3HvAmP9yVPTDmG7s7neXWwRmO9trcHYW ZB8VKtZYcglA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,310,1613462400"; d="scan'208";a="473859508" Received: from sivswdev08.ir.intel.com ([10.237.217.47]) by fmsmga002.fm.intel.com with ESMTP; 18 May 2021 08:35:31 -0700 From: Konstantin Ananyev To: dts@dpdk.org Cc: Konstantin Ananyev Date: Tue, 18 May 2021 16:35:21 +0100 Message-Id: <20210518153521.11976-1-konstantin.ananyev@intel.com> X-Mailer: git-send-email 2.18.0 Subject: [dts] [PATCH] tests/l3fwdacl: try to use highest available method 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" If DPDK version is GE then 20.11.0, then add " --force-max-simd-bitwidth=0" EAL parameter for l3fwd-acl invocation. It will ensure that l3fwd-acl will also use highest avaialble on that HW ACL classify() method (unless manually ovrwritten by '--alg'). Signed-off-by: Konstantin Ananyev --- tests/TestSuite_l3fwdacl.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/TestSuite_l3fwdacl.py b/tests/TestSuite_l3fwdacl.py index 7e0ad989..4cc51d40 100644 --- a/tests/TestSuite_l3fwdacl.py +++ b/tests/TestSuite_l3fwdacl.py @@ -640,6 +640,9 @@ class TestL3fwdacl(TestCase): self.core_mask = utils.create_mask(cores) print("Core mask: %s" % self.core_mask) + if self.dut.dpdk_version >= '20.11.0': + self.eal_para += " --force-max-simd-bitwidth=0" + valid_ports = [port for port in ports if self.tester.get_local_port(port) != -1] self.verify( len(valid_ports) >= 2, "Insufficient active dut_ports for speed testing") -- 2.26.3