From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] net/octeontx: register fpa as platform HW mempool Date: Wed, 31 Jan 2018 19:51:23 +0000 Message-ID: <50bba681-1b80-5ed2-06ef-a2377c4f17f4@intel.com> References: <20180122154507.14617-1-pbhagavatula@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org, Neil Horman To: Pavan Nikhilesh , jerin.jacob@caviumnetworks.com, santosh.shukla@caviumnetworks.com, olivier.matz@6wind.com, hemant.agrawal@nxp.com Return-path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id DB5131B7FE for ; Wed, 31 Jan 2018 20:51:26 +0100 (CET) In-Reply-To: <20180122154507.14617-1-pbhagavatula@caviumnetworks.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 1/22/2018 3:45 PM, Pavan Nikhilesh wrote: > Register octeontx-fpavf as platform HW mempool when net/octeontx pmd is > used. > > Signed-off-by: Pavan Nikhilesh > --- > > This patch depends on http://dpdk.org/dev/patchwork/patch/34239 patchset. This patch was waiting dependent patch, which seems merged now. But now because of "__rte_experimental" tag in rte_mbuf_set_platform_mempool_ops() that this patch uses getting build errors [1]. Need to add a special note to pmd makefile to allow experimental API usage: CFLAGS += -DALLOW_EXPERIMENTAL_API [1] ...dpdk/drivers/net/octeontx/octeontx_ethdev.c:1330:2: error: 'rte_mbuf_set_platform_mempool_ops' is deprecated: Symbol is not yet part of stable ABI [-Werror,-Wdeprecate d-declarations] rte_mbuf_set_platform_mempool_ops("octeontx_fpavf"); ^ ...dpdk/x86_64-native-linuxapp-clang/include/rte_mbuf_pool_ops.h:37:5: note: 'rte_mbuf_set_platform_mempool_ops' has been explicitly marked deprecated here int __rte_experimental ^ ...dpdk/x86_64-native-linuxapp-clang/include/rte_compat.h:107:16: note: expanded from macro '__rte_experimental' __attribute__((deprecated("Symbol is not yet part of stable ABI"), \ ^ 1 error generated.