[dpdk-dev] [PATCH 2/2] build: makefile make experimental tag as global

Ferruh Yigit ferruh.yigit at intel.com
Thu Apr 2 17:40:06 CEST 2020


On 4/2/2020 4:06 PM, pvnnikhilesh at gmail.com wrote:
> From: Pavan Nikhilesh <pbhagavatula at marvell.com>
> 
> Make ALLOW_EXPERIMENTAL_API global across lib, drivers and apps.
> 
> Signed-off-by: Pavan Nikhilesh <pbhagavatula at marvell.com>

I am OK to not require this flag for DPDK internally.

But I remember this has been suggested when __rte_experimental implemented but
rejected that time, and forced the flag for internals too.

> @@ -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

Some of the flags have comments around them to clarify why the flag is required,
I was mainly requesting it to manange when to remove this flag, those comments
also should be removed.


More information about the dev mailing list