Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/42342/?format=api
http://patches.dpdk.org/api/patches/42342/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/a83256d00a5be618c8f592de23c1894d3be7d382.1530791217.git.gaetan.rivet@6wind.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": "<a83256d00a5be618c8f592de23c1894d3be7d382.1530791217.git.gaetan.rivet@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/a83256d00a5be618c8f592de23c1894d3be7d382.1530791217.git.gaetan.rivet@6wind.com", "date": "2018-07-05T11:48:14", "name": "[v10,07/27] eal/class: register destructor", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "bdf7422e64e2e737caf07f6eba1c9c882a5a59fa", "submitter": { "id": 269, "url": "http://patches.dpdk.org/api/people/269/?format=api", "name": "Gaëtan Rivet", "email": "gaetan.rivet@6wind.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/a83256d00a5be618c8f592de23c1894d3be7d382.1530791217.git.gaetan.rivet@6wind.com/mbox/", "series": [ { "id": 419, "url": "http://patches.dpdk.org/api/series/419/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=419", "date": "2018-07-05T11:48:07", "name": "Device querying", "version": 10, "mbox": "http://patches.dpdk.org/series/419/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/42342/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/42342/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 4E78D1BF14;\n\tThu, 5 Jul 2018 13:49:26 +0200 (CEST)", "from mail-wm0-f54.google.com (mail-wm0-f54.google.com\n\t[74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 91D011BED7\n\tfor <dev@dpdk.org>; Thu, 5 Jul 2018 13:49:06 +0200 (CEST)", "by mail-wm0-f54.google.com with SMTP id n17-v6so10381492wmh.2\n\tfor <dev@dpdk.org>; Thu, 05 Jul 2018 04:49:06 -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\to42-v6sm15809183wrc.50.2018.07.05.04.49.04\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 05 Jul 2018 04:49:04 -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\tbh=FcfHZwJj2++2zFd3tjiryPVfINYFEtqKre4w5Koeb+8=;\n\tb=BMWriSxcPtsU59MqYjUeNK1vCq+mrhon6FPuG0ZUrVUktAm/ePJv32F8Aq3MLFw3SF\n\t0odwRpi6i4Kue8A1TYGtSrGZtWK+6GUgwAQ1tWuo+CcRvxahPUbg7I6oJ98UxFaeloS9\n\tuuiGDbmcAHXnnOMhmUVRtP1wlLFIcfis2mQMTgIR6PY5Y+Sbb6xioOoH8LOeDyX0NkXg\n\t9LmofAgKjxpGwCyj7NdHy/gOTAN+E5g4c4nWlkklZZYCT6Uj/enRLF6tcmJgMcFUmQ2F\n\t/fOQLgNGgJZa2FmVXqvMis43cXRYsL4tvuiGqvjPkmsuXCPSC4MBNuBHXMCXeg731ZBK\n\tofTQ==", "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;\n\tbh=FcfHZwJj2++2zFd3tjiryPVfINYFEtqKre4w5Koeb+8=;\n\tb=ZwkWT/WdtcQKZk77msd2/0qZXG12t6OpTnBnagec2+sdjS9DkKHq4frK2hrC2+3WUg\n\tV4GMuwzx0GTc0GJhpZZ5x8fm0blMQCeAV/UimJQfy4gvfZopUAwnGSR7a/KGzQ+orK92\n\t3bg/LZwK0M/V7dqnISwEUVaFhR5k7u2fgajzLPCXG8c5Q4FOI8V7dImEZudSQ/naV/wo\n\t7hzTMEP/uaeMZqZbjN4f74NQpiR9j9ith7YV+TmVYPy3WUBSwHWu4tin5DKg60JrcA9W\n\tjBJjr6cTwx3I3nBNgWU1uW+nBxnGvg4+YlUmDfX+gEA2MPkCF9PsT6jyB4fIThqfyIJq\n\tT2ig==", "X-Gm-Message-State": "APt69E1U5hb6l3N+qRaFH+OklX3sD1BgGVyrpusp9Or26UamoGGPVd3M\n\t7omoTyW6WEals5uK0zYjW8WT4wun", "X-Google-Smtp-Source": "AAOMgpeqHG27zYmBMz/+tKupCXt10wM6C8pLvxCjm1kYZe1xPOz37UTgFQm7MWAJuyrbT5p04siZrg==", "X-Received": "by 2002:a1c:82c8:: with SMTP id\n\te191-v6mr3635736wmd.35.1530791345953; \n\tThu, 05 Jul 2018 04:49:05 -0700 (PDT)", "From": "Gaetan Rivet <gaetan.rivet@6wind.com>", "To": "dev@dpdk.org", "Cc": "Gaetan Rivet <gaetan.rivet@6wind.com>", "Date": "Thu, 5 Jul 2018 13:48:14 +0200", "Message-Id": "<a83256d00a5be618c8f592de23c1894d3be7d382.1530791217.git.gaetan.rivet@6wind.com>", "X-Mailer": "git-send-email 2.18.0", "In-Reply-To": "<cover.1530791217.git.gaetan.rivet@6wind.com>", "References": "<cover.1530791217.git.gaetan.rivet@6wind.com>", "Subject": "[dpdk-dev] [PATCH v10 07/27] eal/class: register destructor", "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_class.h | 5 +++++\n 1 file changed, 5 insertions(+)", "diff": "diff --git a/lib/librte_eal/common/include/rte_class.h b/lib/librte_eal/common/include/rte_class.h\nindex b5e550a34..e8176f5e1 100644\n--- a/lib/librte_eal/common/include/rte_class.h\n+++ b/lib/librte_eal/common/include/rte_class.h\n@@ -112,6 +112,11 @@ static void classinitfn_ ##nm(void) \\\n {\\\n \t(cls).name = RTE_STR(nm);\\\n \trte_class_register(&cls); \\\n+} \\\n+RTE_FINI_PRIO(classfinifn_ ##nm, CLASS); \\\n+static void classfinifn_ ##nm(void) \\\n+{ \\\n+\trte_class_unregister(&cls); \\\n }\n \n #ifdef __cplusplus\n", "prefixes": [ "v10", "07/27" ] }{ "id": 42342, "url": "