get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/27569/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 27569,
    "url": "http://patches.dpdk.org/api/patches/27569/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20170814095208.166496-35-bruce.richardson@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20170814095208.166496-35-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20170814095208.166496-35-bruce.richardson@intel.com",
    "date": "2017-08-14T09:52:02",
    "name": "[dpdk-dev,RFCv2,34/40] build: add most remaining libraries to meson build",
    "commit_ref": null,
    "pull_url": null,
    "state": "rfc",
    "archived": true,
    "hash": "b9272e78dcba7b2d32de4ca731379cbd4a89f7b3",
    "submitter": {
        "id": 20,
        "url": "http://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20170814095208.166496-35-bruce.richardson@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/27569/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/27569/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id C51529B95;\n\tMon, 14 Aug 2017 12:04:24 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id 323C699AE\n\tfor <dev@dpdk.org>; Mon, 14 Aug 2017 12:03:52 +0200 (CEST)",
            "from orsmga004.jf.intel.com ([10.7.209.38])\n\tby orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t14 Aug 2017 03:03:51 -0700",
            "from silpixa00399126.ir.intel.com (HELO\n\tsilpixa00399126.ger.corp.intel.com) ([10.237.223.223])\n\tby orsmga004.jf.intel.com with ESMTP; 14 Aug 2017 03:03:50 -0700"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.41,372,1498546800\"; d=\"scan'208\";a=\"118723928\"",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net,\n\tBruce Richardson <bruce.richardson@intel.com>",
        "Date": "Mon, 14 Aug 2017 10:52:02 +0100",
        "Message-Id": "<20170814095208.166496-35-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.13.4",
        "In-Reply-To": "<20170814095208.166496-1-bruce.richardson@intel.com>",
        "References": "<20170814095208.166496-1-bruce.richardson@intel.com>",
        "Subject": "[dpdk-dev] [RFCv2 34/40] build: add most remaining libraries to\n\tmeson build",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Only libraries not included in meson build at this point are the three\npacket framework libs, and the acl library (which needs some custom\nhandling for the different instruction set levels it has).\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n app/test-pmd/meson.build            |  3 +++\n config/meson.build                  |  2 ++\n config/rte_config.h                 | 19 ++++++++++++++++++\n drivers/mempool/meson.build         |  2 +-\n lib/librte_bitratestats/meson.build | 34 ++++++++++++++++++++++++++++++++\n lib/librte_cfgfile/meson.build      | 35 +++++++++++++++++++++++++++++++++\n lib/librte_cryptodev/meson.build    |  1 +\n lib/librte_distributor/meson.build  | 39 +++++++++++++++++++++++++++++++++++++\n lib/librte_efd/meson.build          | 34 ++++++++++++++++++++++++++++++++\n lib/librte_ether/meson.build        |  2 +-\n lib/librte_eventdev/meson.build     | 36 ++++++++++++++++++++++++++++++++++\n lib/librte_ip_frag/meson.build      | 39 +++++++++++++++++++++++++++++++++++++\n lib/librte_jobstats/meson.build     | 34 ++++++++++++++++++++++++++++++++\n lib/librte_kni/meson.build          | 35 +++++++++++++++++++++++++++++++++\n lib/librte_latencystats/meson.build | 34 ++++++++++++++++++++++++++++++++\n lib/librte_lpm/meson.build          | 35 +++++++++++++++++++++++++++++++++\n lib/librte_mbuf/meson.build         |  2 +-\n lib/librte_mempool/meson.build      |  3 +--\n lib/librte_meter/meson.build        | 34 ++++++++++++++++++++++++++++++++\n lib/librte_net/meson.build          |  2 +-\n lib/librte_pdump/meson.build        | 34 ++++++++++++++++++++++++++++++++\n lib/librte_power/meson.build        | 35 +++++++++++++++++++++++++++++++++\n lib/librte_reorder/meson.build      | 34 ++++++++++++++++++++++++++++++++\n lib/librte_sched/meson.build        | 36 ++++++++++++++++++++++++++++++++++\n lib/librte_timer/meson.build        | 34 ++++++++++++++++++++++++++++++++\n lib/librte_vhost/meson.build        | 36 ++++++++++++++++++++++++++++++++++\n lib/meson.build                     | 24 +++++++++++++++++++----\n 27 files changed, 648 insertions(+), 10 deletions(-)\n create mode 100644 lib/librte_bitratestats/meson.build\n create mode 100644 lib/librte_cfgfile/meson.build\n create mode 100644 lib/librte_distributor/meson.build\n create mode 100644 lib/librte_efd/meson.build\n create mode 100644 lib/librte_eventdev/meson.build\n create mode 100644 lib/librte_ip_frag/meson.build\n create mode 100644 lib/librte_jobstats/meson.build\n create mode 100644 lib/librte_kni/meson.build\n create mode 100644 lib/librte_latencystats/meson.build\n create mode 100644 lib/librte_lpm/meson.build\n create mode 100644 lib/librte_meter/meson.build\n create mode 100644 lib/librte_pdump/meson.build\n create mode 100644 lib/librte_power/meson.build\n create mode 100644 lib/librte_reorder/meson.build\n create mode 100644 lib/librte_sched/meson.build\n create mode 100644 lib/librte_timer/meson.build\n create mode 100644 lib/librte_vhost/meson.build",
    "diff": "diff --git a/app/test-pmd/meson.build b/app/test-pmd/meson.build\nindex 9c60f4bc0..843feb54f 100644\n--- a/app/test-pmd/meson.build\n+++ b/app/test-pmd/meson.build\n@@ -46,6 +46,9 @@ sources = files('cmdline.c',\n \n deps = ['rte_eal', 'rte_net', 'rte_ether', 'rte_mempool', 'rte_ring',\n \t'rte_mbuf', 'rte_gro', 'rte_cmdline', 'rte_metrics']\n+if dpdk_conf.has('RTE_LIBRTE_PDUMP')\n+\tdeps += 'rte_pdump'\n+endif\n if dpdk_conf.has('RTE_LIBRTE_I40E_PMD')\n \tdeps += 'rte_pmd_i40e'\n endif\ndiff --git a/config/meson.build b/config/meson.build\nindex 4a6a69d13..3a6bcc58d 100644\n--- a/config/meson.build\n+++ b/config/meson.build\n@@ -33,6 +33,8 @@\n machine = get_option('machine')\n dpdk_conf.set('RTE_MACHINE', machine)\n add_project_arguments('-march=@0@'.format(machine), language: 'c')\n+# some libs depend on maths lib\n+add_project_link_arguments('-lm', language: 'c')\n \n # add -include rte_config to cflags\n add_project_arguments('-include', 'rte_config.h', language: 'c')\ndiff --git a/config/rte_config.h b/config/rte_config.h\nindex 6eb72415a..651c9b5d6 100644\n--- a/config/rte_config.h\n+++ b/config/rte_config.h\n@@ -75,6 +75,25 @@\n /* cryptodev defines */\n #define RTE_CRYPTO_MAX_DEVS 64\n #define RTE_CRYPTODEV_NAME_LEN 64\n+\n+/* eventdev defines */\n+#define RTE_EVENT_MAX_DEVS 16\n+#define RTE_EVENT_MAX_QUEUES_PER_DEV 64\n+\n+/* ip_fragmentation defines */\n+#define RTE_LIBRTE_IP_FRAG_MAX_FRAG 4\n+#undef RTE_LIBRTE_IP_FRAG_TBL_STAT\n+\n+/* rte_power defines */\n+#define RTE_MAX_LCORE_FREQS 64\n+\n+/* rte_sched defines */\n+#undef RTE_SCHED_RED\n+#undef RTE_SCHED_COLLECT_STATS\n+#undef RTE_SCHED_SUBPORT_TC_OV\n+#define RTE_SCHED_PORT_N_GRINDERS 8\n+#undef RTE_SCHED_VECTOR\n+\n /****** driver defines ********/\n \n /* i40e defines */\ndiff --git a/drivers/mempool/meson.build b/drivers/mempool/meson.build\nindex d998797ca..a426b8f92 100644\n--- a/drivers/mempool/meson.build\n+++ b/drivers/mempool/meson.build\n@@ -52,7 +52,7 @@ foreach drv:mempool_drivers\n \t# get dependency objs from strings\n \tdep_objs = ext_deps\n \tforeach d:deps\n-\t\tdep_objs = [get_variable('dep_rte_' + d)] + dep_objs\n+\t\tdep_objs += [get_variable('dep_rte_' + d)] + dep_objs\n \tendforeach\n \n \t# generate pmdinfo sources\ndiff --git a/lib/librte_bitratestats/meson.build b/lib/librte_bitratestats/meson.build\nnew file mode 100644\nindex 000000000..6e58d68aa\n--- /dev/null\n+++ b/lib/librte_bitratestats/meson.build\n@@ -0,0 +1,34 @@\n+#   BSD LICENSE\n+#\n+#   Copyright(c) 2017 Intel Corporation. All rights reserved.\n+#   All rights reserved.\n+#\n+#   Redistribution and use in source and binary forms, with or without\n+#   modification, are permitted provided that the following conditions\n+#   are met:\n+#\n+#     * Redistributions of source code must retain the above copyright\n+#       notice, this list of conditions and the following disclaimer.\n+#     * Redistributions in binary form must reproduce the above copyright\n+#       notice, this list of conditions and the following disclaimer in\n+#       the documentation and/or other materials provided with the\n+#       distribution.\n+#     * Neither the name of Intel Corporation nor the names of its\n+#       contributors may be used to endorse or promote products derived\n+#       from this software without specific prior written permission.\n+#\n+#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+#   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+#   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+#   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+#   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+#   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+#   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+#   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+sources = files('rte_bitrate.c')\n+headers = files('rte_bitrate.h')\n+deps = ['eal', 'ether', 'metrics']\ndiff --git a/lib/librte_cfgfile/meson.build b/lib/librte_cfgfile/meson.build\nnew file mode 100644\nindex 000000000..4484f9b45\n--- /dev/null\n+++ b/lib/librte_cfgfile/meson.build\n@@ -0,0 +1,35 @@\n+#   BSD LICENSE\n+#\n+#   Copyright(c) 2017 Intel Corporation. All rights reserved.\n+#   All rights reserved.\n+#\n+#   Redistribution and use in source and binary forms, with or without\n+#   modification, are permitted provided that the following conditions\n+#   are met:\n+#\n+#     * Redistributions of source code must retain the above copyright\n+#       notice, this list of conditions and the following disclaimer.\n+#     * Redistributions in binary form must reproduce the above copyright\n+#       notice, this list of conditions and the following disclaimer in\n+#       the documentation and/or other materials provided with the\n+#       distribution.\n+#     * Neither the name of Intel Corporation nor the names of its\n+#       contributors may be used to endorse or promote products derived\n+#       from this software without specific prior written permission.\n+#\n+#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+#   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+#   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+#   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+#   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+#   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+#   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+#   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+version = 2\n+sources = files('rte_cfgfile.c')\n+headers = files('rte_cfgfile.h')\n+deps = ['eal']\ndiff --git a/lib/librte_cryptodev/meson.build b/lib/librte_cryptodev/meson.build\nindex c732e2094..226f2c790 100644\n--- a/lib/librte_cryptodev/meson.build\n+++ b/lib/librte_cryptodev/meson.build\n@@ -29,6 +29,7 @@\n #   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n #   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n \n+version = 3\n sources = files('rte_cryptodev.c', 'rte_cryptodev_pmd.c')\n headers = files('rte_cryptodev.h',\n \t'rte_cryptodev_pci.h',\ndiff --git a/lib/librte_distributor/meson.build b/lib/librte_distributor/meson.build\nnew file mode 100644\nindex 000000000..09595d75f\n--- /dev/null\n+++ b/lib/librte_distributor/meson.build\n@@ -0,0 +1,39 @@\n+#   BSD LICENSE\n+#\n+#   Copyright(c) 2017 Intel Corporation. All rights reserved.\n+#   All rights reserved.\n+#\n+#   Redistribution and use in source and binary forms, with or without\n+#   modification, are permitted provided that the following conditions\n+#   are met:\n+#\n+#     * Redistributions of source code must retain the above copyright\n+#       notice, this list of conditions and the following disclaimer.\n+#     * Redistributions in binary form must reproduce the above copyright\n+#       notice, this list of conditions and the following disclaimer in\n+#       the documentation and/or other materials provided with the\n+#       distribution.\n+#     * Neither the name of Intel Corporation nor the names of its\n+#       contributors may be used to endorse or promote products derived\n+#       from this software without specific prior written permission.\n+#\n+#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+#   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+#   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+#   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+#   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+#   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+#   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+#   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+sources = files('rte_distributor.c', 'rte_distributor_v20.c')\n+if arch_subdir == 'x86'\n+\tsources += files('rte_distributor_match_sse.c')\n+else\n+\tsources += files('rte_distributor_match_generic.c')\n+endif\n+headers = files('rte_distributor.h')\n+deps = ['eal', 'mbuf', 'compat']\ndiff --git a/lib/librte_efd/meson.build b/lib/librte_efd/meson.build\nnew file mode 100644\nindex 000000000..299381522\n--- /dev/null\n+++ b/lib/librte_efd/meson.build\n@@ -0,0 +1,34 @@\n+#   BSD LICENSE\n+#\n+#   Copyright(c) 2017 Intel Corporation. All rights reserved.\n+#   All rights reserved.\n+#\n+#   Redistribution and use in source and binary forms, with or without\n+#   modification, are permitted provided that the following conditions\n+#   are met:\n+#\n+#     * Redistributions of source code must retain the above copyright\n+#       notice, this list of conditions and the following disclaimer.\n+#     * Redistributions in binary form must reproduce the above copyright\n+#       notice, this list of conditions and the following disclaimer in\n+#       the documentation and/or other materials provided with the\n+#       distribution.\n+#     * Neither the name of Intel Corporation nor the names of its\n+#       contributors may be used to endorse or promote products derived\n+#       from this software without specific prior written permission.\n+#\n+#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+#   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+#   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+#   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+#   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+#   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+#   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+#   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+sources = files('rte_efd.c')\n+headers = files('rte_efd.h')\n+deps = ['eal', 'ring', 'hash']\ndiff --git a/lib/librte_ether/meson.build b/lib/librte_ether/meson.build\nindex ed9c29a78..65c054e0d 100644\n--- a/lib/librte_ether/meson.build\n+++ b/lib/librte_ether/meson.build\n@@ -42,5 +42,5 @@ headers = files('rte_ethdev.h',\n \t'rte_flow_driver.h',\n \t'rte_tm.h')\n \n-deps = ['eal', 'ring', 'mempool', 'net', 'mbuf']\n+deps = ['net']\n \ndiff --git a/lib/librte_eventdev/meson.build b/lib/librte_eventdev/meson.build\nnew file mode 100644\nindex 000000000..4da39fa0d\n--- /dev/null\n+++ b/lib/librte_eventdev/meson.build\n@@ -0,0 +1,36 @@\n+#   BSD LICENSE\n+#\n+#   Copyright(c) 2017 Intel Corporation. All rights reserved.\n+#   All rights reserved.\n+#\n+#   Redistribution and use in source and binary forms, with or without\n+#   modification, are permitted provided that the following conditions\n+#   are met:\n+#\n+#     * Redistributions of source code must retain the above copyright\n+#       notice, this list of conditions and the following disclaimer.\n+#     * Redistributions in binary form must reproduce the above copyright\n+#       notice, this list of conditions and the following disclaimer in\n+#       the documentation and/or other materials provided with the\n+#       distribution.\n+#     * Neither the name of Intel Corporation nor the names of its\n+#       contributors may be used to endorse or promote products derived\n+#       from this software without specific prior written permission.\n+#\n+#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+#   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+#   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+#   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+#   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+#   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+#   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+#   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+sources = files('rte_eventdev.c', 'rte_event_ring.c')\n+headers = files('rte_eventdev.h', 'rte_eventdev_pmd.h',\n+\t\t'rte_eventdev_pmd_pci.h', 'rte_eventdev_pmd_vdev.h',\n+\t\t'rte_event_ring.h')\n+deps = ['eal', 'ring']\ndiff --git a/lib/librte_ip_frag/meson.build b/lib/librte_ip_frag/meson.build\nnew file mode 100644\nindex 000000000..6c7765cf7\n--- /dev/null\n+++ b/lib/librte_ip_frag/meson.build\n@@ -0,0 +1,39 @@\n+#   BSD LICENSE\n+#\n+#   Copyright(c) 2017 Intel Corporation. All rights reserved.\n+#   All rights reserved.\n+#\n+#   Redistribution and use in source and binary forms, with or without\n+#   modification, are permitted provided that the following conditions\n+#   are met:\n+#\n+#     * Redistributions of source code must retain the above copyright\n+#       notice, this list of conditions and the following disclaimer.\n+#     * Redistributions in binary form must reproduce the above copyright\n+#       notice, this list of conditions and the following disclaimer in\n+#       the documentation and/or other materials provided with the\n+#       distribution.\n+#     * Neither the name of Intel Corporation nor the names of its\n+#       contributors may be used to endorse or promote products derived\n+#       from this software without specific prior written permission.\n+#\n+#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+#   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+#   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+#   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+#   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+#   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+#   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+#   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+sources = files('rte_ipv4_fragmentation.c',\n+\t\t'rte_ipv6_fragmentation.c',\n+\t\t'rte_ipv4_reassembly.c',\n+\t\t'rte_ipv6_reassembly.c',\n+\t\t'rte_ip_frag_common.c',\n+\t\t'ip_frag_internal.c')\n+headers = files('rte_ip_frag.h')\n+deps = ['eal', 'mempool', 'mbuf', 'ether', 'hash']\ndiff --git a/lib/librte_jobstats/meson.build b/lib/librte_jobstats/meson.build\nnew file mode 100644\nindex 000000000..4bb5b6e49\n--- /dev/null\n+++ b/lib/librte_jobstats/meson.build\n@@ -0,0 +1,34 @@\n+#   BSD LICENSE\n+#\n+#   Copyright(c) 2017 Intel Corporation. All rights reserved.\n+#   All rights reserved.\n+#\n+#   Redistribution and use in source and binary forms, with or without\n+#   modification, are permitted provided that the following conditions\n+#   are met:\n+#\n+#     * Redistributions of source code must retain the above copyright\n+#       notice, this list of conditions and the following disclaimer.\n+#     * Redistributions in binary form must reproduce the above copyright\n+#       notice, this list of conditions and the following disclaimer in\n+#       the documentation and/or other materials provided with the\n+#       distribution.\n+#     * Neither the name of Intel Corporation nor the names of its\n+#       contributors may be used to endorse or promote products derived\n+#       from this software without specific prior written permission.\n+#\n+#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+#   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+#   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+#   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+#   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+#   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+#   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+#   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+sources = files('rte_jobstats.c')\n+headers = files('rte_jobstats.h')\n+deps = ['eal']\ndiff --git a/lib/librte_kni/meson.build b/lib/librte_kni/meson.build\nnew file mode 100644\nindex 000000000..95c5edf96\n--- /dev/null\n+++ b/lib/librte_kni/meson.build\n@@ -0,0 +1,35 @@\n+#   BSD LICENSE\n+#\n+#   Copyright(c) 2017 Intel Corporation. All rights reserved.\n+#   All rights reserved.\n+#\n+#   Redistribution and use in source and binary forms, with or without\n+#   modification, are permitted provided that the following conditions\n+#   are met:\n+#\n+#     * Redistributions of source code must retain the above copyright\n+#       notice, this list of conditions and the following disclaimer.\n+#     * Redistributions in binary form must reproduce the above copyright\n+#       notice, this list of conditions and the following disclaimer in\n+#       the documentation and/or other materials provided with the\n+#       distribution.\n+#     * Neither the name of Intel Corporation nor the names of its\n+#       contributors may be used to endorse or promote products derived\n+#       from this software without specific prior written permission.\n+#\n+#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+#   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+#   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+#   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+#   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+#   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+#   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+#   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+version = 2\n+sources = files('rte_kni.c')\n+headers = files('rte_kni.h')\n+deps = ['eal', 'mempool', 'mbuf', 'ether']\ndiff --git a/lib/librte_latencystats/meson.build b/lib/librte_latencystats/meson.build\nnew file mode 100644\nindex 000000000..0efade639\n--- /dev/null\n+++ b/lib/librte_latencystats/meson.build\n@@ -0,0 +1,34 @@\n+#   BSD LICENSE\n+#\n+#   Copyright(c) 2017 Intel Corporation. All rights reserved.\n+#   All rights reserved.\n+#\n+#   Redistribution and use in source and binary forms, with or without\n+#   modification, are permitted provided that the following conditions\n+#   are met:\n+#\n+#     * Redistributions of source code must retain the above copyright\n+#       notice, this list of conditions and the following disclaimer.\n+#     * Redistributions in binary form must reproduce the above copyright\n+#       notice, this list of conditions and the following disclaimer in\n+#       the documentation and/or other materials provided with the\n+#       distribution.\n+#     * Neither the name of Intel Corporation nor the names of its\n+#       contributors may be used to endorse or promote products derived\n+#       from this software without specific prior written permission.\n+#\n+#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+#   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+#   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+#   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+#   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+#   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+#   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+#   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+sources = files('rte_latencystats.c')\n+headers = files('rte_latencystats.h')\n+deps = ['eal', 'metrics', 'ether', 'mbuf']\ndiff --git a/lib/librte_lpm/meson.build b/lib/librte_lpm/meson.build\nnew file mode 100644\nindex 000000000..9d276d55f\n--- /dev/null\n+++ b/lib/librte_lpm/meson.build\n@@ -0,0 +1,35 @@\n+#   BSD LICENSE\n+#\n+#   Copyright(c) 2017 Intel Corporation. All rights reserved.\n+#   All rights reserved.\n+#\n+#   Redistribution and use in source and binary forms, with or without\n+#   modification, are permitted provided that the following conditions\n+#   are met:\n+#\n+#     * Redistributions of source code must retain the above copyright\n+#       notice, this list of conditions and the following disclaimer.\n+#     * Redistributions in binary form must reproduce the above copyright\n+#       notice, this list of conditions and the following disclaimer in\n+#       the documentation and/or other materials provided with the\n+#       distribution.\n+#     * Neither the name of Intel Corporation nor the names of its\n+#       contributors may be used to endorse or promote products derived\n+#       from this software without specific prior written permission.\n+#\n+#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+#   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+#   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+#   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+#   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+#   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+#   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+#   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+version = 2\n+sources = files('rte_lpm.c', 'rte_lpm6.c')\n+headers = files('rte_lpm.h', 'rte_lpm6.h')\n+deps = ['eal', 'compat']\ndiff --git a/lib/librte_mbuf/meson.build b/lib/librte_mbuf/meson.build\nindex 19cd68528..1477cb0a3 100644\n--- a/lib/librte_mbuf/meson.build\n+++ b/lib/librte_mbuf/meson.build\n@@ -32,5 +32,5 @@\n version = 3\n sources = files('rte_mbuf.c', 'rte_mbuf_ptype.c')\n headers = files('rte_mbuf.h', 'rte_mbuf_ptype.h')\n-deps = ['eal', 'mempool', 'ring']\n+deps = ['mempool']\n \ndiff --git a/lib/librte_mempool/meson.build b/lib/librte_mempool/meson.build\nindex 9617010dd..3d39ab119 100644\n--- a/lib/librte_mempool/meson.build\n+++ b/lib/librte_mempool/meson.build\n@@ -32,5 +32,4 @@\n version = 2\n sources = files('rte_mempool.c', 'rte_mempool_ops.c')\n headers = files('rte_mempool.h')\n-deps = ['eal', 'ring']\n-\n+deps = ['ring']\ndiff --git a/lib/librte_meter/meson.build b/lib/librte_meter/meson.build\nnew file mode 100644\nindex 000000000..ada4dfa01\n--- /dev/null\n+++ b/lib/librte_meter/meson.build\n@@ -0,0 +1,34 @@\n+#   BSD LICENSE\n+#\n+#   Copyright(c) 2017 Intel Corporation. All rights reserved.\n+#   All rights reserved.\n+#\n+#   Redistribution and use in source and binary forms, with or without\n+#   modification, are permitted provided that the following conditions\n+#   are met:\n+#\n+#     * Redistributions of source code must retain the above copyright\n+#       notice, this list of conditions and the following disclaimer.\n+#     * Redistributions in binary form must reproduce the above copyright\n+#       notice, this list of conditions and the following disclaimer in\n+#       the documentation and/or other materials provided with the\n+#       distribution.\n+#     * Neither the name of Intel Corporation nor the names of its\n+#       contributors may be used to endorse or promote products derived\n+#       from this software without specific prior written permission.\n+#\n+#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+#   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+#   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+#   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+#   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+#   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+#   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+#   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+sources = files('rte_meter.c')\n+headers = files('rte_meter.h')\n+deps = ['eal']\ndiff --git a/lib/librte_net/meson.build b/lib/librte_net/meson.build\nindex 0bfe53873..9d92770fa 100644\n--- a/lib/librte_net/meson.build\n+++ b/lib/librte_net/meson.build\n@@ -42,5 +42,5 @@ headers = files('rte_ip.h',\n \t'rte_net_crc.h')\n \n sources = files('rte_net.c', 'rte_net_crc.c')\n-deps = ['eal', 'mbuf', 'ring', 'mempool']\n+deps = ['mbuf']\n \ndiff --git a/lib/librte_pdump/meson.build b/lib/librte_pdump/meson.build\nnew file mode 100644\nindex 000000000..9b8d53b87\n--- /dev/null\n+++ b/lib/librte_pdump/meson.build\n@@ -0,0 +1,34 @@\n+#   BSD LICENSE\n+#\n+#   Copyright(c) 2017 Intel Corporation. All rights reserved.\n+#   All rights reserved.\n+#\n+#   Redistribution and use in source and binary forms, with or without\n+#   modification, are permitted provided that the following conditions\n+#   are met:\n+#\n+#     * Redistributions of source code must retain the above copyright\n+#       notice, this list of conditions and the following disclaimer.\n+#     * Redistributions in binary form must reproduce the above copyright\n+#       notice, this list of conditions and the following disclaimer in\n+#       the documentation and/or other materials provided with the\n+#       distribution.\n+#     * Neither the name of Intel Corporation nor the names of its\n+#       contributors may be used to endorse or promote products derived\n+#       from this software without specific prior written permission.\n+#\n+#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+#   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+#   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+#   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+#   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+#   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+#   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+#   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+sources = files('rte_pdump.c')\n+headers = files('rte_pdump.h')\n+deps = ['eal', 'mbuf', 'ether']\ndiff --git a/lib/librte_power/meson.build b/lib/librte_power/meson.build\nnew file mode 100644\nindex 000000000..bd32714d3\n--- /dev/null\n+++ b/lib/librte_power/meson.build\n@@ -0,0 +1,35 @@\n+#   BSD LICENSE\n+#\n+#   Copyright(c) 2017 Intel Corporation. All rights reserved.\n+#   All rights reserved.\n+#\n+#   Redistribution and use in source and binary forms, with or without\n+#   modification, are permitted provided that the following conditions\n+#   are met:\n+#\n+#     * Redistributions of source code must retain the above copyright\n+#       notice, this list of conditions and the following disclaimer.\n+#     * Redistributions in binary form must reproduce the above copyright\n+#       notice, this list of conditions and the following disclaimer in\n+#       the documentation and/or other materials provided with the\n+#       distribution.\n+#     * Neither the name of Intel Corporation nor the names of its\n+#       contributors may be used to endorse or promote products derived\n+#       from this software without specific prior written permission.\n+#\n+#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+#   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+#   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+#   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+#   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+#   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+#   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+#   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+sources = files('rte_power.c', 'rte_power_acpi_cpufreq.c',\n+\t\t'rte_power_kvm_vm.c', 'guest_channel.c')\n+headers = files('rte_power.h')\n+deps = ['eal']\ndiff --git a/lib/librte_reorder/meson.build b/lib/librte_reorder/meson.build\nnew file mode 100644\nindex 000000000..4f6d732ba\n--- /dev/null\n+++ b/lib/librte_reorder/meson.build\n@@ -0,0 +1,34 @@\n+#   BSD LICENSE\n+#\n+#   Copyright(c) 2017 Intel Corporation. All rights reserved.\n+#   All rights reserved.\n+#\n+#   Redistribution and use in source and binary forms, with or without\n+#   modification, are permitted provided that the following conditions\n+#   are met:\n+#\n+#     * Redistributions of source code must retain the above copyright\n+#       notice, this list of conditions and the following disclaimer.\n+#     * Redistributions in binary form must reproduce the above copyright\n+#       notice, this list of conditions and the following disclaimer in\n+#       the documentation and/or other materials provided with the\n+#       distribution.\n+#     * Neither the name of Intel Corporation nor the names of its\n+#       contributors may be used to endorse or promote products derived\n+#       from this software without specific prior written permission.\n+#\n+#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+#   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+#   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+#   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+#   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+#   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+#   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+#   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+sources = files('rte_reorder.c')\n+headers = files('rte_reorder.h')\n+deps = ['eal', 'mbuf']\ndiff --git a/lib/librte_sched/meson.build b/lib/librte_sched/meson.build\nnew file mode 100644\nindex 000000000..7443cd650\n--- /dev/null\n+++ b/lib/librte_sched/meson.build\n@@ -0,0 +1,36 @@\n+#   BSD LICENSE\n+#\n+#   Copyright(c) 2017 Intel Corporation. All rights reserved.\n+#   All rights reserved.\n+#\n+#   Redistribution and use in source and binary forms, with or without\n+#   modification, are permitted provided that the following conditions\n+#   are met:\n+#\n+#     * Redistributions of source code must retain the above copyright\n+#       notice, this list of conditions and the following disclaimer.\n+#     * Redistributions in binary form must reproduce the above copyright\n+#       notice, this list of conditions and the following disclaimer in\n+#       the documentation and/or other materials provided with the\n+#       distribution.\n+#     * Neither the name of Intel Corporation nor the names of its\n+#       contributors may be used to endorse or promote products derived\n+#       from this software without specific prior written permission.\n+#\n+#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+#   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+#   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+#   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+#   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+#   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+#   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+#   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+sources = files('rte_sched.c', 'rte_red.c', 'rte_approx.c',\n+\t\t'rte_reciprocal.c')\n+headers = files('rte_sched.h', 'rte_bitmap.h', 'rte_sched_common.h',\n+\t\t'rte_red.h', 'rte_approx.h', 'rte_reciprocal.h')\n+deps = ['mbuf', 'meter']\ndiff --git a/lib/librte_timer/meson.build b/lib/librte_timer/meson.build\nnew file mode 100644\nindex 000000000..708712097\n--- /dev/null\n+++ b/lib/librte_timer/meson.build\n@@ -0,0 +1,34 @@\n+#   BSD LICENSE\n+#\n+#   Copyright(c) 2017 Intel Corporation. All rights reserved.\n+#   All rights reserved.\n+#\n+#   Redistribution and use in source and binary forms, with or without\n+#   modification, are permitted provided that the following conditions\n+#   are met:\n+#\n+#     * Redistributions of source code must retain the above copyright\n+#       notice, this list of conditions and the following disclaimer.\n+#     * Redistributions in binary form must reproduce the above copyright\n+#       notice, this list of conditions and the following disclaimer in\n+#       the documentation and/or other materials provided with the\n+#       distribution.\n+#     * Neither the name of Intel Corporation nor the names of its\n+#       contributors may be used to endorse or promote products derived\n+#       from this software without specific prior written permission.\n+#\n+#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+#   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+#   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+#   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+#   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+#   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+#   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+#   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+sources = files('rte_timer.c')\n+headers = files('rte_timer.h')\n+deps = ['eal']\ndiff --git a/lib/librte_vhost/meson.build b/lib/librte_vhost/meson.build\nnew file mode 100644\nindex 000000000..d0a1382b3\n--- /dev/null\n+++ b/lib/librte_vhost/meson.build\n@@ -0,0 +1,36 @@\n+#   BSD LICENSE\n+#\n+#   Copyright(c) 2017 Intel Corporation. All rights reserved.\n+#   All rights reserved.\n+#\n+#   Redistribution and use in source and binary forms, with or without\n+#   modification, are permitted provided that the following conditions\n+#   are met:\n+#\n+#     * Redistributions of source code must retain the above copyright\n+#       notice, this list of conditions and the following disclaimer.\n+#     * Redistributions in binary form must reproduce the above copyright\n+#       notice, this list of conditions and the following disclaimer in\n+#       the documentation and/or other materials provided with the\n+#       distribution.\n+#     * Neither the name of Intel Corporation nor the names of its\n+#       contributors may be used to endorse or promote products derived\n+#       from this software without specific prior written permission.\n+#\n+#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+#   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+#   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+#   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+#   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+#   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+#   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+#   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+version = 4\n+sources = files('fd_man.c', 'socket.c', 'vhost.c', 'vhost_user.c',\n+\t\t'virtio_net.c')\n+headers = files('rte_vhost.h')\n+deps = ['eal', 'mbuf', 'ether']\ndiff --git a/lib/meson.build b/lib/meson.build\nindex 917eee7b2..453d6ee0d 100644\n--- a/lib/meson.build\n+++ b/lib/meson.build\n@@ -34,8 +34,24 @@ subdir('librte_eal')\n subdir('librte_compat')\n \n # process all libraries equally, as far as possible\n-libs = ['ring', 'mempool', 'cmdline', 'mbuf', 'net', 'ether', 'hash',\n-\t'kvargs', 'gro', 'metrics', 'cryptodev']\n+# \"core\" libs first, then others alphebetically as far as possible\n+# NOTE: for speed of meson runs, the dependencies in the subdirectories\n+# sometimes skip deps that would be implied by others, e.g. if mempool is\n+# given as a dep, no need to mention ring. This is especially true for the\n+# core libs which are widely reused, so their deps are kept to a minimum.\n+libs = ['ring', 'mempool', 'mbuf', 'net', 'ether', # core\n+\t'metrics', # bitrate/latency stats depends on this\n+\t'hash',    # efd depends on this\n+\t'kvargs',  # cryptodev depends on this\n+\t'bitratestats', 'cfgfile', 'cmdline', 'cryptodev', 'distributor',\n+\t'efd', 'eventdev', 'gro', 'ip_frag', 'jobstats',\n+\t'latencystats', 'lpm', 'meter', 'pdump', 'reorder', 'sched',\n+\t'timer']\n+# pipeline, port, table, acl # todo\n+\n+if host_machine.system() == 'linux'\n+\tlibs += ['kni', 'power', 'vhost']\n+endif\n \n foreach l:libs\n \tversion = 1\n@@ -52,9 +68,9 @@ foreach l:libs\n \n \tinstall_headers(headers)\n \n-\tdep_objs = []\n+\tdep_objs = ext_deps\n \tforeach d:deps\n-\t\tdep_objs = [get_variable('dep_rte_' + d)] + dep_objs\n+\t\tdep_objs += [get_variable('dep_rte_' + d)] + dep_objs\n \tendforeach\n \n \tversion_map = '@0@/@1@/rte_@2@_version.map'.format(\n",
    "prefixes": [
        "dpdk-dev",
        "RFCv2",
        "34/40"
    ]
}