[spp] [PATCH 7/7] spp_vm: add DALLOW_EXPERIMENTAL_API on CFLAGS
Yasufumi Ogawa
ogawa.yasufumi at lab.ntt.co.jp
Thu Jun 21 12:54:18 CEST 2018
On 2018/06/19 20:37, Kenta Shinohara wrote:
> According to the spec change of DPDK API, spp_vm requires to use
> experimental method 'rte_fbarray_find_next_used'.
> (See commit 8adf77c46fcf ("spp_vm: fix changing spec of rte_mem_config")
> for detail of change)
> To avoid compile warning, add '-DALLOW_EXPERIMENTAL_API' flag
> to CFLAGS parameter.
>
> Signed-off-by: Kenta Shinohara <shinohara.kenta at lab.ntt.co.jp>
Thanks!
Acked-by: Yasufumi Ogawa <ogawa.yasufumi at lab.ntt.co.jp>
>
> ---
> src/vm/Makefile | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/vm/Makefile b/src/vm/Makefile
> index 8996d84..2d7d402 100644
> --- a/src/vm/Makefile
> +++ b/src/vm/Makefile
> @@ -51,6 +51,7 @@ SRCS-y := main.c init.c args.c ../shared/common.c
>
> INC := $(wildcard *.h)
>
> +CFLAGS += -DALLOW_EXPERIMENTAL_API
> CFLAGS += $(WERROR_FLAGS) -O3
> CFLAGS += -I$(SRCDIR)/../shared
>
>
More information about the spp
mailing list