[dpdk-dev] [PATCH] net/octeontx: register fpa as platform HW mempool
Ferruh Yigit
ferruh.yigit at intel.com
Wed Jan 31 20:51:23 CET 2018
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 <pbhagavatula at 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.
More information about the dev
mailing list