From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shreyansh Jain Subject: [RFC Patch 21/39] drivers: enable compilation of DPAA Mempool driver Date: Sat, 27 May 2017 15:55:17 +0530 Message-ID: <1495880735-1651-22-git-send-email-shreyansh.jain@nxp.com> References: <1495880735-1651-1-git-send-email-shreyansh.jain@nxp.com> Mime-Version: 1.0 Content-Type: text/plain Cc: , To: Return-path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0072.outbound.protection.outlook.com [104.47.41.72]) by dpdk.org (Postfix) with ESMTP id 908BD7D04 for ; Sat, 27 May 2017 12:18:51 +0200 (CEST) In-Reply-To: <1495880735-1651-1-git-send-email-shreyansh.jain@nxp.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch also adds configuration necessary for compilation of DPAA Mempool driver into the DPAA specific config file. CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=dpaa is also configured to allow applications to use DPAA mempool as default. Signed-off-by: Shreyansh Jain --- config/defconfig_arm64-dpaa-linuxapp-gcc | 4 ++++ drivers/mempool/Makefile | 2 ++ 2 files changed, 6 insertions(+) diff --git a/config/defconfig_arm64-dpaa-linuxapp-gcc b/config/defconfig_arm64-dpaa-linuxapp-gcc index f1b6d86..2a7d8d9 100644 --- a/config/defconfig_arm64-dpaa-linuxapp-gcc +++ b/config/defconfig_arm64-dpaa-linuxapp-gcc @@ -44,3 +44,7 @@ CONFIG_RTE_LIBRTE_DPAA_DEBUG_INIT=n CONFIG_RTE_LIBRTE_DPAA_DEBUG_DRIVER=n CONFIG_RTE_LIBRTE_DPAA_DEBUG_RX=n CONFIG_RTE_LIBRTE_DPAA_DEBUG_TX=n + +# DPAA Mempool +CONFIG_RTE_LIBRTE_DPAA_MEMPOOL=y +CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS="dpaa" diff --git a/drivers/mempool/Makefile b/drivers/mempool/Makefile index 8fd40e1..595f717 100644 --- a/drivers/mempool/Makefile +++ b/drivers/mempool/Makefile @@ -33,6 +33,8 @@ include $(RTE_SDK)/mk/rte.vars.mk core-libs := librte_eal librte_mempool librte_ring +DIRS-$(CONFIG_RTE_LIBRTE_DPAA_MEMPOOL) += dpaa +DEPDIRS-dpaa = $(core-libs) DIRS-$(CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL) += dpaa2 DEPDIRS-dpaa2 = $(core-libs) DIRS-$(CONFIG_RTE_DRIVER_MEMPOOL_RING) += ring -- 2.7.4