[dpdk-dev] net/octeontx: add allow experimental define as flag to meson

Message ID 20180205105800.26244-1-pbhagavatula@caviumnetworks.com (mailing list archive)
State Superseded, archived
Delegated to: Bruce Richardson
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Pavan Nikhilesh Feb. 5, 2018, 10:58 a.m. UTC
  Add ALLOW_EXPERIMENTAL_API define as cflag to meson.

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

 In reference to http://dpdk.org/dev/patchwork/patch/34955/

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

--
2.14.1
  

Patch

diff --git a/drivers/net/octeontx/meson.build b/drivers/net/octeontx/meson.build
index ef789eaa9..135e63e2f 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'
 		)

+cflags += '-DALLOW_EXPERIMENTAL_API'
+
 deps += ['mempool_octeontx', 'eventdev']

 includes += include_directories('base')