From patchwork Fri Sep 24 02:57:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 99522 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 9C066A0C46; Fri, 24 Sep 2021 04:44:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 66B10412C2; Fri, 24 Sep 2021 04:44:34 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 18A4C40142 for ; Fri, 24 Sep 2021 04:44:32 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10116"; a="224016858" X-IronPort-AV: E=Sophos;i="5.85,318,1624345200"; d="scan'208";a="224016858" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2021 19:44:32 -0700 X-IronPort-AV: E=Sophos;i="5.85,318,1624345200"; d="scan'208";a="475827241" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2021 19:44:31 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Fri, 24 Sep 2021 10:57:39 +0800 Message-Id: <1632452259-143959-5-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1632452259-143959-1-git-send-email-songx.jiale@intel.com> References: <1632452259-143959-1-git-send-email-songx.jiale@intel.com> Subject: [dts] [PATCH V1 5/5] tests/rteflow_priority: 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 --- test_plans/rteflow_priority_test_plan.rst | 16 ++++++++-------- tests/TestSuite_rteflow_priority.py | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) mode change 100644 => 100755 tests/TestSuite_rteflow_priority.py diff --git a/test_plans/rteflow_priority_test_plan.rst b/test_plans/rteflow_priority_test_plan.rst index ff49cdb..b1815ce 100644 --- a/test_plans/rteflow_priority_test_plan.rst +++ b/test_plans/rteflow_priority_test_plan.rst @@ -71,7 +71,7 @@ Patterns in this case: #. Start the ``testpmd`` application as follows:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:af:00.0 --log-level="ice,7" -- -i --txq=8 --rxq=8 + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:af:00.0 --log-level="ice,7" -- -i --txq=8 --rxq=8 set fwd rxonly set verbose 1 @@ -90,7 +90,7 @@ Patterns in this case: #. Start the ``testpmd`` application as follows:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:af:00.0,pipeline-mode-support=0 --log-level="ice,7" -- -i --txq=8 --rxq=8 + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:af:00.0,pipeline-mode-support=0 --log-level="ice,7" -- -i --txq=8 --rxq=8 set fwd rxonly set verbose 1 @@ -119,7 +119,7 @@ Patterns in this case: #. Start the ``testpmd`` application as follows:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:af:00.0,pipeline-mode-support=1 --log-level="ice,7" -- -i --txq=8 --rxq=8 + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:af:00.0,pipeline-mode-support=1 --log-level="ice,7" -- -i --txq=8 --rxq=8 set fwd rxonly set verbose 1 rx_vxlan_port add 4789 0 @@ -184,7 +184,7 @@ Patterns in this case: #. Start the ``testpmd`` application as follows:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:af:00.0,pipeline-mode-support=1 --log-level="ice,7" -- -i --txq=8 --rxq=8 + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:af:00.0,pipeline-mode-support=1 --log-level="ice,7" -- -i --txq=8 --rxq=8 set fwd rxonly set verbose 1 @@ -206,7 +206,7 @@ Patterns in this case: #. Start the ``testpmd`` application as follows:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:af:00.0,pipeline-mode-support=1 --log-level="ice,7" -- -i --txq=8 --rxq=8 + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:af:00.0,pipeline-mode-support=1 --log-level="ice,7" -- -i --txq=8 --rxq=8 set fwd rxonly set verbose 1 @@ -232,7 +232,7 @@ Patterns in this case: #. Start the ``testpmd`` application as follows:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:af:00.0,pipeline-mode-support=1 --log-level="ice,7" -- -i --txq=8 --rxq=8 + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:af:00.0,pipeline-mode-support=1 --log-level="ice,7" -- -i --txq=8 --rxq=8 set fwd rxonly set verbose 1 @@ -257,7 +257,7 @@ Patterns in this case: #. Start the ``testpmd`` application as follows:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:af:00.0,pipeline-mode-support=1 --log-level="ice,7" -- -i --txq=8 --rxq=8 + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:af:00.0,pipeline-mode-support=1 --log-level="ice,7" -- -i --txq=8 --rxq=8 set fwd rxonly set verbose 1 @@ -298,7 +298,7 @@ Patterns in this case: #. Restart the ``testpmd`` application as follows:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:af:00.0, pipeline-mode-support=1 --log-level="ice,7" -- -i --txq=8 --rxq=8 + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 0000:af:00.0, pipeline-mode-support=1 --log-level="ice,7" -- -i --txq=8 --rxq=8 set fwd rxonly set verbose 1 diff --git a/tests/TestSuite_rteflow_priority.py b/tests/TestSuite_rteflow_priority.py old mode 100644 new mode 100755 index b0bbf24..23aea82 --- a/tests/TestSuite_rteflow_priority.py +++ b/tests/TestSuite_rteflow_priority.py @@ -133,7 +133,7 @@ class TestRteflowPriority(TestCase): """ #start testpmd in pipeline mode # genarate eal - command = self.path + '-c %s -n 4 -w %s,pipeline-mode-support=1 --log-level="ice,7" -- -i --portmask=%s --rxq=10 --txq=10' % (self.coreMask, self.dut.ports_info[0]['pci'], utils.create_mask([self.dut_ports[0]])) + command = self.path + '-c %s -n 4 -a %s,pipeline-mode-support=1 --log-level="ice,7" -- -i --portmask=%s --rxq=10 --txq=10' % (self.coreMask, self.dut.ports_info[0]['pci'], utils.create_mask([self.dut_ports[0]])) out = self.dut.send_expect(command, "testpmd> ", 120) self.logger.debug(out) @@ -200,7 +200,7 @@ class TestRteflowPriority(TestCase): """ #start testpmd without pipeline-mode-support parameter, check the testpmd is launch in non-pipeline mode - command = self.path + '-c %s -n 4 -w %s --log-level="ice,7" -- -i --portmask=%s --rxq=10 --txq=10' % (self.coreMask, self.dut.ports_info[0]['pci'], utils.create_mask([self.dut_ports[0]])) + command = self.path + '-c %s -n 4 -a %s --log-level="ice,7" -- -i --portmask=%s --rxq=10 --txq=10' % (self.coreMask, self.dut.ports_info[0]['pci'], utils.create_mask([self.dut_ports[0]])) out = self.dut.send_expect(command, "testpmd> ", 120) self.logger.debug(out) @@ -212,7 +212,7 @@ class TestRteflowPriority(TestCase): self.dut.send_expect("quit", "#", 50) #restart testpmd with pipeline-mode-support=0, check the testpmd is launch in non-pipeline mode - command = self.path + '-c %s -n 4 -w %s,pipeline-mode-support=0 --log-level="ice,7" -- -i --portmask=%s --rxq=10 --txq=10' % (self.coreMask, self.dut.ports_info[0]['pci'], utils.create_mask([self.dut_ports[0]])) + command = self.path + '-c %s -n 4 -a %s,pipeline-mode-support=0 --log-level="ice,7" -- -i --portmask=%s --rxq=10 --txq=10' % (self.coreMask, self.dut.ports_info[0]['pci'], utils.create_mask([self.dut_ports[0]])) out = self.dut.send_expect(command, "testpmd> ", 120) self.logger.debug(out) @@ -229,7 +229,7 @@ class TestRteflowPriority(TestCase): """ #start testpmd in pipeline mode - command = self.path + '-c %s -n 4 -w %s,pipeline-mode-support=1 --log-level="ice,7" -- -i --portmask=%s --rxq=10 --txq=10' % (self.coreMask, self.dut.ports_info[0]['pci'], utils.create_mask([self.dut_ports[0]])) + command = self.path + '-c %s -n 4 -a %s,pipeline-mode-support=1 --log-level="ice,7" -- -i --portmask=%s --rxq=10 --txq=10' % (self.coreMask, self.dut.ports_info[0]['pci'], utils.create_mask([self.dut_ports[0]])) out = self.dut.send_expect(command, "testpmd> ", 120) self.logger.debug(out) @@ -246,7 +246,7 @@ class TestRteflowPriority(TestCase): """ #start testpmd in pipeline mode - command = self.path + '-c %s -n 4 -w %s,pipeline-mode-support=1 --log-level="ice,7" -- -i --portmask=%s --rxq=10 --txq=10' % (self.coreMask, self.dut.ports_info[0]['pci'], utils.create_mask([self.dut_ports[0]])) + command = self.path + '-c %s -n 4 -a %s,pipeline-mode-support=1 --log-level="ice,7" -- -i --portmask=%s --rxq=10 --txq=10' % (self.coreMask, self.dut.ports_info[0]['pci'], utils.create_mask([self.dut_ports[0]])) out = self.dut.send_expect(command, "testpmd> ", 120) self.logger.debug(out) @@ -263,7 +263,7 @@ class TestRteflowPriority(TestCase): """ #start testpmd in pipeline mode - command = self.path + '-c %s -n 4 -w %s,pipeline-mode-support=1 --log-level="ice,7" -- -i --portmask=%s --rxq=10 --txq=10' % (self.coreMask, self.dut.ports_info[0]['pci'], utils.create_mask([self.dut_ports[0]])) + command = self.path + '-c %s -n 4 -a %s,pipeline-mode-support=1 --log-level="ice,7" -- -i --portmask=%s --rxq=10 --txq=10' % (self.coreMask, self.dut.ports_info[0]['pci'], utils.create_mask([self.dut_ports[0]])) out = self.dut.send_expect(command, "testpmd> ", 120) self.logger.debug(out) @@ -280,7 +280,7 @@ class TestRteflowPriority(TestCase): """ #start testpmd in pipeline mode - command = self.path + '-c %s -n 4 -w %s,pipeline-mode-support=1 --log-level="ice,7" -- -i --portmask=%s --rxq=10 --txq=10' % (self.coreMask, self.dut.ports_info[0]['pci'], utils.create_mask([self.dut_ports[0]])) + command = self.path + '-c %s -n 4 -a %s,pipeline-mode-support=1 --log-level="ice,7" -- -i --portmask=%s --rxq=10 --txq=10' % (self.coreMask, self.dut.ports_info[0]['pci'], utils.create_mask([self.dut_ports[0]])) out = self.dut.send_expect(command, "testpmd> ", 120) self.dut.send_expect("set fwd rxonly", "testpmd> ", 15) @@ -317,7 +317,7 @@ class TestRteflowPriority(TestCase): self.dut.send_expect("quit", "#", 50) #restart testpmd in pipeline mode - command = self.path + '-c %s -n 4 -w %s,pipeline-mode-support=1 --log-level="ice,7" -- -i --portmask=%s --rxq=10 --txq=10' % (self.coreMask, self.dut.ports_info[0]['pci'], utils.create_mask([self.dut_ports[0]])) + command = self.path + '-c %s -n 4 -a %s,pipeline-mode-support=1 --log-level="ice,7" -- -i --portmask=%s --rxq=10 --txq=10' % (self.coreMask, self.dut.ports_info[0]['pci'], utils.create_mask([self.dut_ports[0]])) out = self.dut.send_expect(command, "testpmd> ", 120) self.logger.debug(out)