From patchwork Tue Sep 29 06:17:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xie, WeiX" X-Patchwork-Id: 79132 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 429C8A04C0; Tue, 29 Sep 2020 08:17:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 322371D619; Tue, 29 Sep 2020 08:17:06 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id B535B29AC for ; Tue, 29 Sep 2020 08:17:04 +0200 (CEST) IronPort-SDR: A6xITrYEaQHO+AiuRPgKYufPynMGeieH/Y6rMD0CvQUpNJvMK7lRa1bcpRFonU30VWgb2SLn0d /T2FRs3hcLZA== X-IronPort-AV: E=McAfee;i="6000,8403,9758"; a="142145629" X-IronPort-AV: E=Sophos;i="5.77,317,1596524400"; d="scan'208";a="142145629" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2020 23:17:01 -0700 IronPort-SDR: xdMdWCGIosVyqpcXc7Uy2o+XvgYZKgfAfQT86Pr/zU5r5YJCjBwswINF1sAoP+EMZaWaARY8X8 Stl/vtdikopw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,317,1596524400"; d="scan'208";a="324556939" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga002.jf.intel.com with ESMTP; 28 Sep 2020 23:17:00 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Tue, 29 Sep 2020 14:17:46 +0800 Message-Id: <20200929061747.27735-1-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1 1/2] tests/TestSuite_cvl_fdir:remove flow-mark-support param X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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" According to dpdk commit 62451c94a, remove flow-mark-support param when it starts testpmd. Signed-off-by: Xie wei Signed-off-by: Xie wei --- tests/TestSuite_cvl_fdir.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/TestSuite_cvl_fdir.py b/tests/TestSuite_cvl_fdir.py index 474ec2c9..e5a9c71e 100644 --- a/tests/TestSuite_cvl_fdir.py +++ b/tests/TestSuite_cvl_fdir.py @@ -2290,7 +2290,7 @@ class TestCVLFdir(TestCase): self.pmd_output.start_testpmd(cores="1S/4C/1T", param="--portmask=%s --rxq=%d --txq=%d --port-topology=loop" % ( self.portMask, rxq, txq), - eal_param="-w %s,flow-mark-support=1 -w %s,flow-mark-support=1 --log-level=ice,7" % ( + eal_param="-w %s -w %s --log-level=ice,7" % ( self.pci0, self.pci1), socket=self.ports_socket) self.config_testpmd() @@ -3031,9 +3031,7 @@ class TestCVLFdir(TestCase): f.writelines(cmds_li) self.dut.session.copy_file_to(cmd_path, cmd_path) try: - eal_param = self.dut.create_eal_parameters(cores="1S/4C/1T", ports=[self.pci0 + ",flow-mark-support=1", - self.pci1 + ",flow-mark-support=1"], - socket=self.ports_socket) + eal_param = self.dut.create_eal_parameters(cores="1S/4C/1T", ports=[self.pci0, self.pci1], socket=self.ports_socket) param = " --log-level='ice,7' -- -i --portmask=%s --rxq=%d --txq=%d --port-topology=loop --cmdline-file=%s" % ( self.portMask, 64, 64, cmd_path) command_line = self.dut.apps_name['test-pmd'] + eal_param + param @@ -3140,7 +3138,7 @@ class TestCVLFdir(TestCase): out = self.pmd_output.start_testpmd(cores="1S/4C/1T", param="--portmask=%s --rxq=%d --txq=%d --port-topology=loop --cmdline-file=%s" % ( self.portMask, 64, 64, cmd_path), - eal_param="-w %s,flow-mark-support=1 -w %s,flow-mark-support=1 --log-level='ice,7'" % ( + eal_param="-w %s -w %s --log-level='ice,7'" % ( self.pci0, self.pci1), socket=self.ports_socket) self.verify('Failed to create flow' not in out, "create some rule failed") self.config_testpmd() From patchwork Tue Sep 29 06:17:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xie, WeiX" X-Patchwork-Id: 79133 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 75E2FA04C0; Tue, 29 Sep 2020 08:17:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6E5BB1D655; Tue, 29 Sep 2020 08:17:08 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 844921D630 for ; Tue, 29 Sep 2020 08:17:05 +0200 (CEST) IronPort-SDR: lpIedenpLEwcabvRtSRWfiUHXvG6C7mje7DWaXl2rRCWjqZ0BqZfiRcNtSKsCBhV0PDqznC2Vi ZMx2dHaOobvg== X-IronPort-AV: E=McAfee;i="6000,8403,9758"; a="142145633" X-IronPort-AV: E=Sophos;i="5.77,317,1596524400"; d="scan'208";a="142145633" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2020 23:17:02 -0700 IronPort-SDR: MzV+l9d9OAsTGGcTTvF+uaN1TTYDQgNbPI8yHMlAyZEDIRHPu+jO8bPMVqE2jxmt618VANX1A8 QjG1DaWO40rQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,317,1596524400"; d="scan'208";a="324556945" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga002.jf.intel.com with ESMTP; 28 Sep 2020 23:17:01 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Tue, 29 Sep 2020 14:17:47 +0800 Message-Id: <20200929061747.27735-2-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200929061747.27735-1-weix.xie@intel.com> References: <20200929061747.27735-1-weix.xie@intel.com> Subject: [dts] [PATCH V1 2/2] test_plans/cvl_fdir_test_plan:remove flow-mark-support param X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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" According to dpdk commit 62451c94a, remove flow-mark-support param when it launches testpmd. Signed-off-by: Xie wei Signed-off-by: Xie wei --- test_plans/cvl_fdir_test_plan.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_plans/cvl_fdir_test_plan.rst b/test_plans/cvl_fdir_test_plan.rst index 7c2357e4..0e1521fe 100644 --- a/test_plans/cvl_fdir_test_plan.rst +++ b/test_plans/cvl_fdir_test_plan.rst @@ -137,7 +137,7 @@ Prerequisites 5. Launch the app ``testpmd`` with the following arguments:: - ./testpmd -c 0xff -n 6 -w 86:00.0,,flow-mark-support=1 --log-level="ice,7" -- -i --portmask=0xff --rxq=64 --txq=64 --port-topology=loop + ./testpmd -c 0xff -n 6 -w 86:00.0 --log-level="ice,7" -- -i --portmask=0xff --rxq=64 --txq=64 --port-topology=loop testpmd> set fwd rxonly testpmd> set verbose 1 @@ -148,7 +148,7 @@ Prerequisites Notes: if need two ports environment, launch ``testpmd`` with the following arguments:: - ./testpmd -c 0xff -n 6 -w 86:00.0,flow-mark-support=1 -w 86:00.1,flow-mark-support=1 --log-level="ice,7" -- -i --portmask=0xff --rxq=64 --txq=64 --port-topology=loop + ./testpmd -c 0xff -n 6 -w 86:00.0 -w 86:00.1 --log-level="ice,7" -- -i --portmask=0xff --rxq=64 --txq=64 --port-topology=loop Default parameters