From patchwork Mon Sep 27 07:10:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 99707 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 48F8FA0547; Mon, 27 Sep 2021 08:57:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3AF24406A3; Mon, 27 Sep 2021 08:57:46 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 1DA1240686 for ; Mon, 27 Sep 2021 08:57:44 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10119"; a="222529271" X-IronPort-AV: E=Sophos;i="5.85,325,1624345200"; d="scan'208";a="222529271" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Sep 2021 23:57:42 -0700 X-IronPort-AV: E=Sophos;i="5.85,325,1624345200"; d="scan'208";a="561095656" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Sep 2021 23:57:41 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Mon, 27 Sep 2021 15:10:53 +0800 Message-Id: <1632726653-243328-1-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH V1] tests/flexible_common: replace eal allowlist option 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" because dpdk no longer supports the eal parameter '-w', replace eal '-w' option with '-a' Signed-off-by: Jiale Song --- tests/flexible_common.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 tests/flexible_common.py diff --git a/tests/flexible_common.py b/tests/flexible_common.py old mode 100644 new mode 100755 index 9df62ca..3a701db --- a/tests/flexible_common.py +++ b/tests/flexible_common.py @@ -340,7 +340,7 @@ class FlexibleRxdBase(object): cmd = ( "-l 1,2,3 " "-n {mem_channel} " - "-w {pci},{param_type}=vxlan " + "-a {pci},{param_type}=vxlan " "-- -i " "{port_opt}").format(**{ 'mem_channel': self.dut.get_memory_channels(), @@ -364,7 +364,7 @@ class FlexibleRxdBase(object): cmd = ( "-l 1,2,3 " "-n {mem_channel} " - "-w {pci} " + "-a {pci} " "--log-level='ice,8' " "-- -i " "{port_opt}").format(**{ @@ -501,7 +501,7 @@ class FlexibleRxdBase(object): def check_effect_replace_pkg_RXID_22_to_RXID_16(self): self.logger.info("replace ice-1.3.7.0.pkg with RXID 16") self.replace_pkg('os_default') - out = self.__pmdout.start_testpmd(cores="1S/4C/1T", param='--rxq=64 --txq=64', eal_param=f"-w {self.__pci}") + out = self.__pmdout.start_testpmd(cores="1S/4C/1T", param='--rxq=64 --txq=64', eal_param=f"-a {self.__pci}") self.verify("Fail to start port 0" in out, "RXID #16 not support start testpmd") self.__pmdout.execute_cmd("quit", "# ") self.replace_pkg('comms')