From: Ilya Maximets <i.maximets@samsung.com>
To: dev@dpdk.org, Bruce Richardson <bruce.richardson@intel.com>
Cc: Luca Boccassi <bluca@debian.org>, Ilya Maximets <i.maximets@samsung.com>
Subject: [dpdk-dev] [PATCH] net/*/base: allow experimental APIs in base of avf and qede
Date: Thu, 04 Oct 2018 16:18:35 +0300 [thread overview]
Message-ID: <20181004131835.32734-1-i.maximets@samsung.com> (raw)
In-Reply-To: <CGME20181004131626eucas1p1161f9245280c8a4ca3a7d5b2f93b8ee2@eucas1p1.samsung.com>
This functionality was missed while adding new drivers to
the meson build.
Fixes: 1d75caf81474 ("net/avf: add meson support")
Fixes: 30d3d0168301 ("net/qede: add in meson build")
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
---
drivers/net/avf/base/meson.build | 3 +++
drivers/net/qede/base/meson.build | 3 +++
2 files changed, 6 insertions(+)
diff --git a/drivers/net/avf/base/meson.build b/drivers/net/avf/base/meson.build
index 90fd6b445..6f3d7192e 100644
--- a/drivers/net/avf/base/meson.build
+++ b/drivers/net/avf/base/meson.build
@@ -8,6 +8,9 @@ sources = [
error_cflags = ['-Wno-pointer-to-int-cast']
c_args = cflags
+if allow_experimental_apis
+ c_args += '-DALLOW_EXPERIMENTAL_API'
+endif
foreach flag: error_cflags
if cc.has_argument(flag)
c_args += flag
diff --git a/drivers/net/qede/base/meson.build b/drivers/net/qede/base/meson.build
index 59b41c895..71b89737d 100644
--- a/drivers/net/qede/base/meson.build
+++ b/drivers/net/qede/base/meson.build
@@ -45,6 +45,9 @@ error_cflags = [
'-Wno-pointer-bool-conversion',
]
c_args = cflags
+if allow_experimental_apis
+ c_args += '-DALLOW_EXPERIMENTAL_API'
+endif
foreach flag: error_cflags
if cc.has_argument(flag)
c_args += flag
--
2.17.1
next parent reply other threads:[~2018-10-04 13:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20181004131626eucas1p1161f9245280c8a4ca3a7d5b2f93b8ee2@eucas1p1.samsung.com>
2018-10-04 13:18 ` Ilya Maximets [this message]
2018-10-04 13:37 ` Bruce Richardson
2018-10-26 13:56 ` Ferruh Yigit
2018-10-04 14:51 ` Ferruh Yigit
2018-10-04 15:10 ` Ilya Maximets
2018-10-04 15:23 ` Bruce Richardson
2018-10-25 13:29 ` Ferruh Yigit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181004131835.32734-1-i.maximets@samsung.com \
--to=i.maximets@samsung.com \
--cc=bluca@debian.org \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).