From patchwork Fri Sep 11 14:45:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 77330 X-Patchwork-Delegate: lijuan.tu@intel.com 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 369E2A04B7; Fri, 11 Sep 2020 09:03:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 309F91B75C; Fri, 11 Sep 2020 09:03:00 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 569208F96 for ; Fri, 11 Sep 2020 09:02:59 +0200 (CEST) IronPort-SDR: lYzKikzGiHECO9sVC9P0DxTKj6VETN7Te5bCLcoBepplD4VB2/NGe1L3JdlB5/qgU860pd8gNk NhUviJC3fYEA== X-IronPort-AV: E=McAfee;i="6000,8403,9740"; a="157990331" X-IronPort-AV: E=Sophos;i="5.76,414,1592895600"; d="scan'208";a="157990331" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Sep 2020 00:02:57 -0700 IronPort-SDR: oo+8hm0tm86VKA/PnOiKMw7RckrXAn8cbvSrSftLdq/wD5pZ3nQS6CekB+CVJ24g2zWc7VCCnH codCex9A5Epw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,414,1592895600"; d="scan'208";a="407999366" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by fmsmga001.fm.intel.com with ESMTP; 11 Sep 2020 00:02:56 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Fri, 11 Sep 2020 14:45:38 +0000 Message-Id: <20200911144542.28336-2-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200911144542.28336-1-weix.ling@intel.com> References: <20200911144542.28336-1-weix.ling@intel.com> Subject: [dts] [dts 1/5] tests/l3fwd_base:use API to set dpdk config when use meson 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" Signed-off-by: lingwei --- tests/l3fwd_base.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/l3fwd_base.py b/tests/l3fwd_base.py index 1eccc0e..6f7af8a 100644 --- a/tests/l3fwd_base.py +++ b/tests/l3fwd_base.py @@ -548,6 +548,7 @@ class L3fwdBase(object): "CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n/" "CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=y/' " "./config/common_base")) + self.dut.set_build_options({'RTE_LIBRTE_I40E_16BYTE_RX_DESC': 'y'}) self.dut.build_install_dpdk(self.target) def __restore_compilation(self): @@ -558,6 +559,7 @@ class L3fwdBase(object): "CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=y/" "CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n/' " "./config/common_base")) + self.dut.set_build_options({'RTE_LIBRTE_I40E_16BYTE_RX_DESC': 'n'}) self.dut.build_install_dpdk(self.target) def __preset_compilation(self):