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 4C845A04D5; Wed, 16 Sep 2020 14:45:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F20691C2B8; Wed, 16 Sep 2020 14:44:59 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 463561C29F for ; Wed, 16 Sep 2020 14:44:57 +0200 (CEST) IronPort-SDR: wHzP8XyslP6mHNuFoKBkOG50NsGVT1TjIZOTlabNICEefNI78ob23KwCz4ae1ru8dkDqj9B0Ac EtYjITDTmxJQ== X-IronPort-AV: E=McAfee;i="6000,8403,9745"; a="160383156" X-IronPort-AV: E=Sophos;i="5.76,432,1592895600"; d="scan'208";a="160383156" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2020 05:44:56 -0700 IronPort-SDR: 3NH37JcsCNvScL7zkgLdPVcPxuwF1+ZiY+7dUKogP1GkQ8sQfC3xGa1NDnAQmZCWKmKE5X5xsN TpM4Mfp/Xv2w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,432,1592895600"; d="scan'208";a="409542283" Received: from unknown (HELO localhost.localdomain) ([10.240.183.52]) by fmsmga001.fm.intel.com with ESMTP; 16 Sep 2020 05:44:55 -0700 From: "Zhou, Jun" To: dts@dpdk.org Cc: "Zhou, Jun" , Zhou@dpdk.org Date: Wed, 16 Sep 2020 12:29:43 +0000 Message-Id: <20200916122951.17646-3-junx.w.zhou@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200916122951.17646-1-junx.w.zhou@intel.com> References: <20200916122951.17646-1-junx.w.zhou@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V1 02/10] tests/TestSuite_ddp_l2tpv3.py: Instead of getting the rxq&txq value from common_base to rte_config.h 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" Instead of getting the rxq&txq value from common_base to rte_config.h Signed-off-by: Zhou, Jun --- tests/TestSuite_ddp_l2tpv3.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/TestSuite_ddp_l2tpv3.py b/tests/TestSuite_ddp_l2tpv3.py index da734f31..22ae0be7 100644 --- a/tests/TestSuite_ddp_l2tpv3.py +++ b/tests/TestSuite_ddp_l2tpv3.py @@ -50,11 +50,10 @@ class TestDdpL2tpv3(TestCase): self.used_dut_port = self.dut_ports[0] tester_port = self.tester.get_local_port(self.used_dut_port) self.tester_intf = self.tester.get_interface(tester_port) - out = self.dut.send_expect("cat config/common_base", "]# ", 10) - self.PF_Q_strip = 'CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF' - pattern = "(%s=)(\d*)" % self.PF_Q_strip + out = self.dut.send_expect("cat config/rte_config.h", "]# ", 10) + self.PF_Q_strip = 'RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF' + pattern = "define (%s) (\d*)" % self.PF_Q_strip self.PF_QUEUE = self.element_strip(out, pattern) - self.PF_Q_strip = 'CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF' def set_up(self): self.load_profile() -- 2.25.1