Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/43569/?format=api
http://patches.dpdk.org/api/patches/43569/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180803140605.43072-1-keith.wiles@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": "<20180803140605.43072-1-keith.wiles@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180803140605.43072-1-keith.wiles@intel.com", "date": "2018-08-03T14:05:56", "name": "[01/10] eal: add shorthand __rte_weak macro", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "ca4b8c465c9075ae3dbcc52c3b7c7bd5f0f78601", "submitter": { "id": 166, "url": "http://patches.dpdk.org/api/people/166/?format=api", "name": "Wiles, Keith", "email": "keith.wiles@intel.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180803140605.43072-1-keith.wiles@intel.com/mbox/", "series": [ { "id": 898, "url": "http://patches.dpdk.org/api/series/898/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=898", "date": "2018-08-03T14:05:56", "name": "[01/10] eal: add shorthand __rte_weak macro", "version": 1, "mbox": "http://patches.dpdk.org/series/898/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/43569/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/43569/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 CD17B1B57B;\n\tFri, 3 Aug 2018 16:06:18 +0200 (CEST)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n\tby dpdk.org (Postfix) with ESMTP id 907AB1B578\n\tfor <dev@dpdk.org>; Fri, 3 Aug 2018 16:06:17 +0200 (CEST)", "from orsmga005.jf.intel.com ([10.7.209.41])\n\tby orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t03 Aug 2018 07:06:16 -0700", "from gjthurma-mobl1.amr.corp.intel.com ([10.254.182.209])\n\tby orsmga005.jf.intel.com with ESMTP; 03 Aug 2018 07:06:16 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.51,438,1526367600\"; d=\"scan'208\";a=\"245747594\"", "From": "Keith Wiles <keith.wiles@intel.com>", "To": "dev@dpdk.org", "Date": "Fri, 3 Aug 2018 09:05:56 -0500", "Message-Id": "<20180803140605.43072-1-keith.wiles@intel.com>", "X-Mailer": "git-send-email 2.10.1", "Subject": "[dpdk-dev] [PATCH 01/10] eal: add shorthand __rte_weak macro", "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Signed-off-by: Keith Wiles <keith.wiles@intel.com>\n---\n lib/librte_eal/common/include/rte_common.h | 5 +++++\n 1 file changed, 5 insertions(+)", "diff": "diff --git a/lib/librte_eal/common/include/rte_common.h b/lib/librte_eal/common/include/rte_common.h\nindex 069c13ec7..2c4535b1a 100644\n--- a/lib/librte_eal/common/include/rte_common.h\n+++ b/lib/librte_eal/common/include/rte_common.h\n@@ -68,6 +68,11 @@ typedef uint16_t unaligned_uint16_t;\n /******* Macro to mark functions and fields scheduled for removal *****/\n #define __rte_deprecated\t__attribute__((__deprecated__))\n \n+/**\n+ * short definition to mark a function or variable to a weak reference.\n+ */\n+#define __rte_weak\t\t__attribute__((__weak__))\n+\n /*********** Macros to eliminate unused variable warnings ********/\n \n /**\n", "prefixes": [ "01/10" ] }{ "id": 43569, "url": "