From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Jan 2018 11:51:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,441,1511856000"; d="scan'208";a="23939824" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.252.19.13]) ([10.252.19.13]) by FMSMGA003.fm.intel.com with ESMTP; 31 Jan 2018 11:51:23 -0800 To: Pavan Nikhilesh , jerin.jacob@caviumnetworks.com, santosh.shukla@caviumnetworks.com, olivier.matz@6wind.com, hemant.agrawal@nxp.com Cc: dev@dpdk.org, Neil Horman References: <20180122154507.14617-1-pbhagavatula@caviumnetworks.com> From: Ferruh Yigit Message-ID: <50bba681-1b80-5ed2-06ef-a2377c4f17f4@intel.com> Date: Wed, 31 Jan 2018 19:51:23 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180122154507.14617-1-pbhagavatula@caviumnetworks.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH] net/octeontx: register fpa as platform HW mempool X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2018 19:51:28 -0000 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.