[spp] [PATCH 7/7] spp_vm: add DALLOW_EXPERIMENTAL_API on CFLAGS

Kenta Shinohara shinohara.kenta at lab.ntt.co.jp
Tue Jun 19 13:37:20 CEST 2018


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>

---
 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
 
-- 
2.15.1 (Apple Git-101)



More information about the spp mailing list