Set allow_experimental_apis to true to allow the use of experimental
API's.

Signed-off-by: Pavan Nikhilesh <pbhagavat...@caviumnetworks.com>
---

 v2 Changes:
 - Use allow_experimental_apis instead of specifying
 '-DALLOW_EXPERIMENTAL_API' through cflags.

 drivers/net/octeontx/meson.build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/octeontx/meson.build b/drivers/net/octeontx/meson.build
index ef789eaa9..0e249eb98 100644
--- a/drivers/net/octeontx/meson.build
+++ b/drivers/net/octeontx/meson.build
@@ -8,6 +8,8 @@ sources = files('octeontx_rxtx.c',
                'octeontx_ethdev.c'
                )

+allow_experimental_apis = true
+
 deps += ['mempool_octeontx', 'eventdev']

 includes += include_directories('base')
--
2.14.1

Reply via email to