Skip to contentSkip to conversation

net/bnxt: remove unneeded experimental build flag

PATCH Applied David Marchand 2 participants 3 messages Jul 16, 2020 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/bnxt: remove unneeded experimental build flag

-DALLOW_EXPERIMENTAL_API is always set for in-tree compilation. See https://git.dpdk.org/dpdk/commit/?id=acec04c4b2f5

Fixes 322bd6e70272 ("net/bnxt: add port representor infrastructure")
---
 drivers/net/bnxt/Makefile | 1 -
 1 file changed, 1 deletion(-)
drivers/net/bnxt/Makefile +0 -1
index c54fd108d1..2c4cdd1c40 100644
@@ -14,7 +14,6 @@ LIB = librte_pmd_bnxt.a
 EXPORT_MAP := rte_pmd_bnxt_version.map
 
 CFLAGS += -O3
-CFLAGS += -DALLOW_EXPERIMENTAL_API
 CFLAGS += $(WERROR_FLAGS)
 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
 LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
Signature · 1 line
2.23.0
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · David Marchand

-DALLOW_EXPERIMENTAL_API is always set for in-tree compilation. See https://git.dpdk.org/dpdk/commit/?id=acec04c4b2f5

Fixes 322bd6e70272 ("net/bnxt: add port representor infrastructure")
Quoted 20 lines
---
 drivers/net/bnxt/Makefile | 1 -
 1 file changed, 1 deletion(-)
drivers/net/bnxt/Makefile +0 -2
index c54fd108d1..2c4cdd1c40 100644
@@ -14,7 +14,6 @@ LIB = librte_pmd_bnxt.a
 EXPORT_MAP := rte_pmd_bnxt_version.map
 
 CFLAGS += -O3
-CFLAGS += -DALLOW_EXPERIMENTAL_API
 CFLAGS += $(WERROR_FLAGS)
 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
 LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
--

2.23.0

#2 lore raw
Quoted 4 lines · Ajit Khaparde

On Thu, Jul 16, 2020 at 12:26 AM David Marchand <[email protected]> wrote:

Quoted 9 lines
Quoted 7 lines

-DALLOW_EXPERIMENTAL_API is always set for in-tree compilation. See https://git.dpdk.org/dpdk/commit/?id=acec04c4b2f5

Fixes 322bd6e70272 ("net/bnxt: add port representor infrastructure")

Applied to dpdk-next-net-brcm. Thanks

Quoted 22 lines
Quoted 22 lines

---
 drivers/net/bnxt/Makefile | 1 -
 1 file changed, 1 deletion(-)
drivers/net/bnxt/Makefile +0 -2
index c54fd108d1..2c4cdd1c40 100644
@@ -14,7 +14,6 @@ LIB = librte_pmd_bnxt.a
 EXPORT_MAP := rte_pmd_bnxt_version.map
 
 CFLAGS += -O3
-CFLAGS += -DALLOW_EXPERIMENTAL_API
 CFLAGS += $(WERROR_FLAGS)
 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
 LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
--

2.23.0