From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1EE61A04B5; Mon, 26 Oct 2020 06:43:36 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CE5941E2B; Mon, 26 Oct 2020 06:43:34 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id B934E1D9E for ; Mon, 26 Oct 2020 06:43:32 +0100 (CET) IronPort-SDR: WajLHdAItNOvMWlWwWJL/CEM24w9/02HPl+n2P2nh6EAFk47J6uwqN5/+FG9K8AWLAndWeVBna p7+M1nuBS3zA== X-IronPort-AV: E=McAfee;i="6000,8403,9785"; a="154846886" X-IronPort-AV: E=Sophos;i="5.77,417,1596524400"; d="scan'208";a="154846886" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2020 22:43:23 -0700 IronPort-SDR: Cl/9UMK7gB0F8haXjU09/FTX267LucMDcMv6rtkIFAAYGw0vvwNrqTgOgIxBqtqwq9OfwOjfaE iLsRUn3ZwQbA== X-IronPort-AV: E=Sophos;i="5.77,417,1596524400"; d="scan'208";a="467792755" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2020 22:43:21 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Mon, 26 Oct 2020 21:39:42 +0800 Message-Id: <20201026133942.51153-1-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/TestSuite_vmdq:delete invalid code in set_up_all and tear_down_all 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" delete invalid code in set_up_all and tear_down_all becasue of CONFIG_RTE_MAX_QUEUES_PER_PORT default is 1024 in new DPDK. Signed-off-by: lingwei --- tests/TestSuite_vmdq.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/TestSuite_vmdq.py b/tests/TestSuite_vmdq.py index dc4f5ae..3f2ccde 100644 --- a/tests/TestSuite_vmdq.py +++ b/tests/TestSuite_vmdq.py @@ -56,8 +56,6 @@ class TestVmdq(TestCase): self.verify(len(self.dut_ports) >= 2, "Insufficient ports") self.ports_socket = self.dut.get_numa_id(self.dut_ports[0]) - self.dut.send_expect("sed -i 's/CONFIG_RTE_MAX_QUEUES_PER_PORT=256/CONFIG_RTE_MAX_QUEUES_PER_PORT=1024/' ./config/common_base", "# ", 5) - self.dut.set_build_options({'RTE_MAX_QUEUES_PER_PORT': 1024}) self.dut.build_install_dpdk(self.target) # Update the max queue per port for Fortville. self.dut.send_expect("sed -i 's/define MAX_QUEUES 128/define MAX_QUEUES 1024/' ./examples/vmdq/main.c", "#", 5) @@ -270,8 +268,4 @@ class TestVmdq(TestCase): Run after each test suite. """ # resume setting - self.dut.send_expect( - "sed -i 's/CONFIG_RTE_MAX_QUEUES_PER_PORT=1024/CONFIG_RTE_MAX_QUEUES_PER_PORT=256/' ./config/common_base", - "# ", 5) - self.dut.set_build_options({'RTE_MAX_QUEUES_PER_PORT': 256}) self.dut.build_install_dpdk(self.target) -- 2.17.1