From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] config: remove duplicate configuration information Date: Thu, 03 Mar 2016 19:37:31 +0100 Message-ID: <121442835.2vdhmXQbJs@xps13> References: <1456149217-24833-1-git-send-email-keith.wiles@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Keith Wiles Return-path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id EC36D2BB8 for ; Thu, 3 Mar 2016 19:39:08 +0100 (CET) Received: by mail-wm0-f49.google.com with SMTP id p65so2389115wmp.0 for ; Thu, 03 Mar 2016 10:39:08 -0800 (PST) In-Reply-To: <1456149217-24833-1-git-send-email-keith.wiles@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-02-22 07:53, Keith Wiles: > --- /dev/null > +++ b/config/common_base > +CONFIG_RTE_EAL_IGB_UIO=y > +CONFIG_RTE_EAL_VFIO=y These options should be disabled in the base file and enabled in Linux. > +CONFIG_RTE_LIBRTE_PMD_AF_PACKET=y Idem, it should be disabled. > +CONFIG_RTE_LIBRTE_POWER=y Idem? > +CONFIG_RTE_LIBRTE_KNI=y Should be disabled. > +CONFIG_RTE_LIBRTE_VHOST=y Should be disabled. > --- a/config/common_bsdapp > +++ b/config/common_bsdapp > +# Compile Environment Abstraction Layer for linux, FreeBSD, OS X, ... > +CONFIG_RTE_LIBRTE_EAL_BSDAPP=y Please keep the original comment: Compile Environment Abstraction Layer for BSD > +# Compile Environment Abstraction Layer Why this comment before disabling UIO and VFIO? > --- a/config/common_linuxapp > +++ b/config/common_linuxapp > -## > -## machine can define specific variables or action for a specific board > -## RTE_MACHINE values are the directories in mk/machine/ > -## > -#CONFIG_RTE_MACHINE="native" > -# > -## > -## define the architecture we compile for. > -## RTE_ARCH values are the directories in mk/arch/ > -## > -#CONFIG_RTE_ARCH="x86_64" > -#CONFIG_RTE_ARCH_X86_64=y > -#CONFIG_RTE_ARCH_X86=y > -# > -## > -## The compiler we use. > -## RTE_TOOLCHAIN values are the directories in mk/toolchain/ > -## > -#CONFIG_RTE_TOOLCHAIN="gcc" > -#CONFIG_RTE_TOOLCHAIN_GCC=y Maybe we should keep these comments in common_base? I would remove the values and uncomment CONFIG_RTE_MACHINE, CONFIG_RTE_ARCH and CONFIG_RTE_TOOLCHAIN. > --- a/config/defconfig_x86_64-native-bsdapp-clang > +++ b/config/defconfig_x86_64-native-bsdapp-clang > @@ -37,6 +37,7 @@ CONFIG_RTE_MACHINE="native" > CONFIG_RTE_ARCH="x86_64" > CONFIG_RTE_ARCH_X86_64=y > CONFIG_RTE_ARCH_X86=y > +CONFIG_RTE_ARCH_64=y > > CONFIG_RTE_TOOLCHAIN="clang" > CONFIG_RTE_TOOLCHAIN_CLANG=y > diff --git a/config/defconfig_x86_64-native-bsdapp-gcc b/config/defconfig_x86_64-native-bsdapp-gcc > index 5a6a4e8..4ea4433 100644 > --- a/config/defconfig_x86_64-native-bsdapp-gcc > +++ b/config/defconfig_x86_64-native-bsdapp-gcc > @@ -37,6 +37,7 @@ CONFIG_RTE_MACHINE="native" > CONFIG_RTE_ARCH="x86_64" > CONFIG_RTE_ARCH_X86_64=y > CONFIG_RTE_ARCH_X86=y > +CONFIG_RTE_ARCH_64=y It should be a totally separate patch. And there are other places where it is missing.