From: Bruce Richardson Date: Wed, 4 Apr 2018 10:12:13 +0000 (+0100) Subject: rawdev: add to meson build X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=40db28c1879cd34b696bbf45e34de376dbadcbf8;p=dpdk.git rawdev: add to meson build Add librte_rawdev to the meson build of DPDK. Signed-off-by: Bruce Richardson Tested-by: Shreyansh Jain --- diff --git a/config/rte_config.h b/config/rte_config.h index ed2deb5d7a..0d61b84c17 100644 --- a/config/rte_config.h +++ b/config/rte_config.h @@ -61,6 +61,9 @@ #define RTE_EVENT_MAX_QUEUES_PER_DEV 64 #define RTE_EVENT_TIMER_ADAPTER_NUM_MAX 32 +/* 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 0000000000..dcd37ad498 --- /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 b1ad35fc64..73d6f25c79 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -19,7 +19,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', 'vhost', # add pkt framework libs which use other libs from above 'port', 'table', 'pipeline',