From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 78143A0562; Thu, 2 Apr 2020 17:06:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CF08E2BCE; Thu, 2 Apr 2020 17:06:39 +0200 (CEST) Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by dpdk.org (Postfix) with ESMTP id EC4372B8B for ; Thu, 2 Apr 2020 17:06:37 +0200 (CEST) Received: by mail-pf1-f195.google.com with SMTP id 22so1869644pfa.9 for ; Thu, 02 Apr 2020 08:06:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5ZhVPnIcMonWmZlU47iZn904byl85oYZW1dKgqEm+Us=; b=BtCjiZXhwhD/z0Bz2GpvqNqC9t99kEnPQqEKqbef0Lw159Y5qobYK2YbfhVUS2GK/Q 9e4ZZR/AtlPzjIJ9AtLYkNnHfl27w2LFMHguk+2J2uLSEneCfYpWUrXZhZd7l4ZXWj0d 6Ic/yKbzCJOa1mRu44mAUVvyXztvxIxwO7vTfaNuS2qAcWtuqf8zaCdkGRYNrAcLdEp3 dJV6F4870w8fSN3ZciR+/rHEN3L76azbx0F/wZiaVS3muPSiuxGAXKTIifADF4fae42l cGhXlKPhHD/AjohRoPTLP1a7UOr1oFkHCr6RsrZMd8fSA3KCnbjhZboJNwqIsELwCWQp dg4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5ZhVPnIcMonWmZlU47iZn904byl85oYZW1dKgqEm+Us=; b=MVa4aXPSjqGQxcR4zpHyCDp/gE/zpp/EkOTf2yjjr2XoB6Scq/V/KjNZfiIOz+5e62 j6PoA8Yo1AZkGWigEvvw8QpK1gowvYvylcKOC2MxJCnWXWrXFsVFKrxxonvBKFDyzNWn iZ9OyPObaDb7buwExOLp6R3nvucbuFQ/EnRIEtdhk5xnz6BT23bsUt6p+X8hEgds1iPC RNHYAgXi7JqJPjEMqxqRCpnIk2QPGACJv1bItqRdGDkCFHiMuHnNpc8jRsqN0stx2BzU wUw7roHwkTO9jNmCG2BPALKV4xaoMNRauUtHx+8vKti8IbMHEu+asURLr2xMzBhcrrJj YvHg== X-Gm-Message-State: AGi0PuZh1BahECNHgHsJZGJjSwGPoY3jYZeJC0y+CgM4bSLN6rx4lpNm 8s7UwU+sT5jDZf86OGICRoA= X-Google-Smtp-Source: APiQypLouvu07MS8qewFmq/oqn/9U4J03owT/X9nRe9N99A9w1//MnUCitsXZo2tqA7yDWatrKbYTg== X-Received: by 2002:a05:6a00:2b4:: with SMTP id q20mr3675153pfs.36.1585839996055; Thu, 02 Apr 2020 08:06:36 -0700 (PDT) Received: from BG-LT7430.marvell.com ([14.140.231.68]) by smtp.gmail.com with ESMTPSA id fa16sm3934747pjb.35.2020.04.02.08.06.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Apr 2020 08:06:35 -0700 (PDT) From: pvnnikhilesh@gmail.com X-Google-Original-From: pbhagavatula@marvell.com To: jerinj@marvell.com, david.marchand@redhat.com, thomas@monjalon.net, bruce.richardson@intel.com, mattias.ronnblom@ericsson.com, ferruh.yigit@intel.com, arybchenko@solarflare.com, declan.doherty@intel.com, olivier.matz@6wind.com, nhorman@tuxdriver.com Cc: dev@dpdk.org, Pavan Nikhilesh Date: Thu, 2 Apr 2020 20:36:18 +0530 Message-Id: <20200402150618.2184-2-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200402150618.2184-1-pbhagavatula@marvell.com> References: <20200402150618.2184-1-pbhagavatula@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 2/2] build: makefile make experimental tag as global X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Pavan Nikhilesh Make ALLOW_EXPERIMENTAL_API global across lib, drivers and apps. Signed-off-by: Pavan Nikhilesh --- app/test-bbdev/Makefile | 1 - app/test-compress-perf/Makefile | 1 - app/test-crypto-perf/Makefile | 1 - app/test-fib/Makefile | 1 - app/test-pmd/Makefile | 1 - app/test-sad/Makefile | 1 - app/test/Makefile | 2 -- drivers/baseband/fpga_lte_fec/Makefile | 1 - drivers/baseband/null/Makefile | 1 - drivers/baseband/turbo_sw/Makefile | 1 - drivers/bus/dpaa/Makefile | 1 - drivers/bus/fslmc/Makefile | 1 - drivers/bus/ifpga/Makefile | 1 - drivers/bus/pci/Makefile | 4 ---- drivers/bus/vdev/Makefile | 1 - drivers/bus/vmbus/Makefile | 1 - drivers/common/dpaax/Makefile | 1 - drivers/common/iavf/Makefile | 1 - drivers/common/octeontx2/Makefile | 1 - drivers/common/qat/Makefile | 1 - drivers/compress/isal/Makefile | 1 - drivers/compress/octeontx/Makefile | 1 - drivers/compress/zlib/Makefile | 1 - drivers/crypto/aesni_gcm/Makefile | 1 - drivers/crypto/aesni_mb/Makefile | 1 - drivers/crypto/armv8/Makefile | 1 - drivers/crypto/caam_jr/Makefile | 2 -- drivers/crypto/dpaa2_sec/Makefile | 1 - drivers/crypto/dpaa_sec/Makefile | 1 - drivers/crypto/kasumi/Makefile | 1 - drivers/crypto/nitrox/Makefile | 1 - drivers/crypto/octeontx/Makefile | 1 - drivers/crypto/octeontx2/Makefile | 1 - drivers/crypto/openssl/Makefile | 1 - drivers/crypto/snow3g/Makefile | 1 - drivers/crypto/zuc/Makefile | 1 - drivers/event/dpaa/Makefile | 1 - drivers/event/dpaa2/Makefile | 3 --- drivers/event/dsw/Makefile | 3 --- drivers/event/octeontx2/Makefile | 1 - drivers/event/opdl/Makefile | 1 - drivers/mempool/bucket/Makefile | 1 - drivers/mempool/dpaa/Makefile | 3 --- drivers/mempool/dpaa2/Makefile | 3 --- drivers/mempool/octeontx/Makefile | 1 - drivers/mempool/octeontx2/Makefile | 4 +--- drivers/mempool/stack/Makefile | 1 - drivers/net/atlantic/Makefile | 1 - drivers/net/avp/Makefile | 1 - drivers/net/axgbe/Makefile | 1 - drivers/net/bnx2x/Makefile | 1 - drivers/net/bonding/Makefile | 1 - drivers/net/dpaa/Makefile | 3 --- drivers/net/dpaa2/Makefile | 3 --- drivers/net/e1000/Makefile | 1 - drivers/net/ena/Makefile | 2 -- drivers/net/enetc/Makefile | 1 - drivers/net/enic/Makefile | 1 - drivers/net/failsafe/Makefile | 1 - drivers/net/fm10k/Makefile | 1 - drivers/net/fm10k/base/meson.build | 1 - drivers/net/hns3/Makefile | 1 - drivers/net/i40e/Makefile | 1 - drivers/net/iavf/Makefile | 2 +- drivers/net/ice/Makefile | 1 - drivers/net/ionic/Makefile | 1 - drivers/net/ipn3ke/Makefile | 1 - drivers/net/ixgbe/Makefile | 1 - drivers/net/memif/Makefile | 7 ------- drivers/net/mlx4/Makefile | 1 - drivers/net/mlx5/Makefile | 3 --- drivers/net/netvsc/Makefile | 1 - drivers/net/nfp/Makefile | 1 - drivers/net/octeontx/Makefile | 2 -- drivers/net/pfe/Makefile | 4 ---- drivers/net/qede/Makefile | 1 - drivers/net/sfc/Makefile | 1 - drivers/net/softnic/Makefile | 1 - drivers/net/tap/Makefile | 1 - drivers/net/thunderx/Makefile | 1 - drivers/net/vdev_netvsc/Makefile | 1 - drivers/net/virtio/Makefile | 1 - drivers/net/vmxnet3/Makefile | 1 - drivers/raw/dpaa2_cmdif/Makefile | 1 - drivers/raw/dpaa2_qdma/Makefile | 1 - drivers/raw/ifpga/Makefile | 1 - drivers/raw/ntb/Makefile | 1 - drivers/vdpa/ifc/Makefile | 1 - drivers/vdpa/mlx5/Makefile | 2 -- lib/librte_bbdev/Makefile | 1 - lib/librte_bpf/Makefile | 1 - lib/librte_cmdline/Makefile | 1 - lib/librte_compressdev/Makefile | 1 - lib/librte_cryptodev/Makefile | 1 - lib/librte_eal/freebsd/Makefile | 1 - lib/librte_eal/linux/Makefile | 1 - lib/librte_ethdev/Makefile | 1 - lib/librte_eventdev/Makefile | 1 - lib/librte_fib/Makefile | 1 - lib/librte_flow_classify/Makefile | 1 - lib/librte_hash/Makefile | 2 +- lib/librte_ipsec/Makefile | 1 - lib/librte_mbuf/Makefile | 1 - lib/librte_mempool/Makefile | 4 ---- lib/librte_net/Makefile | 1 - lib/librte_pdump/Makefile | 1 - lib/librte_pipeline/Makefile | 1 - lib/librte_power/Makefile | 1 - lib/librte_rcu/Makefile | 1 - lib/librte_rib/Makefile | 1 - lib/librte_ring/Makefile | 2 +- lib/librte_stack/Makefile | 1 - lib/librte_telemetry/Makefile | 1 - lib/librte_timer/Makefile | 1 - lib/librte_vhost/Makefile | 1 - mk/rte.app.mk | 2 ++ mk/rte.lib.mk | 1 + 117 files changed, 7 insertions(+), 151 deletions(-) diff --git a/app/test-bbdev/Makefile b/app/test-bbdev/Makefile index c53982ffc..8272d2b1c 100644 --- a/app/test-bbdev/Makefile +++ b/app/test-bbdev/Makefile @@ -8,7 +8,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # APP = testbbdev -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) diff --git a/app/test-compress-perf/Makefile b/app/test-compress-perf/Makefile index ad3b91d0a..2bff53183 100644 --- a/app/test-compress-perf/Makefile +++ b/app/test-compress-perf/Makefile @@ -6,7 +6,6 @@ include $(RTE_SDK)/mk/rte.vars.mk APP = dpdk-test-compress-perf CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 # all source are stored in SRCS-y diff --git a/app/test-crypto-perf/Makefile b/app/test-crypto-perf/Makefile index 78135f38c..0dced790f 100644 --- a/app/test-crypto-perf/Makefile +++ b/app/test-crypto-perf/Makefile @@ -7,7 +7,6 @@ include $(RTE_SDK)/mk/rte.vars.mk APP = dpdk-test-crypto-perf CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 # all source are stored in SRCS-y diff --git a/app/test-fib/Makefile b/app/test-fib/Makefile index 78b45fe31..212bc694a 100644 --- a/app/test-fib/Makefile +++ b/app/test-fib/Makefile @@ -9,7 +9,6 @@ APP = testfib CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API LDFLAGS += -lresolv diff --git a/app/test-pmd/Makefile b/app/test-pmd/Makefile index d5258eae4..ea818de22 100644 --- a/app/test-pmd/Makefile +++ b/app/test-pmd/Makefile @@ -10,7 +10,6 @@ ifeq ($(CONFIG_RTE_TEST_PMD),y) # APP = testpmd -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) CFLAGS += -Wno-deprecated-declarations diff --git a/app/test-sad/Makefile b/app/test-sad/Makefile index 9b354132e..9b5a7ddc6 100644 --- a/app/test-sad/Makefile +++ b/app/test-sad/Makefile @@ -8,7 +8,6 @@ ifeq ($(CONFIG_RTE_LIBRTE_IPSEC),y) APP = testsad CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API # all source are stored in SRCS-y SRCS-y := main.c diff --git a/app/test/Makefile b/app/test/Makefile index 1f080d162..be53d33c3 100644 --- a/app/test/Makefile +++ b/app/test/Makefile @@ -237,8 +237,6 @@ ifeq ($(CONFIG_RTE_LIBRTE_IPSEC),y) LDLIBS += -lrte_ipsec endif -CFLAGS += -DALLOW_EXPERIMENTAL_API - CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) diff --git a/drivers/baseband/fpga_lte_fec/Makefile b/drivers/baseband/fpga_lte_fec/Makefile index b4a442ca5..30caafe3d 100644 --- a/drivers/baseband/fpga_lte_fec/Makefile +++ b/drivers/baseband/fpga_lte_fec/Makefile @@ -7,7 +7,6 @@ include $(RTE_SDK)/mk/rte.vars.mk LIB = librte_pmd_bbdev_fpga_lte_fec.a # build flags -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring diff --git a/drivers/baseband/null/Makefile b/drivers/baseband/null/Makefile index 28751eeb7..0ee500166 100644 --- a/drivers/baseband/null/Makefile +++ b/drivers/baseband/null/Makefile @@ -6,7 +6,6 @@ include $(RTE_SDK)/mk/rte.vars.mk LIB = librte_pmd_bbdev_null.a # build flags -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring -lrte_kvargs diff --git a/drivers/baseband/turbo_sw/Makefile b/drivers/baseband/turbo_sw/Makefile index ec74d277e..c2a6fe0f8 100644 --- a/drivers/baseband/turbo_sw/Makefile +++ b/drivers/baseband/turbo_sw/Makefile @@ -7,7 +7,6 @@ include $(RTE_SDK)/mk/rte.vars.mk LIB = librte_pmd_bbdev_turbo_sw.a # build flags -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring -lrte_kvargs diff --git a/drivers/bus/dpaa/Makefile b/drivers/bus/dpaa/Makefile index 9e1a31bb7..ba40b2116 100644 --- a/drivers/bus/dpaa/Makefile +++ b/drivers/bus/dpaa/Makefile @@ -9,7 +9,6 @@ RTE_BUS_DPAA=$(RTE_SDK)/drivers/bus/dpaa # LIB = librte_bus_dpaa.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS := -I$(SRCDIR) $(CFLAGS) CFLAGS += -O3 $(WERROR_FLAGS) CFLAGS += -Wno-pointer-arith diff --git a/drivers/bus/fslmc/Makefile b/drivers/bus/fslmc/Makefile index 6d2286088..c70e359c8 100644 --- a/drivers/bus/fslmc/Makefile +++ b/drivers/bus/fslmc/Makefile @@ -9,7 +9,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # LIB = librte_bus_fslmc.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) diff --git a/drivers/bus/ifpga/Makefile b/drivers/bus/ifpga/Makefile index 290c1124b..1df369103 100644 --- a/drivers/bus/ifpga/Makefile +++ b/drivers/bus/ifpga/Makefile @@ -8,7 +8,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # LIB = librte_bus_ifpga.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) LDLIBS += -lrte_eal diff --git a/drivers/bus/pci/Makefile b/drivers/bus/pci/Makefile index 975d79652..f4102d0a7 100644 --- a/drivers/bus/pci/Makefile +++ b/drivers/bus/pci/Makefile @@ -8,7 +8,6 @@ EXPORT_MAP := rte_bus_pci_version.map CFLAGS := -I$(SRCDIR) $(CFLAGS) CFLAGS += -O3 $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),) SYSTEM := linux @@ -20,9 +19,6 @@ endif CFLAGS += -I$(RTE_SDK)/drivers/bus/pci/$(SYSTEM) CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common -# memseg walk is not part of stable API yet -CFLAGS += -DALLOW_EXPERIMENTAL_API - LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring LDLIBS += -lrte_pci -lrte_kvargs diff --git a/drivers/bus/vdev/Makefile b/drivers/bus/vdev/Makefile index 63c9b3f59..01747f03a 100644 --- a/drivers/bus/vdev/Makefile +++ b/drivers/bus/vdev/Makefile @@ -10,7 +10,6 @@ LIB = librte_bus_vdev.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API # versioning export map EXPORT_MAP := rte_bus_vdev_version.map diff --git a/drivers/bus/vmbus/Makefile b/drivers/bus/vmbus/Makefile index 59e789db9..335df6a0b 100644 --- a/drivers/bus/vmbus/Makefile +++ b/drivers/bus/vmbus/Makefile @@ -7,7 +7,6 @@ EXPORT_MAP := rte_bus_vmbus_version.map CFLAGS += -I$(SRCDIR) CFLAGS += -O3 $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),) SYSTEM := linux diff --git a/drivers/common/dpaax/Makefile b/drivers/common/dpaax/Makefile index 59bd8ae15..15b0b38d0 100644 --- a/drivers/common/dpaax/Makefile +++ b/drivers/common/dpaax/Makefile @@ -9,7 +9,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # LIB = librte_common_dpaax.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) CFLAGS += -Wno-pointer-arith diff --git a/drivers/common/iavf/Makefile b/drivers/common/iavf/Makefile index 43383e376..f06dafd40 100644 --- a/drivers/common/iavf/Makefile +++ b/drivers/common/iavf/Makefile @@ -8,7 +8,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # LIB = librte_common_iavf.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) CFLAGS += -Wno-pointer-arith diff --git a/drivers/common/octeontx2/Makefile b/drivers/common/octeontx2/Makefile index 48f033dc6..efe3da2cc 100644 --- a/drivers/common/octeontx2/Makefile +++ b/drivers/common/octeontx2/Makefile @@ -13,7 +13,6 @@ CFLAGS += $(WERROR_FLAGS) CFLAGS += -I$(RTE_SDK)/drivers/common/octeontx2 CFLAGS += -I$(RTE_SDK)/drivers/mempool/octeontx2 CFLAGS += -I$(RTE_SDK)/drivers/bus/pci -CFLAGS += -DALLOW_EXPERIMENTAL_API ifneq ($(CONFIG_RTE_ARCH_64),y) CFLAGS += -Wno-int-to-pointer-cast diff --git a/drivers/common/qat/Makefile b/drivers/common/qat/Makefile index 63d8efb2b..28bd5668f 100644 --- a/drivers/common/qat/Makefile +++ b/drivers/common/qat/Makefile @@ -16,7 +16,6 @@ CFLAGS += -I$(QAT_COMPRESS_DIR) ifeq ($(CONFIG_RTE_LIBRTE_COMPRESSDEV),y) - CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lrte_compressdev SRCS-y += qat_comp.c SRCS-y += qat_comp_pmd.c diff --git a/drivers/compress/isal/Makefile b/drivers/compress/isal/Makefile index 6438b75ce..1e225ab43 100644 --- a/drivers/compress/isal/Makefile +++ b/drivers/compress/isal/Makefile @@ -9,7 +9,6 @@ LIB = librte_pmd_isal_comp.a # build flags CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API # external library dependencies LDLIBS += -lisal diff --git a/drivers/compress/octeontx/Makefile b/drivers/compress/octeontx/Makefile index d6324b530..9ba1db791 100644 --- a/drivers/compress/octeontx/Makefile +++ b/drivers/compress/octeontx/Makefile @@ -9,7 +9,6 @@ LIB = librte_pmd_octeontx_zip.a # build flags CFLAGS += $(WERROR_FLAGS) CFLAGS += -O3 -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -I$(RTE_SDK)/drivers/compress/octeontx/include # external library include paths diff --git a/drivers/compress/zlib/Makefile b/drivers/compress/zlib/Makefile index 1eba3560f..9f695f7d9 100644 --- a/drivers/compress/zlib/Makefile +++ b/drivers/compress/zlib/Makefile @@ -9,7 +9,6 @@ LIB = librte_pmd_zlib.a # build flags CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API # versioning export map EXPORT_MAP := rte_pmd_zlib_version.map diff --git a/drivers/crypto/aesni_gcm/Makefile b/drivers/crypto/aesni_gcm/Makefile index b443167d5..01cb4fddf 100644 --- a/drivers/crypto/aesni_gcm/Makefile +++ b/drivers/crypto/aesni_gcm/Makefile @@ -8,7 +8,6 @@ LIB = librte_pmd_aesni_gcm.a # build flags CFLAGS += -O3 -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += $(WERROR_FLAGS) # versioning export map diff --git a/drivers/crypto/aesni_mb/Makefile b/drivers/crypto/aesni_mb/Makefile index aa2e42810..f0dc82f39 100644 --- a/drivers/crypto/aesni_mb/Makefile +++ b/drivers/crypto/aesni_mb/Makefile @@ -9,7 +9,6 @@ LIB = librte_pmd_aesni_mb.a # build flags CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API # versioning export map EXPORT_MAP := rte_pmd_aesni_mb_version.map diff --git a/drivers/crypto/armv8/Makefile b/drivers/crypto/armv8/Makefile index 7f20a28d4..0e3bc9fb7 100644 --- a/drivers/crypto/armv8/Makefile +++ b/drivers/crypto/armv8/Makefile @@ -24,7 +24,6 @@ EXPORT_MAP := rte_pmd_armv8_version.map # external library dependencies CFLAGS += -I$(ARMV8_CRYPTO_LIB_PATH) -CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -L$(ARMV8_CRYPTO_LIB_PATH) -lAArch64crypto LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring LDLIBS += -lrte_cryptodev diff --git a/drivers/crypto/caam_jr/Makefile b/drivers/crypto/caam_jr/Makefile index db1729439..89d323817 100644 --- a/drivers/crypto/caam_jr/Makefile +++ b/drivers/crypto/caam_jr/Makefile @@ -9,8 +9,6 @@ include $(RTE_SDK)/mk/rte.vars.mk LIB = librte_pmd_caam_jr.a # build flags -CFLAGS += -DALLOW_EXPERIMENTAL_API - CFLAGS += -D _GNU_SOURCE CFLAGS += -O3 diff --git a/drivers/crypto/dpaa2_sec/Makefile b/drivers/crypto/dpaa2_sec/Makefile index 96b9c7843..a0a279557 100644 --- a/drivers/crypto/dpaa2_sec/Makefile +++ b/drivers/crypto/dpaa2_sec/Makefile @@ -10,7 +10,6 @@ include $(RTE_SDK)/mk/rte.vars.mk LIB = librte_pmd_dpaa2_sec.a # build flags -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) diff --git a/drivers/crypto/dpaa_sec/Makefile b/drivers/crypto/dpaa_sec/Makefile index 13a5ff20c..ea266962a 100644 --- a/drivers/crypto/dpaa_sec/Makefile +++ b/drivers/crypto/dpaa_sec/Makefile @@ -10,7 +10,6 @@ include $(RTE_SDK)/mk/rte.vars.mk LIB = librte_pmd_dpaa_sec.a # build flags -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) diff --git a/drivers/crypto/kasumi/Makefile b/drivers/crypto/kasumi/Makefile index ad19aad11..a7d0d079d 100644 --- a/drivers/crypto/kasumi/Makefile +++ b/drivers/crypto/kasumi/Makefile @@ -9,7 +9,6 @@ LIB = librte_pmd_kasumi.a # build flags CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API # versioning export map EXPORT_MAP := rte_pmd_kasumi_version.map diff --git a/drivers/crypto/nitrox/Makefile b/drivers/crypto/nitrox/Makefile index fc42ac808..535121196 100644 --- a/drivers/crypto/nitrox/Makefile +++ b/drivers/crypto/nitrox/Makefile @@ -9,7 +9,6 @@ LIB = librte_pmd_nitrox.a # build flags CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API # versioning export map EXPORT_MAP := rte_pmd_nitrox_version.map diff --git a/drivers/crypto/octeontx/Makefile b/drivers/crypto/octeontx/Makefile index 08a99c827..296755ee9 100644 --- a/drivers/crypto/octeontx/Makefile +++ b/drivers/crypto/octeontx/Makefile @@ -19,7 +19,6 @@ VPATH += $(RTE_SDK)/drivers/crypto/octeontx CFLAGS += -O3 CFLAGS += -I$(RTE_SDK)/drivers/common/cpt -CFLAGS += -DALLOW_EXPERIMENTAL_API # PMD code SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO) += otx_cryptodev.c diff --git a/drivers/crypto/octeontx2/Makefile b/drivers/crypto/octeontx2/Makefile index 1458e2b72..5f9a6a0e3 100644 --- a/drivers/crypto/octeontx2/Makefile +++ b/drivers/crypto/octeontx2/Makefile @@ -23,7 +23,6 @@ CFLAGS += -I$(RTE_SDK)/drivers/common/octeontx2 CFLAGS += -I$(RTE_SDK)/drivers/crypto/octeontx2 CFLAGS += -I$(RTE_SDK)/drivers/mempool/octeontx2 CFLAGS += -I$(RTE_SDK)/drivers/net/octeontx2 -CFLAGS += -DALLOW_EXPERIMENTAL_API ifneq ($(CONFIG_RTE_ARCH_64),y) CFLAGS += -Wno-int-to-pointer-cast diff --git a/drivers/crypto/openssl/Makefile b/drivers/crypto/openssl/Makefile index 58a26eced..b85c81655 100644 --- a/drivers/crypto/openssl/Makefile +++ b/drivers/crypto/openssl/Makefile @@ -9,7 +9,6 @@ LIB = librte_pmd_openssl.a # build flags CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API # versioning export map EXPORT_MAP := rte_pmd_openssl_version.map diff --git a/drivers/crypto/snow3g/Makefile b/drivers/crypto/snow3g/Makefile index cbf1a7790..469aefaa5 100644 --- a/drivers/crypto/snow3g/Makefile +++ b/drivers/crypto/snow3g/Makefile @@ -9,7 +9,6 @@ LIB = librte_pmd_snow3g.a # build flags CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API # versioning export map EXPORT_MAP := rte_pmd_snow3g_version.map diff --git a/drivers/crypto/zuc/Makefile b/drivers/crypto/zuc/Makefile index 187534447..529b47f25 100644 --- a/drivers/crypto/zuc/Makefile +++ b/drivers/crypto/zuc/Makefile @@ -9,7 +9,6 @@ LIB = librte_pmd_zuc.a # build flags CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API # versioning export map EXPORT_MAP := rte_pmd_zuc_version.map diff --git a/drivers/event/dpaa/Makefile b/drivers/event/dpaa/Makefile index 15ffc157f..a39dc27c6 100644 --- a/drivers/event/dpaa/Makefile +++ b/drivers/event/dpaa/Makefile @@ -10,7 +10,6 @@ RTE_SDK_DPAA=$(RTE_SDK)/drivers/net/dpaa # LIB = librte_pmd_dpaa_event.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS := -I$(SRCDIR) $(CFLAGS) CFLAGS += -O3 $(WERROR_FLAGS) CFLAGS += -Wno-pointer-arith diff --git a/drivers/event/dpaa2/Makefile b/drivers/event/dpaa2/Makefile index 1cd3b88bd..75cf197c5 100644 --- a/drivers/event/dpaa2/Makefile +++ b/drivers/event/dpaa2/Makefile @@ -31,9 +31,6 @@ CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa2_sec # versioning export map EXPORT_MAP := rte_pmd_dpaa2_event_version.map -# depends on fslmc bus which uses experimental API -CFLAGS += -DALLOW_EXPERIMENTAL_API - # # all source are stored in SRCS-y # diff --git a/drivers/event/dsw/Makefile b/drivers/event/dsw/Makefile index 68d681fab..f6e7dda1f 100644 --- a/drivers/event/dsw/Makefile +++ b/drivers/event/dsw/Makefile @@ -11,9 +11,6 @@ ifneq ($(CONFIG_RTE_TOOLCHAIN_ICC),y) CFLAGS += -Wno-format-nonliteral endif -# Depends on rte_ring_elem_*() -CFLAGS += -DALLOW_EXPERIMENTAL_API - LDLIBS += -lrte_eal LDLIBS += -lrte_mbuf LDLIBS += -lrte_mempool diff --git a/drivers/event/octeontx2/Makefile b/drivers/event/octeontx2/Makefile index bcd22ee8c..9d67b00c6 100644 --- a/drivers/event/octeontx2/Makefile +++ b/drivers/event/octeontx2/Makefile @@ -16,7 +16,6 @@ CFLAGS += -I$(RTE_SDK)/drivers/mempool/octeontx2 CFLAGS += -I$(RTE_SDK)/drivers/event/octeontx2 CFLAGS += -I$(RTE_SDK)/drivers/net/octeontx2 CFLAGS += -O3 -CFLAGS += -DALLOW_EXPERIMENTAL_API ifneq ($(CONFIG_RTE_ARCH_64),y) CFLAGS += -Wno-int-to-pointer-cast diff --git a/drivers/event/opdl/Makefile b/drivers/event/opdl/Makefile index 1dfd6f5e8..71713b00a 100644 --- a/drivers/event/opdl/Makefile +++ b/drivers/event/opdl/Makefile @@ -9,7 +9,6 @@ LIB = librte_pmd_opdl_event.a # build flags CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lrte_eal -lrte_eventdev -lrte_kvargs LDLIBS += -lrte_bus_vdev -lrte_mbuf -lrte_mempool diff --git a/drivers/mempool/bucket/Makefile b/drivers/mempool/bucket/Makefile index 1dc0079f8..c766c35b2 100644 --- a/drivers/mempool/bucket/Makefile +++ b/drivers/mempool/bucket/Makefile @@ -15,7 +15,6 @@ LIB = librte_mempool_bucket.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lrte_eal -lrte_mempool -lrte_ring diff --git a/drivers/mempool/dpaa/Makefile b/drivers/mempool/dpaa/Makefile index 8c786ddbe..144969c62 100644 --- a/drivers/mempool/dpaa/Makefile +++ b/drivers/mempool/dpaa/Makefile @@ -19,9 +19,6 @@ CFLAGS += -I$(RTE_SDK)/lib/librte_mempool # versioning export map EXPORT_MAP := rte_mempool_dpaa_version.map -# depends on dpaa bus which uses experimental API -CFLAGS += -DALLOW_EXPERIMENTAL_API - # all source are stored in SRCS-y # SRCS-$(CONFIG_RTE_LIBRTE_DPAA_MEMPOOL) += dpaa_mempool.c diff --git a/drivers/mempool/dpaa2/Makefile b/drivers/mempool/dpaa2/Makefile index 52565be9a..04db6d27d 100644 --- a/drivers/mempool/dpaa2/Makefile +++ b/drivers/mempool/dpaa2/Makefile @@ -18,9 +18,6 @@ CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/qbman/include # versioning export map EXPORT_MAP := rte_mempool_dpaa2_version.map -# depends on fslmc bus which uses experimental API -CFLAGS += -DALLOW_EXPERIMENTAL_API - # all source are stored in SRCS-y # SRCS-$(CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL) += dpaa2_hw_mempool.c diff --git a/drivers/mempool/octeontx/Makefile b/drivers/mempool/octeontx/Makefile index ee54c66dc..9c840620d 100644 --- a/drivers/mempool/octeontx/Makefile +++ b/drivers/mempool/octeontx/Makefile @@ -11,7 +11,6 @@ LIB = librte_mempool_octeontx.a CFLAGS += $(WERROR_FLAGS) CFLAGS += -I$(RTE_SDK)/drivers/common/octeontx/ -CFLAGS += -DALLOW_EXPERIMENTAL_API EXPORT_MAP := rte_mempool_octeontx_version.map diff --git a/drivers/mempool/octeontx2/Makefile b/drivers/mempool/octeontx2/Makefile index 337babf66..6af7b5432 100644 --- a/drivers/mempool/octeontx2/Makefile +++ b/drivers/mempool/octeontx2/Makefile @@ -23,8 +23,6 @@ CFLAGS += -diag-disable 2259 endif endif -CFLAGS += -DALLOW_EXPERIMENTAL_API - EXPORT_MAP := rte_mempool_octeontx2_version.map # @@ -32,7 +30,7 @@ EXPORT_MAP := rte_mempool_octeontx2_version.map # SRCS-$(CONFIG_RTE_LIBRTE_OCTEONTX2_MEMPOOL) += \ otx2_mempool_ops.c \ - otx2_mempool.c \ + otx2_mempool.c \ otx2_mempool_irq.c \ otx2_mempool_debug.c diff --git a/drivers/mempool/stack/Makefile b/drivers/mempool/stack/Makefile index 97c3dab07..ccfd97040 100644 --- a/drivers/mempool/stack/Makefile +++ b/drivers/mempool/stack/Makefile @@ -10,7 +10,6 @@ LIB = librte_mempool_stack.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API # Headers CFLAGS += -I$(RTE_SDK)/lib/librte_mempool diff --git a/drivers/net/atlantic/Makefile b/drivers/net/atlantic/Makefile index 016e36928..0d0d0a502 100644 --- a/drivers/net/atlantic/Makefile +++ b/drivers/net/atlantic/Makefile @@ -10,7 +10,6 @@ LIB = librte_pmd_atlantic.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API EXPORT_MAP := rte_pmd_atlantic_version.map diff --git a/drivers/net/avp/Makefile b/drivers/net/avp/Makefile index 8c12d3b7a..075247b13 100644 --- a/drivers/net/avp/Makefile +++ b/drivers/net/avp/Makefile @@ -10,7 +10,6 @@ LIB = librte_pmd_avp.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs LDLIBS += -lrte_bus_pci diff --git a/drivers/net/axgbe/Makefile b/drivers/net/axgbe/Makefile index 0097a9307..e421d0da1 100644 --- a/drivers/net/axgbe/Makefile +++ b/drivers/net/axgbe/Makefile @@ -10,7 +10,6 @@ LIB = librte_pmd_axgbe.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API EXPORT_MAP := rte_pmd_axgbe_version.map diff --git a/drivers/net/bnx2x/Makefile b/drivers/net/bnx2x/Makefile index 5f6c39e4e..451434cc1 100644 --- a/drivers/net/bnx2x/Makefile +++ b/drivers/net/bnx2x/Makefile @@ -12,7 +12,6 @@ LIB = librte_pmd_bnx2x.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) CFLAGS += -DZLIB_CONST -CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lz LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs diff --git a/drivers/net/bonding/Makefile b/drivers/net/bonding/Makefile index a64296d8c..728551a84 100644 --- a/drivers/net/bonding/Makefile +++ b/drivers/net/bonding/Makefile @@ -8,7 +8,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # LIB = librte_pmd_bond.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring diff --git a/drivers/net/dpaa/Makefile b/drivers/net/dpaa/Makefile index f63c9bf54..d7bbc0e15 100644 --- a/drivers/net/dpaa/Makefile +++ b/drivers/net/dpaa/Makefile @@ -25,9 +25,6 @@ CFLAGS += -I$(RTE_SDK)/lib/librte_eal/include EXPORT_MAP := rte_pmd_dpaa_version.map -# depends on dpaa bus which uses experimental API -CFLAGS += -DALLOW_EXPERIMENTAL_API - # Interfaces with DPDK SRCS-$(CONFIG_RTE_LIBRTE_DPAA_PMD) += dpaa_ethdev.c SRCS-$(CONFIG_RTE_LIBRTE_DPAA_PMD) += dpaa_rxtx.c diff --git a/drivers/net/dpaa2/Makefile b/drivers/net/dpaa2/Makefile index cdd9115ba..6f38c18b9 100644 --- a/drivers/net/dpaa2/Makefile +++ b/drivers/net/dpaa2/Makefile @@ -24,9 +24,6 @@ CFLAGS += -I$(RTE_SDK)/drivers/mempool/dpaa2 # versioning export map EXPORT_MAP := rte_pmd_dpaa2_version.map -# depends on fslmc bus which uses experimental API -CFLAGS += -DALLOW_EXPERIMENTAL_API - SRCS-$(CONFIG_RTE_LIBRTE_DPAA2_PMD) += base/dpaa2_hw_dpni.c SRCS-$(CONFIG_RTE_LIBRTE_DPAA2_PMD) += dpaa2_rxtx.c SRCS-$(CONFIG_RTE_LIBRTE_DPAA2_PMD) += dpaa2_ethdev.c diff --git a/drivers/net/e1000/Makefile b/drivers/net/e1000/Makefile index d93a5225c..9fb038cf0 100644 --- a/drivers/net/e1000/Makefile +++ b/drivers/net/e1000/Makefile @@ -10,7 +10,6 @@ LIB = librte_pmd_e1000.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs LDLIBS += -lrte_bus_pci diff --git a/drivers/net/ena/Makefile b/drivers/net/ena/Makefile index b44daa896..8ccff36db 100644 --- a/drivers/net/ena/Makefile +++ b/drivers/net/ena/Makefile @@ -12,8 +12,6 @@ CFLAGS += $(WERROR_FLAGS) -O2 INCLUDES :=-I$(SRCDIR) -I$(SRCDIR)/base/ena_defs -I$(SRCDIR)/base EXPORT_MAP := rte_pmd_ena_version.map -# rte_fbarray is not yet part of stable API -CFLAGS += -DALLOW_EXPERIMENTAL_API VPATH += $(SRCDIR)/base # diff --git a/drivers/net/enetc/Makefile b/drivers/net/enetc/Makefile index 7f7a85f64..7276026e3 100644 --- a/drivers/net/enetc/Makefile +++ b/drivers/net/enetc/Makefile @@ -11,7 +11,6 @@ LIB = librte_pmd_enetc.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax -CFLAGS += -DALLOW_EXPERIMENTAL_API EXPORT_MAP := rte_pmd_enetc_version.map SRCS-$(CONFIG_RTE_LIBRTE_ENETC_PMD) += enetc_ethdev.c SRCS-$(CONFIG_RTE_LIBRTE_ENETC_PMD) += enetc_rxtx.c diff --git a/drivers/net/enic/Makefile b/drivers/net/enic/Makefile index 316088a3c..c21294c48 100644 --- a/drivers/net/enic/Makefile +++ b/drivers/net/enic/Makefile @@ -12,7 +12,6 @@ LIB = librte_pmd_enic.a EXPORT_MAP := rte_pmd_enic_version.map # Experimental APIs used: rte_intr_ack -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -I$(SRCDIR)/base/ CFLAGS += -I$(SRCDIR) CFLAGS += -O3 diff --git a/drivers/net/failsafe/Makefile b/drivers/net/failsafe/Makefile index bebc9056e..464fd0515 100644 --- a/drivers/net/failsafe/Makefile +++ b/drivers/net/failsafe/Makefile @@ -27,7 +27,6 @@ endif # No exported include files # Basic CFLAGS: -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -std=gnu99 -Wextra CFLAGS += -O3 CFLAGS += -I. diff --git a/drivers/net/fm10k/Makefile b/drivers/net/fm10k/Makefile index 29e659da8..d48638992 100644 --- a/drivers/net/fm10k/Makefile +++ b/drivers/net/fm10k/Makefile @@ -10,7 +10,6 @@ LIB = librte_pmd_fm10k.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API EXPORT_MAP := rte_pmd_fm10k_version.map diff --git a/drivers/net/fm10k/base/meson.build b/drivers/net/fm10k/base/meson.build index 41f9193df..6ac11b201 100644 --- a/drivers/net/fm10k/base/meson.build +++ b/drivers/net/fm10k/base/meson.build @@ -16,7 +16,6 @@ error_cflags = ['-Wno-unused-parameter', '-Wno-unused-value', '-Wno-implicit-fallthrough' ] c_args = cflags -c_args += '-DALLOW_EXPERIMENTAL_API' foreach flag: error_cflags if cc.has_argument(flag) c_args += flag diff --git a/drivers/net/hns3/Makefile b/drivers/net/hns3/Makefile index ae0ee7e93..d7798a470 100644 --- a/drivers/net/hns3/Makefile +++ b/drivers/net/hns3/Makefile @@ -10,7 +10,6 @@ LIB = librte_pmd_hns3.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API # Experimantal APIs: # - rte_mp_action_register # - rte_mp_action_unregister diff --git a/drivers/net/i40e/Makefile b/drivers/net/i40e/Makefile index 819473aba..7ec8d9533 100644 --- a/drivers/net/i40e/Makefile +++ b/drivers/net/i40e/Makefile @@ -11,7 +11,6 @@ LIB = librte_pmd_i40e.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -DPF_DRIVER -DVF_DRIVER -DINTEGRATED_VF CFLAGS += -DX722_A0_SUPPORT -CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs -lrte_hash diff --git a/drivers/net/iavf/Makefile b/drivers/net/iavf/Makefile index 514073d76..399682594 100644 --- a/drivers/net/iavf/Makefile +++ b/drivers/net/iavf/Makefile @@ -9,7 +9,7 @@ include $(RTE_SDK)/mk/rte.vars.mk LIB = librte_pmd_iavf.a CFLAGS += -I$(RTE_SDK)/drivers/common/iavf -CFLAGS += -O3 $(WERROR_FLAGS) -Wno-strict-aliasing -DALLOW_EXPERIMENTAL_API +CFLAGS += -O3 $(WERROR_FLAGS) -Wno-strict-aliasing LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs -lrte_hash LDLIBS += -lrte_bus_pci diff --git a/drivers/net/ice/Makefile b/drivers/net/ice/Makefile index 6c4d15526..54a90a86f 100644 --- a/drivers/net/ice/Makefile +++ b/drivers/net/ice/Makefile @@ -10,7 +10,6 @@ LIB = librte_pmd_ice.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lrte_eal -lrte_mbuf -lrte_ethdev -lrte_kvargs LDLIBS += -lrte_bus_pci -lrte_mempool -lrte_hash diff --git a/drivers/net/ionic/Makefile b/drivers/net/ionic/Makefile index f74ac2d34..cd6884f2c 100644 --- a/drivers/net/ionic/Makefile +++ b/drivers/net/ionic/Makefile @@ -9,7 +9,6 @@ include $(RTE_SDK)/mk/rte.vars.mk LIB = librte_pmd_ionic.a # Required to use rte_eth_dev_create and rte_eth_dev_destroy -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) diff --git a/drivers/net/ipn3ke/Makefile b/drivers/net/ipn3ke/Makefile index 2c7ef0a1d..40696dbde 100644 --- a/drivers/net/ipn3ke/Makefile +++ b/drivers/net/ipn3ke/Makefile @@ -15,7 +15,6 @@ LIB = librte_pmd_ipn3ke.a # rte_eth_dev_destroy() # rte_eth_switch_domain_free() # -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) CFLAGS += -I$(RTE_SDK)/drivers/bus/ifpga diff --git a/drivers/net/ixgbe/Makefile b/drivers/net/ixgbe/Makefile index aec56a680..0f0bcf1d6 100644 --- a/drivers/net/ixgbe/Makefile +++ b/drivers/net/ixgbe/Makefile @@ -8,7 +8,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # LIB = librte_pmd_ixgbe.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) diff --git a/drivers/net/memif/Makefile b/drivers/net/memif/Makefile index 959b36bcb..3bf4ddce4 100644 --- a/drivers/net/memif/Makefile +++ b/drivers/net/memif/Makefile @@ -12,13 +12,6 @@ EXPORT_MAP := rte_pmd_memif_version.map CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API -# Experimantal APIs: -# - rte_intr_callback_unregister_pending -# - rte_mp_action_register -# - rte_mp_reply -# - rte_mp_request_sync -# - rte_mcfg_get_single_file_segments LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool LDLIBS += -lrte_ethdev -lrte_kvargs -lrte_net LDLIBS += -lrte_hash diff --git a/drivers/net/mlx4/Makefile b/drivers/net/mlx4/Makefile index c5543ed3d..02e9b2ec0 100644 --- a/drivers/net/mlx4/Makefile +++ b/drivers/net/mlx4/Makefile @@ -38,7 +38,6 @@ CFLAGS += -D_BSD_SOURCE CFLAGS += -D_DEFAULT_SOURCE CFLAGS += -D_XOPEN_SOURCE=600 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API ifeq ($(CONFIG_RTE_IBVERBS_LINK_DLOPEN),y) CFLAGS += -DMLX4_GLUE='"$(LIB_GLUE)"' CFLAGS += -DMLX4_GLUE_VERSION='"$(LIB_GLUE_VERSION)"' diff --git a/drivers/net/mlx5/Makefile b/drivers/net/mlx5/Makefile index e8ba6244d..2577ee5e5 100644 --- a/drivers/net/mlx5/Makefile +++ b/drivers/net/mlx5/Makefile @@ -56,9 +56,6 @@ CFLAGS += -Wno-error=cast-qual EXPORT_MAP := rte_pmd_mlx5_version.map -# memseg walk is not part of stable API -CFLAGS += -DALLOW_EXPERIMENTAL_API - # DEBUG which is usually provided on the command-line may enable # CONFIG_RTE_LIBRTE_MLX5_DEBUG. ifeq ($(DEBUG),1) diff --git a/drivers/net/netvsc/Makefile b/drivers/net/netvsc/Makefile index 45526e2a8..da8991584 100644 --- a/drivers/net/netvsc/Makefile +++ b/drivers/net/netvsc/Makefile @@ -5,7 +5,6 @@ include $(RTE_SDK)/mk/rte.vars.mk LIB = librte_pmd_netvsc.a CFLAGS += -O3 $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API EXPORT_MAP := rte_pmd_netvsc_version.map diff --git a/drivers/net/nfp/Makefile b/drivers/net/nfp/Makefile index aa720d669..289b3a60e 100644 --- a/drivers/net/nfp/Makefile +++ b/drivers/net/nfp/Makefile @@ -10,7 +10,6 @@ LIB = librte_pmd_nfp.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lm LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring diff --git a/drivers/net/octeontx/Makefile b/drivers/net/octeontx/Makefile index 8ddfc3089..49ef8f374 100644 --- a/drivers/net/octeontx/Makefile +++ b/drivers/net/octeontx/Makefile @@ -42,8 +42,6 @@ else CFLAGS_octeontx_rxtx.o += -O3 -Ofast endif -CFLAGS_octeontx_ethdev.o += -DALLOW_EXPERIMENTAL_API - LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs -lrte_common_octeontx LDLIBS += -lrte_mempool_octeontx diff --git a/drivers/net/pfe/Makefile b/drivers/net/pfe/Makefile index 20a3839e7..75d30b01a 100644 --- a/drivers/net/pfe/Makefile +++ b/drivers/net/pfe/Makefile @@ -15,10 +15,6 @@ CFLAGS += -I$(RTE_SDK)/drivers/net/pfe/base/ CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax EXPORT_MAP := rte_pmd_pfe_version.map -# Driver uses below experimental APIs -# rte_mem_iova2virt -# rte_mem_virt2memseg -CFLAGS += -DALLOW_EXPERIMENTAL_API # Interfaces with DPDK SRCS-$(CONFIG_RTE_LIBRTE_PFE_PMD) += pfe_ethdev.c diff --git a/drivers/net/qede/Makefile b/drivers/net/qede/Makefile index ada33800c..5810b4d49 100644 --- a/drivers/net/qede/Makefile +++ b/drivers/net/qede/Makefile @@ -12,7 +12,6 @@ LIB = librte_pmd_qede.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs LDLIBS += -lrte_bus_pci diff --git a/drivers/net/sfc/Makefile b/drivers/net/sfc/Makefile index 1f9c0bc3e..921771db7 100644 --- a/drivers/net/sfc/Makefile +++ b/drivers/net/sfc/Makefile @@ -13,7 +13,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # LIB = librte_pmd_sfc_efx.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -I$(SRCDIR)/base/ CFLAGS += -I$(SRCDIR) CFLAGS += -O3 diff --git a/drivers/net/softnic/Makefile b/drivers/net/softnic/Makefile index 5068ffa18..dabbe13a5 100644 --- a/drivers/net/softnic/Makefile +++ b/drivers/net/softnic/Makefile @@ -8,7 +8,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # LIB = librte_pmd_softnic.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) LDLIBS += -lrte_pipeline -lrte_port -lrte_table diff --git a/drivers/net/tap/Makefile b/drivers/net/tap/Makefile index 088fa8f9a..cbf87af40 100644 --- a/drivers/net/tap/Makefile +++ b/drivers/net/tap/Makefile @@ -20,7 +20,6 @@ CFLAGS += -O3 CFLAGS += -I$(SRCDIR) CFLAGS += -I. CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs -lrte_hash LDLIBS += -lrte_bus_vdev -lrte_gso diff --git a/drivers/net/thunderx/Makefile b/drivers/net/thunderx/Makefile index 969338a18..149638a49 100644 --- a/drivers/net/thunderx/Makefile +++ b/drivers/net/thunderx/Makefile @@ -10,7 +10,6 @@ include $(RTE_SDK)/mk/rte.vars.mk LIB = librte_pmd_thunderx_nicvf.a CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lm LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring diff --git a/drivers/net/vdev_netvsc/Makefile b/drivers/net/vdev_netvsc/Makefile index 9cd81225b..01d26fb79 100644 --- a/drivers/net/vdev_netvsc/Makefile +++ b/drivers/net/vdev_netvsc/Makefile @@ -9,7 +9,6 @@ LIB = librte_pmd_vdev_netvsc.a EXPORT_MAP := rte_pmd_vdev_netvsc_version.map # Additional compilation flags. -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += -g CFLAGS += -Wall -Wextra diff --git a/drivers/net/virtio/Makefile b/drivers/net/virtio/Makefile index efdcb0d93..c9edb84ee 100644 --- a/drivers/net/virtio/Makefile +++ b/drivers/net/virtio/Makefile @@ -8,7 +8,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # LIB = librte_pmd_virtio.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring diff --git a/drivers/net/vmxnet3/Makefile b/drivers/net/vmxnet3/Makefile index 3a63cf2e9..4390fedee 100644 --- a/drivers/net/vmxnet3/Makefile +++ b/drivers/net/vmxnet3/Makefile @@ -8,7 +8,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # LIB = librte_pmd_vmxnet3_uio.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) diff --git a/drivers/raw/dpaa2_cmdif/Makefile b/drivers/raw/dpaa2_cmdif/Makefile index f671a30cc..227ec4896 100644 --- a/drivers/raw/dpaa2_cmdif/Makefile +++ b/drivers/raw/dpaa2_cmdif/Makefile @@ -8,7 +8,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # LIB = librte_rawdev_dpaa2_cmdif.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) diff --git a/drivers/raw/dpaa2_qdma/Makefile b/drivers/raw/dpaa2_qdma/Makefile index fc5b3435b..7b2abdddb 100644 --- a/drivers/raw/dpaa2_qdma/Makefile +++ b/drivers/raw/dpaa2_qdma/Makefile @@ -8,7 +8,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # LIB = librte_rawdev_dpaa2_qdma.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) diff --git a/drivers/raw/ifpga/Makefile b/drivers/raw/ifpga/Makefile index eb03a856c..371e127f1 100644 --- a/drivers/raw/ifpga/Makefile +++ b/drivers/raw/ifpga/Makefile @@ -8,7 +8,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # LIB = librte_rawdev_ifpga.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) CFLAGS += -I$(RTE_SDK)/drivers/bus/ifpga diff --git a/drivers/raw/ntb/Makefile b/drivers/raw/ntb/Makefile index d69b4306b..8f0bff9b0 100644 --- a/drivers/raw/ntb/Makefile +++ b/drivers/raw/ntb/Makefile @@ -8,7 +8,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # LIB = librte_rawdev_ntb.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool diff --git a/drivers/vdpa/ifc/Makefile b/drivers/vdpa/ifc/Makefile index fe227b811..b468bfdbd 100644 --- a/drivers/vdpa/ifc/Makefile +++ b/drivers/vdpa/ifc/Makefile @@ -14,7 +14,6 @@ LDLIBS += -lrte_kvargs CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API # # Add extra flags for base driver source files to disable warnings in them diff --git a/drivers/vdpa/mlx5/Makefile b/drivers/vdpa/mlx5/Makefile index 71532174e..ef34c0b88 100644 --- a/drivers/vdpa/mlx5/Makefile +++ b/drivers/vdpa/mlx5/Makefile @@ -35,8 +35,6 @@ LDLIBS += -lrte_eal -lrte_vhost -lrte_kvargs -lrte_pci -lrte_bus_pci -lrte_sched CFLAGS += -Wno-error=cast-qual EXPORT_MAP := rte_pmd_mlx5_vdpa_version.map -# memseg walk is not part of stable API -CFLAGS += -DALLOW_EXPERIMENTAL_API # DEBUG which is usually provided on the command-line may enable # CONFIG_RTE_LIBRTE_MLX5_DEBUG. diff --git a/lib/librte_bbdev/Makefile b/lib/librte_bbdev/Makefile index cdabf64f4..9d7576b35 100644 --- a/lib/librte_bbdev/Makefile +++ b/lib/librte_bbdev/Makefile @@ -7,7 +7,6 @@ include $(RTE_SDK)/mk/rte.vars.mk LIB = librte_bbdev.a # build flags -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) LDLIBS += -lrte_eal -lrte_mempool -lrte_mbuf diff --git a/lib/librte_bpf/Makefile b/lib/librte_bpf/Makefile index 3a20f95e7..3be675043 100644 --- a/lib/librte_bpf/Makefile +++ b/lib/librte_bpf/Makefile @@ -8,7 +8,6 @@ LIB = librte_bpf.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lrte_net -lrte_eal LDLIBS += -lrte_mempool -lrte_ring LDLIBS += -lrte_mbuf -lrte_ethdev diff --git a/lib/librte_cmdline/Makefile b/lib/librte_cmdline/Makefile index 5bcaecc33..619d9a242 100644 --- a/lib/librte_cmdline/Makefile +++ b/lib/librte_cmdline/Makefile @@ -7,7 +7,6 @@ include $(RTE_SDK)/mk/rte.vars.mk LIB = librte_cmdline.a CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 -CFLAGS += -DALLOW_EXPERIMENTAL_API EXPORT_MAP := rte_cmdline_version.map diff --git a/lib/librte_compressdev/Makefile b/lib/librte_compressdev/Makefile index 112cdc5b2..53679d69b 100644 --- a/lib/librte_compressdev/Makefile +++ b/lib/librte_compressdev/Makefile @@ -9,7 +9,6 @@ LIB = librte_compressdev.a # build flags CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lrte_eal -lrte_mempool -lrte_kvargs # library source files diff --git a/lib/librte_cryptodev/Makefile b/lib/librte_cryptodev/Makefile index 7fac49afa..2ba0dbeec 100644 --- a/lib/librte_cryptodev/Makefile +++ b/lib/librte_cryptodev/Makefile @@ -9,7 +9,6 @@ LIB = librte_cryptodev.a # build flags CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lrte_eal -lrte_mempool -lrte_ring -lrte_mbuf LDLIBS += -lrte_kvargs diff --git a/lib/librte_eal/freebsd/Makefile b/lib/librte_eal/freebsd/Makefile index e5d4d8ff2..2d53ce9ee 100644 --- a/lib/librte_eal/freebsd/Makefile +++ b/lib/librte_eal/freebsd/Makefile @@ -9,7 +9,6 @@ ARCH_DIR ?= $(RTE_ARCH) VPATH += $(RTE_SDK)/lib/librte_eal/$(ARCH_DIR) VPATH += $(RTE_SDK)/lib/librte_eal/common -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -I$(SRCDIR)/include CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common CFLAGS += -I$(RTE_SDK)/lib/librte_eal/include diff --git a/lib/librte_eal/linux/Makefile b/lib/librte_eal/linux/Makefile index e5f44959c..fc2316667 100644 --- a/lib/librte_eal/linux/Makefile +++ b/lib/librte_eal/linux/Makefile @@ -9,7 +9,6 @@ ARCH_DIR ?= $(RTE_ARCH) VPATH += $(RTE_SDK)/lib/librte_eal/$(ARCH_DIR) VPATH += $(RTE_SDK)/lib/librte_eal/common -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -I$(SRCDIR)/include CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common CFLAGS += -I$(RTE_SDK)/lib/librte_eal/include diff --git a/lib/librte_ethdev/Makefile b/lib/librte_ethdev/Makefile index b627e4e23..943fb8c87 100644 --- a/lib/librte_ethdev/Makefile +++ b/lib/librte_ethdev/Makefile @@ -8,7 +8,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # LIB = librte_ethdev.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) LDLIBS += -lrte_net -lrte_eal -lrte_mempool -lrte_ring diff --git a/lib/librte_eventdev/Makefile b/lib/librte_eventdev/Makefile index 1052ccdbb..c85c0d3cf 100644 --- a/lib/librte_eventdev/Makefile +++ b/lib/librte_eventdev/Makefile @@ -8,7 +8,6 @@ include $(RTE_SDK)/mk/rte.vars.mk LIB = librte_eventdev.a # build flags -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) ifeq ($(CONFIG_RTE_EXEC_ENV_LINUX),y) diff --git a/lib/librte_fib/Makefile b/lib/librte_fib/Makefile index 7773427d1..1dd2a495b 100644 --- a/lib/librte_fib/Makefile +++ b/lib/librte_fib/Makefile @@ -9,7 +9,6 @@ LIB = librte_fib.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lrte_eal -lrte_rib EXPORT_MAP := rte_fib_version.map diff --git a/lib/librte_flow_classify/Makefile b/lib/librte_flow_classify/Makefile index 34298af1a..ca3cae82d 100644 --- a/lib/librte_flow_classify/Makefile +++ b/lib/librte_flow_classify/Makefile @@ -6,7 +6,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # library name LIB = librte_flow_classify.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) diff --git a/lib/librte_hash/Makefile b/lib/librte_hash/Makefile index 9b36097f4..ec9f86499 100644 --- a/lib/librte_hash/Makefile +++ b/lib/librte_hash/Makefile @@ -6,7 +6,7 @@ include $(RTE_SDK)/mk/rte.vars.mk # library name LIB = librte_hash.a -CFLAGS += -O3 -DALLOW_EXPERIMENTAL_API +CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) LDLIBS += -lrte_eal -lrte_ring diff --git a/lib/librte_ipsec/Makefile b/lib/librte_ipsec/Makefile index f74e8a904..e4c69646b 100644 --- a/lib/librte_ipsec/Makefile +++ b/lib/librte_ipsec/Makefile @@ -8,7 +8,6 @@ LIB = librte_ipsec.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lrte_eal -lrte_mempool -lrte_mbuf -lrte_net LDLIBS += -lrte_cryptodev -lrte_security -lrte_hash diff --git a/lib/librte_mbuf/Makefile b/lib/librte_mbuf/Makefile index 9f6e6387f..41ea5496e 100644 --- a/lib/librte_mbuf/Makefile +++ b/lib/librte_mbuf/Makefile @@ -7,7 +7,6 @@ include $(RTE_SDK)/mk/rte.vars.mk LIB = librte_mbuf.a CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 -CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lrte_eal -lrte_mempool diff --git a/lib/librte_mempool/Makefile b/lib/librte_mempool/Makefile index a5649050b..84aae6604 100644 --- a/lib/librte_mempool/Makefile +++ b/lib/librte_mempool/Makefile @@ -7,14 +7,10 @@ include $(RTE_SDK)/mk/rte.vars.mk LIB = librte_mempool.a CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 -CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lrte_eal -lrte_ring EXPORT_MAP := rte_mempool_version.map -# memseg walk is not yet part of stable API -CFLAGS += -DALLOW_EXPERIMENTAL_API - # all source are stored in SRCS-y SRCS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += rte_mempool.c SRCS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += rte_mempool_ops.c diff --git a/lib/librte_net/Makefile b/lib/librte_net/Makefile index aabdf4879..aa1d6fed5 100644 --- a/lib/librte_net/Makefile +++ b/lib/librte_net/Makefile @@ -5,7 +5,6 @@ include $(RTE_SDK)/mk/rte.vars.mk LIB = librte_net.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 LDLIBS += -lrte_mbuf -lrte_eal -lrte_mempool diff --git a/lib/librte_pdump/Makefile b/lib/librte_pdump/Makefile index fde8ac92b..ece8aaacc 100644 --- a/lib/librte_pdump/Makefile +++ b/lib/librte_pdump/Makefile @@ -6,7 +6,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # library name LIB = librte_pdump.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 LDLIBS += -lrte_eal -lrte_mempool -lrte_mbuf -lrte_ethdev diff --git a/lib/librte_pipeline/Makefile b/lib/librte_pipeline/Makefile index d2abb5f3f..cfbbd1828 100644 --- a/lib/librte_pipeline/Makefile +++ b/lib/librte_pipeline/Makefile @@ -8,7 +8,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # LIB = librte_pipeline.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) LDLIBS += -lrte_eal -lrte_mempool -lrte_mbuf -lrte_table diff --git a/lib/librte_power/Makefile b/lib/librte_power/Makefile index 9a6db07e5..087d643ee 100644 --- a/lib/librte_power/Makefile +++ b/lib/librte_power/Makefile @@ -6,7 +6,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # library name LIB = librte_power.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 -fno-strict-aliasing LDLIBS += -lrte_eal -lrte_timer diff --git a/lib/librte_rcu/Makefile b/lib/librte_rcu/Makefile index c4bb28d77..728669975 100644 --- a/lib/librte_rcu/Makefile +++ b/lib/librte_rcu/Makefile @@ -6,7 +6,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # library name LIB = librte_rcu.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 LDLIBS += -lrte_eal diff --git a/lib/librte_rib/Makefile b/lib/librte_rib/Makefile index 4a1df4e06..be80ce5d3 100644 --- a/lib/librte_rib/Makefile +++ b/lib/librte_rib/Makefile @@ -9,7 +9,6 @@ LIB = librte_rib.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lrte_eal -lrte_mempool EXPORT_MAP := rte_rib_version.map diff --git a/lib/librte_ring/Makefile b/lib/librte_ring/Makefile index 917c560ad..28368e6d1 100644 --- a/lib/librte_ring/Makefile +++ b/lib/librte_ring/Makefile @@ -6,7 +6,7 @@ include $(RTE_SDK)/mk/rte.vars.mk # library name LIB = librte_ring.a -CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 -DALLOW_EXPERIMENTAL_API +CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 LDLIBS += -lrte_eal EXPORT_MAP := rte_ring_version.map diff --git a/lib/librte_stack/Makefile b/lib/librte_stack/Makefile index 94ee48d4b..020ef102b 100644 --- a/lib/librte_stack/Makefile +++ b/lib/librte_stack/Makefile @@ -7,7 +7,6 @@ include $(RTE_SDK)/mk/rte.vars.mk LIB = librte_stack.a CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 -CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lrte_eal EXPORT_MAP := rte_stack_version.map diff --git a/lib/librte_telemetry/Makefile b/lib/librte_telemetry/Makefile index f36454855..12009b9a7 100644 --- a/lib/librte_telemetry/Makefile +++ b/lib/librte_telemetry/Makefile @@ -8,7 +8,6 @@ LIB = librte_telemetry.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lrte_eal -lrte_ethdev LDLIBS += -lrte_metrics diff --git a/lib/librte_timer/Makefile b/lib/librte_timer/Makefile index 1c290b4c2..7e95d120c 100644 --- a/lib/librte_timer/Makefile +++ b/lib/librte_timer/Makefile @@ -6,7 +6,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # library name LIB = librte_timer.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 LDLIBS += -lrte_eal diff --git a/lib/librte_vhost/Makefile b/lib/librte_vhost/Makefile index c5cf6632d..e592795f2 100644 --- a/lib/librte_vhost/Makefile +++ b/lib/librte_vhost/Makefile @@ -8,7 +8,6 @@ LIB = librte_vhost.a EXPORT_MAP := rte_vhost_version.map -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 CFLAGS += -I vhost_user CFLAGS += -fno-strict-aliasing diff --git a/mk/rte.app.mk b/mk/rte.app.mk index d295ca0a5..1cf7f377a 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -27,6 +27,8 @@ LDFLAGS += --as-needed # default path for libs _LDLIBS-y += -L$(RTE_SDK_BIN)/lib +CFLAGS += -DALLOW_EXPERIMENTAL_API + # # Order is important: from higher level to lower level # diff --git a/mk/rte.lib.mk b/mk/rte.lib.mk index 682b590db..0f7a34ece 100644 --- a/mk/rte.lib.mk +++ b/mk/rte.lib.mk @@ -34,6 +34,7 @@ _INSTALL = $(INSTALL-FILES-y) $(RTE_OUTPUT)/lib/$(LIB) _CLEAN = doclean LDLIBS += $(EXECENV_LDLIBS-y) +CFLAGS += -DALLOW_EXPERIMENTAL_API .PHONY: all all: install -- 2.17.1