Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/40950/?format=api
https://patches.dpdk.org/api/patches/40950/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20180608212048.67261-11-bruce.richardson@intel.com/", "project": { "id": 1, "url": "https://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": "<20180608212048.67261-11-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180608212048.67261-11-bruce.richardson@intel.com", "date": "2018-06-08T21:20:43", "name": "[v2,10/15] net/kni: add to meson build", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "d52c23e5d0c858774e15a75ea95b9afb35912331", "submitter": { "id": 20, "url": "https://patches.dpdk.org/api/people/20/?format=api", "name": "Bruce Richardson", "email": "bruce.richardson@intel.com" }, "delegate": { "id": 319, "url": "https://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20180608212048.67261-11-bruce.richardson@intel.com/mbox/", "series": [ { "id": 67, "url": "https://patches.dpdk.org/api/series/67/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=67", "date": "2018-06-08T21:20:33", "name": "add meson support for more net drivers", "version": 2, "mbox": "https://patches.dpdk.org/series/67/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/40950/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/40950/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id BCF201D087;\n\tFri, 8 Jun 2018 23:21:19 +0200 (CEST)", "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby dpdk.org (Postfix) with ESMTP id 085061D079\n\tfor <dev@dpdk.org>; Fri, 8 Jun 2018 23:21:16 +0200 (CEST)", "from fmsmga004.fm.intel.com ([10.253.24.48])\n\tby fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t08 Jun 2018 14:21:16 -0700", "from silpixa00399126.ir.intel.com (HELO\n\tsilpixa00399126.ger.corp.intel.com) ([10.237.223.223])\n\tby fmsmga004.fm.intel.com with ESMTP; 08 Jun 2018 14:21:15 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.49,491,1520924400\"; d=\"scan'208\";a=\"61610774\"", "From": "Bruce Richardson <bruce.richardson@intel.com>", "To": "dev@dpdk.org", "Cc": "Bruce Richardson <bruce.richardson@intel.com>,\n\tFerruh Yigit <ferruh.yigit@intel.com>", "Date": "Fri, 8 Jun 2018 22:20:43 +0100", "Message-Id": "<20180608212048.67261-11-bruce.richardson@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20180608212048.67261-1-bruce.richardson@intel.com>", "References": "<20180517201526.28658-1-bruce.richardson@intel.com>\n\t<20180608212048.67261-1-bruce.richardson@intel.com>", "Subject": "[dpdk-dev] [PATCH v2 10/15] net/kni: add to meson 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": "<https://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": "<https://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": "Since the kni library is an optional library, we need to add a check\nhere to ensure that the kni wrapper PMD is only built when the main kni\nlib is being built.\n\nCC: Ferruh Yigit <ferruh.yigit@intel.com>\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n drivers/net/kni/meson.build | 8 ++++++++\n drivers/net/meson.build | 3 ++-\n 2 files changed, 10 insertions(+), 1 deletion(-)\n create mode 100644 drivers/net/kni/meson.build", "diff": "diff --git a/drivers/net/kni/meson.build b/drivers/net/kni/meson.build\nnew file mode 100644\nindex 000000000..77468188b\n--- /dev/null\n+++ b/drivers/net/kni/meson.build\n@@ -0,0 +1,8 @@\n+# SPDX-License-Identifier: BSD-3-Clause\n+# Copyright(c) 2018 Intel Corporation\n+\n+# this driver can be built if-and-only-if KNI library is buildable\n+build = dpdk_conf.has('LIB_LIBRTE_KNI')\n+allow_experimental_apis = true\n+sources = files('rte_eth_kni.c')\n+deps += 'kni'\ndiff --git a/drivers/net/meson.build b/drivers/net/meson.build\nindex c983f90b1..213fe734c 100644\n--- a/drivers/net/meson.build\n+++ b/drivers/net/meson.build\n@@ -6,7 +6,8 @@ drivers = ['af_packet', 'ark', 'avp',\n \t'bnxt', 'cxgbe', 'dpaa', 'dpaa2',\n \t'e1000', 'ena', 'enic', 'failsafe',\n \t'fm10k', 'i40e', 'ifcvf', 'ixgbe',\n-\t'mvpp2', 'null', 'octeontx', 'pcap', 'ring',\n+\t'kni', 'mvpp2', 'null',\n+\t'octeontx', 'pcap', 'ring',\n \t'sfc', 'thunderx', 'virtio']\n std_deps = ['ethdev', 'kvargs'] # 'ethdev' also pulls in mbuf, net, eal etc\n std_deps += ['bus_pci'] # very many PMDs depend on PCI, so make std\n", "prefixes": [ "v2", "10/15" ] }{ "id": 40950, "url": "