Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/107093/?format=api
https://patches.dpdk.org/api/patches/107093/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/tencent_E0A69BE7EE9428024E67FA1B752449C42F05@qq.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": "<tencent_E0A69BE7EE9428024E67FA1B752449C42F05@qq.com>", "list_archive_url": "https://inbox.dpdk.org/dev/tencent_E0A69BE7EE9428024E67FA1B752449C42F05@qq.com", "date": "2022-02-09T07:24:06", "name": "[v3,2/4] eal: add define guards to avoid multi-inclusion", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "f7be8b71c0e091d54be595765da7800a61c560b5", "submitter": { "id": 2458, "url": "https://patches.dpdk.org/api/people/2458/?format=api", "name": "Weiguo Li", "email": "liwg06@foxmail.com" }, "delegate": { "id": 24651, "url": "https://patches.dpdk.org/api/users/24651/?format=api", "username": "dmarchand", "first_name": "David", "last_name": "Marchand", "email": "david.marchand@redhat.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/tencent_E0A69BE7EE9428024E67FA1B752449C42F05@qq.com/mbox/", "series": [ { "id": 21554, "url": "https://patches.dpdk.org/api/series/21554/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=21554", "date": "2022-02-09T07:24:04", "name": "add define guards to avoid multi-inclusion", "version": 3, "mbox": "https://patches.dpdk.org/series/21554/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/107093/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/107093/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id B58EDA034F;\n\tWed, 9 Feb 2022 08:24:32 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4A5B441157;\n\tWed, 9 Feb 2022 08:24:26 +0100 (CET)", "from out203-205-221-205.mail.qq.com (out203-205-221-205.mail.qq.com\n [203.205.221.205])\n by mails.dpdk.org (Postfix) with ESMTP id CE20141141\n for <dev@dpdk.org>; Wed, 9 Feb 2022 08:24:23 +0100 (CET)", "from liwg-ubuntu.lan ([111.193.130.237])\n by newxmesmtplogicsvrszb7.qq.com (NewEsmtp) with SMTP\n id 6090E84A; Wed, 09 Feb 2022 15:24:09 +0800" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com;\n s=s201512; t=1644391460;\n bh=GbbyVIo6nhjyVx6YsvxUQXwE8gcu97iAY8W+vvvOIxE=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References;\n b=xn0Z0NOTbmxUjXXvqaMds6R/OgUWSZbdQlyS9wktlbAXYqa8WMXIuYxfb6AhZSBMZ\n 2lMl/8p/VjuyDQt3M0k1pWCVw5QeuKnNA3D4Gn7uPoz+szQgweueKlyAVV8Y/y3XMu\n y3nXTQF6UA2fhhK22Gl1rXjqePHSla3+jtj+KNos=", "X-QQ-mid": "xmsmtpt1644391459tfurm6ae5", "Message-ID": "<tencent_E0A69BE7EE9428024E67FA1B752449C42F05@qq.com>", "X-QQ-XMAILINFO": "NzOHSugmTg7X3hOPXxFGDtE0K9BfrxzJVmCrfBZYFdRNjXVHuRbeTfc1RC941B\n eck/dvHcDGy4G/qWtPwgkWXEUxT1ShuCbdKXz2zJr4uwcqtjvFsc1EOlJLdRhHcnqWYjvoLR8ifi\n MsPpR2svy7+Io4jGCu4YYYcofBwfew4DoMB+hWkprJT+lUBzmGaBUYsWt1NqENO66cc4lTPlk7Z6\n FLs0h+SL+5MjyhsxWS4asZK+MdTyv76xaxYKZf8Ab131EBBDwap79DyO+QlOtQFmnIlm0fi5Lrfg\n 1CmiaMqEu/fU1B2iwPzXo5WXPfV3PH4L21DpyeOkgKgu0OKjc0VGoBTA3VQtwpWiIwCnHWcZqm0U\n qHJQK/O8r/nZz3A014LEri4+iKJjqxyKK+aPonEb/PYWgZ5HwCk/fYhdK1MzhXw1rVDE4QpXANs3\n YKPh4qZOcF8FSsnDeiCNHxw+9POu9kUgyh5qGUDjoRiiVA4XAtvo2oFIogZRBz//mKXKrUQvHcCw\n 8A1/VL/U7pKH9vAo0waDIzgmV2Hdvxluy21LwyqNIRFwF6mRQ2aSDQ0MU+mOxDs6KLhwv124pnrR\n PgWXnLYrOkCs25M/9kEQiyJq4oKbmMY/4BGPWwyTvnOgXmGjdOd6xZw1HcdpV7jT2qk67XNlvmMl\n tesTeWNI5EBEacl1ulJrG4Sex9tdQCT2IlIXX3PTrkxZpoeXBTOdJQKsbrrI12VleGveNbu4fxMY\n z3Wyla1mdEMC3Fpt//rSGqyqcOY/T06jpSoTY7G1ys0rp/DmNRJe4EZfUUSMXt7UEP/eUE7G8ztS\n sgMjTGOSyvJtRLFCO/GItOH2RzmWTYvw1XzW3Wu2ztJzPNA2FXxUODgLO36SbXH4jpzG+LUHKLXX\n Jzur+FEmlMbW3BO2Q7kCDILiRoazOWox5DUkxA11kW", "From": "Weiguo Li <liwg06@foxmail.com>", "To": "dev@dpdk.org", "Cc": "Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>", "Subject": "[PATCH v3 2/4] eal: add define guards to avoid multi-inclusion", "Date": "Wed, 9 Feb 2022 15:24:06 +0800", "X-OQ-MSGID": "\n <6c83243e022702617d5147584d8f8396bcac4c2b.1644390802.git.liwg06@foxmail.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<cover.1644390801.git.liwg06@foxmail.com>", "References": "<cover.1644390801.git.liwg06@foxmail.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "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" }, "content": "Supplement define guards to prevent multiple inclusion.\n\nSigned-off-by: Weiguo Li <liwg06@foxmail.com>\nAcked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>\n---\n lib/eal/include/rte_eal_paging.h | 5 +++++\n lib/eal/windows/include/rte_virt2phys.h | 5 +++++\n 2 files changed, 10 insertions(+)", "diff": "diff --git a/lib/eal/include/rte_eal_paging.h b/lib/eal/include/rte_eal_paging.h\nindex c60317d0f5..75c4291484 100644\n--- a/lib/eal/include/rte_eal_paging.h\n+++ b/lib/eal/include/rte_eal_paging.h\n@@ -2,6 +2,9 @@\n * Copyright(c) 2020 Dmitry Kozlyuk\n */\n \n+#ifndef RTE_EAL_PAGING_H\n+#define RTE_EAL_PAGING_H\n+\n #include <stdint.h>\n \n #include <rte_compat.h>\n@@ -96,3 +99,5 @@ rte_mem_page_size(void);\n __rte_internal\n int\n rte_mem_lock(const void *virt, size_t size);\n+\n+#endif /* RTE_EAL_PAGING_H */\ndiff --git a/lib/eal/windows/include/rte_virt2phys.h b/lib/eal/windows/include/rte_virt2phys.h\nindex 4bb2b4aafe..d0eae33141 100644\n--- a/lib/eal/windows/include/rte_virt2phys.h\n+++ b/lib/eal/windows/include/rte_virt2phys.h\n@@ -2,6 +2,9 @@\n * Copyright (c) 2020 Dmitry Kozlyuk\n */\n \n+#ifndef RTE_VIRT2PHYS_H\n+#define RTE_VIRT2PHYS_H\n+\n /**\n * @file virt2phys driver interface\n */\n@@ -32,3 +35,5 @@ DEFINE_GUID(GUID_DEVINTERFACE_VIRT2PHYS,\n */\n #define IOCTL_VIRT2PHYS_TRANSLATE CTL_CODE( \\\n \tVIRT2PHYS_DEVTYPE, 0x800, METHOD_BUFFERED, FILE_ANY_ACCESS)\n+\n+#endif /* RTE_VIRT2PHYS_H */\n", "prefixes": [ "v3", "2/4" ] }{ "id": 107093, "url": "