Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/41590/?format=api
http://patchwork.dpdk.org/api/patches/41590/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/ba588c2ca30b8c4cf811d00809d16976706cea29.1530031921.git.gaetan.rivet@6wind.com/", "project": { "id": 1, "url": "http://patchwork.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": "<ba588c2ca30b8c4cf811d00809d16976706cea29.1530031921.git.gaetan.rivet@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/ba588c2ca30b8c4cf811d00809d16976706cea29.1530031921.git.gaetan.rivet@6wind.com", "date": "2018-06-26T16:56:07", "name": "[v8,04/21] eal: introduce dtor macros", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "7de871d46605626db3ec3e75cc562213dc82b491", "submitter": { "id": 269, "url": "http://patchwork.dpdk.org/api/people/269/?format=api", "name": "Gaëtan Rivet", "email": "gaetan.rivet@6wind.com" }, "delegate": { "id": 1, "url": "http://patchwork.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/ba588c2ca30b8c4cf811d00809d16976706cea29.1530031921.git.gaetan.rivet@6wind.com/mbox/", "series": [ { "id": 249, "url": "http://patchwork.dpdk.org/api/series/249/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=249", "date": "2018-06-26T16:56:03", "name": "Device querying", "version": 8, "mbox": "http://patchwork.dpdk.org/series/249/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/41590/comments/", "check": "fail", "checks": "http://patchwork.dpdk.org/api/patches/41590/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 DCCAE1BE04;\n\tTue, 26 Jun 2018 18:56:56 +0200 (CEST)", "from mail-wr0-f172.google.com (mail-wr0-f172.google.com\n\t[209.85.128.172]) by dpdk.org (Postfix) with ESMTP id A217E1BDF1\n\tfor <dev@dpdk.org>; Tue, 26 Jun 2018 18:56:52 +0200 (CEST)", "by mail-wr0-f172.google.com with SMTP id c13-v6so8020126wrq.2\n\tfor <dev@dpdk.org>; Tue, 26 Jun 2018 09:56:52 -0700 (PDT)", "from bidouze.dev.6wind.com. (host.78.145.23.62.rev.coltfrance.com.\n\t[62.23.145.78]) by smtp.gmail.com with ESMTPSA id\n\tp5-v6sm2680880wre.83.2018.06.26.09.56.50\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 26 Jun 2018 09:56:51 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:in-reply-to:references;\n\tbh=kjK0X93uJ8qR12GsXLADuXLvB/fMaIlBtKWcJvWWVLY=;\n\tb=OM8spMOyE7QfVGZsyYrE0vrinBAa5l3Rbb45v3pCqoawStzP2MspeRz1+gNKSOXMI9\n\t0dxQRKvpFLqvanVxhgHi4k3rpZ01yYlcm1CzMgtnl4rSJxmCbE4zSb7QEjW/E3d6vkS6\n\tpQzxGDWrnUGIdpScEZvVKRN9EMV6bC/EnX+Ylh98lalKnQoO5lrzrcpFeoxfWwdB1voM\n\toP1nhaF+LqhvoiyP/cabo1E5ecAEALsSnffDVwQ5Liel+8TtAplQsGysFDC1kFNgBBfb\n\t3Rq/Qr3bp1lGRFIBm6rgRuR7L+r3+nLhUTq1mxLrdx2xuE7zAMGmVlCCjN82OalIoX53\n\tR7LA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:in-reply-to:references;\n\tbh=kjK0X93uJ8qR12GsXLADuXLvB/fMaIlBtKWcJvWWVLY=;\n\tb=PLoJUJtoGJAlAVnTfsrgeApTYFbW0eB8UxCrozNfd41oIZEh8Y/XDPUugZLWqzP0/d\n\tck+oVYqSNLbvUpYYbbO6dCzZxrbp5gRzOTyClOYLPprr5aEqRTTZVm0xU1mojQaDQpwN\n\txhDuq9mxW3r7FdnZ9pVZ2uq6JztdbsBaOLn3JvYiT1uJFaakouDce5pDUBmx5KV/nyvn\n\tsU7VPSJeQhM8W+Mynw0SpL1a1UnZauYLhr+EEWOuFQV3XLVNjvC5qXsStpTWxI7YWdaM\n\t6OzZmLADAZAy0aYuDAEbd7KZ3C1HsQOlEjE4sGyGGkU4tJRE8kEKVFEG/XXUQkReG8F8\n\tlwIg==", "X-Gm-Message-State": "APt69E3ll3DX3uhcgR5OWMTjhnEyxdd+PoVpr0cd13NSlxHULLV9SVE7\n\tXpIJIJjCQ7qz6kre6/qjK/7DSCzP", "X-Google-Smtp-Source": "AAOMgpcjFfQ5xZT4mp7tLdKzR0tuDYqlDH0n/YdQT4Oq+UuKVz1iPPzZiuFoU2UlH2lSYqXW9+0eQg==", "X-Received": "by 2002:adf:df86:: with SMTP id\n\tz6-v6mr2139835wrl.113.1530032211938; \n\tTue, 26 Jun 2018 09:56:51 -0700 (PDT)", "From": "Gaetan Rivet <gaetan.rivet@6wind.com>", "To": "dev@dpdk.org", "Cc": "Gaetan Rivet <gaetan.rivet@6wind.com>", "Date": "Tue, 26 Jun 2018 18:56:07 +0200", "Message-Id": "<ba588c2ca30b8c4cf811d00809d16976706cea29.1530031921.git.gaetan.rivet@6wind.com>", "X-Mailer": "git-send-email 2.11.0", "In-Reply-To": [ "<cover.1530031921.git.gaetan.rivet@6wind.com>", "<cover.1530031921.git.gaetan.rivet@6wind.com>" ], "References": [ "<cover.1521124599.git.gaetan.rivet@6wind.com>\n\t<cover.1530031921.git.gaetan.rivet@6wind.com>", "<cover.1530031921.git.gaetan.rivet@6wind.com>" ], "Subject": "[dpdk-dev] [PATCH v8 04/21] eal: introduce dtor macros", "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: Gaetan Rivet <gaetan.rivet@6wind.com>\n---\n lib/librte_eal/common/include/rte_common.h | 23 +++++++++++++++++++++++\n 1 file changed, 23 insertions(+)", "diff": "diff --git a/lib/librte_eal/common/include/rte_common.h b/lib/librte_eal/common/include/rte_common.h\nindex 434adfd45..0dd832728 100644\n--- a/lib/librte_eal/common/include/rte_common.h\n+++ b/lib/librte_eal/common/include/rte_common.h\n@@ -112,6 +112,29 @@ static void __attribute__((constructor(RTE_PRIO(prio)), used)) func(void)\n \tRTE_INIT_PRIO(func, LAST)\n \n /**\n+ * Run after main() with low priority.\n+ *\n+ * @param func\n+ * Destructor function name.\n+ * @param prio\n+ * Priority number must be above 100.\n+ * Lowest number is the last to run.\n+ */\n+#define RTE_FINI_PRIO(func, prio) \\\n+static void __attribute__((destructor(RTE_PRIO(prio)), used)) func(void)\n+\n+/**\n+ * Run after main() with high priority.\n+ *\n+ * The destructor will be run *before* prioritized destructors.\n+ *\n+ * @param func\n+ * Destructor function name.\n+ */\n+#define RTE_FINI(func) \\\n+\tRTE_FINI_PRIO(func, LAST)\n+\n+/**\n * Force a function to be inlined\n */\n #define __rte_always_inline inline __attribute__((always_inline))\n", "prefixes": [ "v8", "04/21" ] }{ "id": 41590, "url": "