[dpdk-dev] [PATCH 1/5] drivers/octeontx2: allow experimental symbols
Sunil Kumar Kori
skori at marvell.com
Mon Nov 25 12:35:33 CET 2019
Multiple experimental symbols are used. They must be allowed
to avoid compilation error.
Signed-off-by: Sunil Kumar Kori <skori at marvell.com>
---
drivers/common/octeontx2/Makefile | 2 ++
drivers/net/octeontx2/Makefile | 2 ++
drivers/raw/octeontx2_dma/Makefile | 2 ++
3 files changed, 6 insertions(+)
diff --git a/drivers/common/octeontx2/Makefile b/drivers/common/octeontx2/Makefile
index eaff29433..b1c1792fb 100644
--- a/drivers/common/octeontx2/Makefile
+++ b/drivers/common/octeontx2/Makefile
@@ -22,6 +22,8 @@ CFLAGS += -diag-disable 2259
endif
endif
+CFLAGS += -DALLOW_EXPERIMENTAL_API
+
EXPORT_MAP := rte_common_octeontx2_version.map
#
diff --git a/drivers/net/octeontx2/Makefile b/drivers/net/octeontx2/Makefile
index 68f5765db..3da4d8cc1 100644
--- a/drivers/net/octeontx2/Makefile
+++ b/drivers/net/octeontx2/Makefile
@@ -26,6 +26,8 @@ CFLAGS += -diag-disable 2259
endif
endif
+CFLAGS += -DALLOW_EXPERIMENTAL_API
+
EXPORT_MAP := rte_pmd_octeontx2_version.map
#
diff --git a/drivers/raw/octeontx2_dma/Makefile b/drivers/raw/octeontx2_dma/Makefile
index c64ca3497..0d0c530fe 100644
--- a/drivers/raw/octeontx2_dma/Makefile
+++ b/drivers/raw/octeontx2_dma/Makefile
@@ -22,6 +22,8 @@ CFLAGS += -diag-disable 2259
endif
endif
+CFLAGS += -DALLOW_EXPERIMENTAL_API
+
EXPORT_MAP := rte_rawdev_octeontx2_dma_version.map
#
--
2.17.1
More information about the dev
mailing list