Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/71764/?format=api
https://patches.dpdk.org/api/patches/71764/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200618211546.24496-4-talshn@mellanox.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": "<20200618211546.24496-4-talshn@mellanox.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200618211546.24496-4-talshn@mellanox.com", "date": "2020-06-18T21:15:40", "name": "[v6,3/9] pci: build on Windows", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "72b612b88768eee7362bd04563e21424ea1de465", "submitter": { "id": 1669, "url": "https://patches.dpdk.org/api/people/1669/?format=api", "name": "Tal Shnaiderman", "email": "talshn@mellanox.com" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200618211546.24496-4-talshn@mellanox.com/mbox/", "series": [ { "id": 10512, "url": "https://patches.dpdk.org/api/series/10512/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=10512", "date": "2020-06-18T21:15:37", "name": "Windows bus/pci support", "version": 6, "mbox": "https://patches.dpdk.org/series/10512/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/71764/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/71764/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 3A85FA04F1;\n\tThu, 18 Jun 2020 23:16:53 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 88C211B13C;\n\tThu, 18 Jun 2020 23:16:45 +0200 (CEST)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id 85D325F2F\n for <dev@dpdk.org>; Thu, 18 Jun 2020 23:16:42 +0200 (CEST)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n talshn@mellanox.com) with SMTP; 19 Jun 2020 00:16:37 +0300", "from l-wincomp04-vm.labs.mlnx (l-wincomp04-vm.mtl.labs.mlnx\n [10.237.1.5])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 05ILGaF6006303;\n Fri, 19 Jun 2020 00:16:36 +0300" ], "From": "talshn@mellanox.com", "To": "dev@dpdk.org", "Cc": "thomas@monjalon.net, pallavi.kadam@intel.com, dmitry.kozliuk@gmail.com,\n david.marchand@redhat.com, grive@u256.net, ranjit.menon@intel.com,\n navasile@linux.microsoft.com, harini.ramakrishnan@microsoft.com,\n ocardona@microsoft.com, anatoly.burakov@intel.com, fady@mellanox.com,\n bruce.richardson@intel.com, Tal Shnaiderman <talshn@mellanox.com>", "Date": "Fri, 19 Jun 2020 00:15:40 +0300", "Message-Id": "<20200618211546.24496-4-talshn@mellanox.com>", "X-Mailer": "git-send-email 2.16.1.windows.4", "In-Reply-To": "<20200618211546.24496-1-talshn@mellanox.com>", "References": "<20200609103139.22168-2-talshn@mellanox.com>\n <20200618211546.24496-1-talshn@mellanox.com>", "Subject": "[dpdk-dev] [PATCH v6 3/9] pci: build on Windows", "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://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "From: Tal Shnaiderman <talshn@mellanox.com>\n\nAdded <sys/types.h> in rte_pci header file\nto include off_t type since it is missing for Windows.\n\nSigned-off-by: Tal Shnaiderman <talshn@mellanox.com>\n---\n lib/librte_eal/rte_eal_exports.def | 1 +\n lib/librte_pci/rte_pci.h | 1 +\n lib/meson.build | 5 ++++-\n 3 files changed, 6 insertions(+), 1 deletion(-)", "diff": "diff --git a/lib/librte_eal/rte_eal_exports.def b/lib/librte_eal/rte_eal_exports.def\nindex e2eb24f01b..8ed5fad987 100644\n--- a/lib/librte_eal/rte_eal_exports.def\n+++ b/lib/librte_eal/rte_eal_exports.def\n@@ -1,5 +1,6 @@\n EXPORTS\n \t__rte_panic\n+\tper_lcore__rte_errno\n \trte_calloc\n \trte_calloc_socket\n \trte_eal_get_configuration\ndiff --git a/lib/librte_pci/rte_pci.h b/lib/librte_pci/rte_pci.h\nindex b721bbf580..9337079178 100644\n--- a/lib/librte_pci/rte_pci.h\n+++ b/lib/librte_pci/rte_pci.h\n@@ -20,6 +20,7 @@ extern \"C\" {\n #include <limits.h>\n #include <sys/queue.h>\n #include <inttypes.h>\n+#include <sys/types.h>\n \n /** Formatting string for PCI device identifier: Ex: 0000:00:01.0 */\n #define PCI_PRI_FMT \"%.4\" PRIx16 \":%.2\" PRIx8 \":%.2\" PRIx8 \".%\" PRIx8\ndiff --git a/lib/meson.build b/lib/meson.build\nindex d190d84eff..a8fd317a18 100644\n--- a/lib/meson.build\n+++ b/lib/meson.build\n@@ -36,7 +36,10 @@ libraries = [\n \t'flow_classify', 'bpf', 'graph', 'node']\n \n if is_windows\n-\tlibraries = ['kvargs','eal'] # only supported libraries for windows\n+\tlibraries = [\n+\t\t'kvargs','eal',\n+\t\t'pci',\n+\t] # only supported libraries for windows\n endif\n \n default_cflags = machine_args\n", "prefixes": [ "v6", "3/9" ] }{ "id": 71764, "url": "