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 <pbhagavat...@caviumnetworks.com> > --- > > 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.