* [dpdk-dev] [PATCH] rawdev: add to meson build
@ 2018-04-04 10:12 Bruce Richardson
2018-04-09 14:37 ` Shreyansh Jain
0 siblings, 1 reply; 3+ messages in thread
From: Bruce Richardson @ 2018-04-04 10:12 UTC (permalink / raw)
To: shreyansh.jain, hemant.agrawal; +Cc: dev, Bruce Richardson
Add librte_rawdev to the meson build of DPDK.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
config/rte_config.h | 3 +++
lib/librte_rawdev/meson.build | 6 ++++++
lib/meson.build | 2 +-
3 files changed, 10 insertions(+), 1 deletion(-)
create mode 100644 lib/librte_rawdev/meson.build
diff --git a/config/rte_config.h b/config/rte_config.h
index 72c0aa2d2..83109a65c 100644
--- a/config/rte_config.h
+++ b/config/rte_config.h
@@ -56,6 +56,9 @@
#define RTE_EVENT_MAX_DEVS 16
#define RTE_EVENT_MAX_QUEUES_PER_DEV 64
+/* rawdev defines */
+#define RTE_RAWDEV_MAX_DEVS 10
+
/* ip_fragmentation defines */
#define RTE_LIBRTE_IP_FRAG_MAX_FRAG 4
#undef RTE_LIBRTE_IP_FRAG_TBL_STAT
diff --git a/lib/librte_rawdev/meson.build b/lib/librte_rawdev/meson.build
new file mode 100644
index 000000000..dcd37ad49
--- /dev/null
+++ b/lib/librte_rawdev/meson.build
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Intel Corporation
+
+allow_experimental_apis = true
+sources = files('rte_rawdev.c')
+headers = files('rte_rawdev.h', 'rte_rawdev_pmd.h')
diff --git a/lib/meson.build b/lib/meson.build
index ef6159170..17edc4da4 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -18,7 +18,7 @@ libraries = [ 'compat', # just a header, used for versioning
'distributor', 'efd', 'eventdev',
'gro', 'gso', 'ip_frag', 'jobstats',
'kni', 'latencystats', 'lpm', 'member',
- 'meter', 'power', 'pdump',
+ 'meter', 'power', 'pdump', 'rawdev',
'reorder', 'sched', 'security', 'timer', 'vhost',
# add pkt framework libs which use other libs from above
'port', 'table', 'pipeline',
--
2.14.3
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] rawdev: add to meson build
2018-04-04 10:12 [dpdk-dev] [PATCH] rawdev: add to meson build Bruce Richardson
@ 2018-04-09 14:37 ` Shreyansh Jain
2018-04-10 14:13 ` Bruce Richardson
0 siblings, 1 reply; 3+ messages in thread
From: Shreyansh Jain @ 2018-04-09 14:37 UTC (permalink / raw)
To: Bruce Richardson; +Cc: hemant.agrawal, dev
On Wednesday 04 April 2018 03:42 PM, Bruce Richardson wrote:
> Add librte_rawdev to the meson build of DPDK.
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> ---
> config/rte_config.h | 3 +++
> lib/librte_rawdev/meson.build | 6 ++++++
> lib/meson.build | 2 +-
> 3 files changed, 10 insertions(+), 1 deletion(-)
> create mode 100644 lib/librte_rawdev/meson.build
>
Tested-by: Shreyansh Jain <shreyansh.jain@nxp.com>
> diff --git a/config/rte_config.h b/config/rte_config.h
> index 72c0aa2d2..83109a65c 100644
> --- a/config/rte_config.h
> +++ b/config/rte_config.h
> @@ -56,6 +56,9 @@
> #define RTE_EVENT_MAX_DEVS 16
> #define RTE_EVENT_MAX_QUEUES_PER_DEV 64
>
> +/* rawdev defines */
> +#define RTE_RAWDEV_MAX_DEVS 10
> +
> /* ip_fragmentation defines */
> #define RTE_LIBRTE_IP_FRAG_MAX_FRAG 4
> #undef RTE_LIBRTE_IP_FRAG_TBL_STAT
> diff --git a/lib/librte_rawdev/meson.build b/lib/librte_rawdev/meson.build
> new file mode 100644
> index 000000000..dcd37ad49
> --- /dev/null
> +++ b/lib/librte_rawdev/meson.build
> @@ -0,0 +1,6 @@
> +# SPDX-License-Identifier: BSD-3-Clause
> +# Copyright(c) 2018 Intel Corporation
> +
> +allow_experimental_apis = true
> +sources = files('rte_rawdev.c')
> +headers = files('rte_rawdev.h', 'rte_rawdev_pmd.h')
> diff --git a/lib/meson.build b/lib/meson.build
> index ef6159170..17edc4da4 100644
> --- a/lib/meson.build
> +++ b/lib/meson.build
> @@ -18,7 +18,7 @@ libraries = [ 'compat', # just a header, used for versioning
> 'distributor', 'efd', 'eventdev',
> 'gro', 'gso', 'ip_frag', 'jobstats',
> 'kni', 'latencystats', 'lpm', 'member',
> - 'meter', 'power', 'pdump',
> + 'meter', 'power', 'pdump', 'rawdev',
> 'reorder', 'sched', 'security', 'timer', 'vhost',
> # add pkt framework libs which use other libs from above
> 'port', 'table', 'pipeline',
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] rawdev: add to meson build
2018-04-09 14:37 ` Shreyansh Jain
@ 2018-04-10 14:13 ` Bruce Richardson
0 siblings, 0 replies; 3+ messages in thread
From: Bruce Richardson @ 2018-04-10 14:13 UTC (permalink / raw)
To: Shreyansh Jain; +Cc: hemant.agrawal, dev
On Mon, Apr 09, 2018 at 08:07:41PM +0530, Shreyansh Jain wrote:
> On Wednesday 04 April 2018 03:42 PM, Bruce Richardson wrote:
> > Add librte_rawdev to the meson build of DPDK.
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> > ---
> > config/rte_config.h | 3 +++
> > lib/librte_rawdev/meson.build | 6 ++++++
> > lib/meson.build | 2 +-
> > 3 files changed, 10 insertions(+), 1 deletion(-)
> > create mode 100644 lib/librte_rawdev/meson.build
> >
>
> Tested-by: Shreyansh Jain <shreyansh.jain@nxp.com>
>
Applied to dpdk-next-build
/Bruce
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-04-10 14:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-04 10:12 [dpdk-dev] [PATCH] rawdev: add to meson build Bruce Richardson
2018-04-09 14:37 ` Shreyansh Jain
2018-04-10 14:13 ` Bruce Richardson
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).