From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 587462BFA for ; Sun, 6 Mar 2016 02:21:40 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP; 05 Mar 2016 17:21:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,543,1449561600"; d="scan'208";a="60607417" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga004.fm.intel.com with ESMTP; 05 Mar 2016 17:21:38 -0800 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id u261LbMt030036; Sun, 6 Mar 2016 01:21:37 GMT Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id u261LbEK006233; Sun, 6 Mar 2016 01:21:37 GMT Received: (from fyigit@localhost) by sivswdev02.ir.intel.com with id u261LbA8006229; Sun, 6 Mar 2016 01:21:37 GMT From: Ferruh Yigit To: dev@dpdk.org, Thomas Monjalon , Keith Wiles Date: Sun, 6 Mar 2016 01:21:35 +0000 Message-Id: <1457227295-6196-1-git-send-email-ferruh.yigit@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <56DB83D9.3030009@intel.com> References: <56DB83D9.3030009@intel.com> Subject: [dpdk-dev] [PATCH] config: move Linux only config options from base to Linux config X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2016 01:21:40 -0000 Signed-off-by: Ferruh Yigit --- config/common_base | 38 -------------------------------------- config/common_linuxapp | 33 ++++++++++++++++++++++++++++++++- 2 files changed, 32 insertions(+), 39 deletions(-) diff --git a/config/common_base b/config/common_base index 1af28c8..104a53d 100644 --- a/config/common_base +++ b/config/common_base @@ -93,8 +93,6 @@ CONFIG_RTE_LOG_HISTORY=256 CONFIG_RTE_LIBEAL_USE_HPET=n CONFIG_RTE_EAL_ALLOW_INV_SOCKET_ID=n CONFIG_RTE_EAL_ALWAYS_PANIC_ON_ERROR=n -CONFIG_RTE_EAL_IGB_UIO=n -CONFIG_RTE_EAL_VFIO=n CONFIG_RTE_MALLOC_DEBUG=n # Default driver path (or "" to disable) @@ -286,11 +284,6 @@ CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB=n CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB_L1=n # -# Compile software PMD backed by AF_PACKET sockets (Linux only) -# -CONFIG_RTE_LIBRTE_PMD_AF_PACKET=n - -# # Compile Xen PMD # CONFIG_RTE_LIBRTE_PMD_XENVIRT=n @@ -407,13 +400,6 @@ CONFIG_RTE_LIBRTE_ACL=y CONFIG_RTE_LIBRTE_ACL_DEBUG=n # -# Compile librte_power -# -CONFIG_RTE_LIBRTE_POWER=n -CONFIG_RTE_LIBRTE_POWER_DEBUG=n -CONFIG_RTE_MAX_LCORE_FREQS=64 - -# # Compile librte_net # CONFIG_RTE_LIBRTE_NET=y @@ -471,30 +457,6 @@ CONFIG_RTE_LIBRTE_PIPELINE=y CONFIG_RTE_PIPELINE_STATS_COLLECT=n # -# Compile librte_kni -# -CONFIG_RTE_LIBRTE_KNI=n -CONFIG_RTE_KNI_KMOD=n -CONFIG_RTE_KNI_PREEMPT_DEFAULT=y -CONFIG_RTE_KNI_KO_DEBUG=n -CONFIG_RTE_KNI_VHOST=n -CONFIG_RTE_KNI_VHOST_MAX_CACHE_SIZE=1024 -CONFIG_RTE_KNI_VHOST_VNET_HDR_EN=n -CONFIG_RTE_KNI_VHOST_DEBUG_RX=n -CONFIG_RTE_KNI_VHOST_DEBUG_TX=n - -# -# Compile vhost library -# fuse-devel is needed to run vhost-cuse. -# fuse-devel enables user space char driver development -# vhost-user is turned on by default. -# -CONFIG_RTE_LIBRTE_VHOST=n -CONFIG_RTE_LIBRTE_VHOST_USER=y -CONFIG_RTE_LIBRTE_VHOST_NUMA=n -CONFIG_RTE_LIBRTE_VHOST_DEBUG=n - -# #Compile Xen domain0 support # CONFIG_RTE_LIBRTE_XEN_DOM0=n diff --git a/config/common_linuxapp b/config/common_linuxapp index ffbe260..1c124b4 100644 --- a/config/common_linuxapp +++ b/config/common_linuxapp @@ -37,8 +37,39 @@ CONFIG_RTE_EXEC_ENV_LINUXAPP=y CONFIG_RTE_EAL_IGB_UIO=y CONFIG_RTE_EAL_VFIO=y -CONFIG_RTE_KNI_KMOD=y + +# +# Compile librte_kni +# CONFIG_RTE_LIBRTE_KNI=y +CONFIG_RTE_KNI_KMOD=y +CONFIG_RTE_KNI_PREEMPT_DEFAULT=y +CONFIG_RTE_KNI_KO_DEBUG=n +CONFIG_RTE_KNI_VHOST=n +CONFIG_RTE_KNI_VHOST_MAX_CACHE_SIZE=1024 +CONFIG_RTE_KNI_VHOST_VNET_HDR_EN=n +CONFIG_RTE_KNI_VHOST_DEBUG_RX=n +CONFIG_RTE_KNI_VHOST_DEBUG_TX=n + +# +# Compile vhost library +# fuse-devel is needed to run vhost-cuse. +# fuse-devel enables user space char driver development +# vhost-user is turned on by default. +# CONFIG_RTE_LIBRTE_VHOST=y +CONFIG_RTE_LIBRTE_VHOST_USER=y +CONFIG_RTE_LIBRTE_VHOST_NUMA=n +CONFIG_RTE_LIBRTE_VHOST_DEBUG=n + +# +# Compile software PMD backed by AF_PACKET sockets +# CONFIG_RTE_LIBRTE_PMD_AF_PACKET=y + +# +# Compile librte_power +# CONFIG_RTE_LIBRTE_POWER=y +CONFIG_RTE_LIBRTE_POWER_DEBUG=n +CONFIG_RTE_MAX_LCORE_FREQS=64 -- 2.5.0