From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gmobb.jp (smtpbb012.gmobb.jp [157.7.156.159]) by dpdk.org (Postfix) with ESMTP id 1262A47CD for ; Tue, 19 Jun 2018 13:37:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by smtp.gmobb.jp (Postfix) with ESMTP id 575247E995; Tue, 19 Jun 2018 20:37:33 +0900 (JST) X-Virus-Scanned: amavisd-new at gmoserver.jp Received: from smtp.gmobb.jp ([127.0.0.1]) by localhost (smtp.gmoserver.jp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 69uovqrjLxow; Tue, 19 Jun 2018 20:37:33 +0900 (JST) Received: from localhost.localdomain (unknown [192.47.164.146]) by smtp.gmobb.jp (Postfix) with ESMTPA id 3A69F7E988; Tue, 19 Jun 2018 20:37:33 +0900 (JST) From: Kenta Shinohara To: spp@dpdk.org, ferruh.yigit@intel.com Cc: Kenta Shinohara Date: Tue, 19 Jun 2018 20:37:20 +0900 Message-Id: <20180619113720.8336-8-shinohara.kenta@lab.ntt.co.jp> X-Mailer: git-send-email 2.15.1 (Apple Git-101) In-Reply-To: <20180619113720.8336-1-shinohara.kenta@lab.ntt.co.jp> References: <20180619113720.8336-1-shinohara.kenta@lab.ntt.co.jp> Subject: [spp] [PATCH 7/7] spp_vm: add DALLOW_EXPERIMENTAL_API on CFLAGS X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jun 2018 11:37:37 -0000 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 --- 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)