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 9709FA0C55; Tue, 2 Nov 2021 07:43:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8DC8E41102; Tue, 2 Nov 2021 07:43:54 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 98C6B4069F for ; Tue, 2 Nov 2021 07:43:52 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10155"; a="254803949" X-IronPort-AV: E=Sophos;i="5.87,202,1631602800"; d="scan'208";a="254803949" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Nov 2021 23:43:51 -0700 X-IronPort-AV: E=Sophos;i="5.87,202,1631602800"; d="scan'208";a="500377210" 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:43:36 -0700 From: Xiang An To: dts@dpdk.org Cc: xiangx.an@intel.com Date: Tue, 2 Nov 2021 14:43:17 +0800 Message-Id: <1635835398-70543-3-git-send-email-xiangx.an@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1635835398-70543-1-git-send-email-xiangx.an@intel.com> References: <1635835398-70543-1-git-send-email-xiangx.an@intel.com> Subject: [dts] [PATCH V1 3/4] tests/l3fwdacl: 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_l3fwdacl.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_l3fwdacl.py b/tests/TestSuite_l3fwdacl.py index 65c46b0..dc5d41f 100644 --- a/tests/TestSuite_l3fwdacl.py +++ b/tests/TestSuite_l3fwdacl.py @@ -40,6 +40,7 @@ import time import framework.packet as packet import framework.utils as utils from framework.test_case import TestCase +from framework.settings import load_global_setting, DPDK_RXMODE_SETTING class TestL3fwdacl(TestCase): @@ -643,7 +644,8 @@ class TestL3fwdacl(TestCase): print("Core mask: %s" % self.core_mask) if self.dut.dpdk_version >= '20.11.0': - self.eal_para += " --force-max-simd-bitwidth=0" + if load_global_setting(DPDK_RXMODE_SETTING) == 'default': + 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( -- 1.8.3.1