get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/34566/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 34566,
    "url": "https://patches.dpdk.org/api/patches/34566/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1517077877-53654-1-git-send-email-harry.van.haaren@intel.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": "<1517077877-53654-1-git-send-email-harry.van.haaren@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1517077877-53654-1-git-send-email-harry.van.haaren@intel.com",
    "date": "2018-01-27T18:31:14",
    "name": "[dpdk-dev,1/4] service: move finalize to internal",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "5b56d44f9177eccfa061888ab5db81910f66f748",
    "submitter": {
        "id": 317,
        "url": "https://patches.dpdk.org/api/people/317/?format=api",
        "name": "Van Haaren, Harry",
        "email": "harry.van.haaren@intel.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/1517077877-53654-1-git-send-email-harry.van.haaren@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/34566/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/34566/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 B11B61E35;\n\tSat, 27 Jan 2018 19:31:27 +0100 (CET)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id 8A4F21E35\n\tfor <dev@dpdk.org>; Sat, 27 Jan 2018 19:31:24 +0100 (CET)",
            "from fmsmga006.fm.intel.com ([10.253.24.20])\n\tby orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t27 Jan 2018 10:31:23 -0800",
            "from silpixa00398672.ir.intel.com ([10.237.223.111])\n\tby fmsmga006.fm.intel.com with ESMTP; 27 Jan 2018 10:31:21 -0800"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.46,423,1511856000\"; d=\"scan'208\";a=\"199296827\"",
        "From": "Harry van Haaren <harry.van.haaren@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net, Harry van Haaren <harry.van.haaren@intel.com>,\n\tvipin.varghese@intel.com",
        "Date": "Sat, 27 Jan 2018 18:31:14 +0000",
        "Message-Id": "<1517077877-53654-1-git-send-email-harry.van.haaren@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "Subject": "[dpdk-dev] [PATCH 1/4] service: move finalize to internal",
        "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://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "This commit moves the rte_service_finalize() function\nto be in the component header, and marks it as @internal.\nThe function is only called internally by rte_eal_finalize().\n\nSigned-off-by: Harry van Haaren <harry.van.haaren@intel.com>\n\n---\n\nCc: thomas@monjalon.net\nCc: vipin.varghese@intel.com\n---\n lib/librte_eal/common/include/rte_service.h           | 11 -----------\n lib/librte_eal/common/include/rte_service_component.h | 11 +++++++++++\n 2 files changed, 11 insertions(+), 11 deletions(-)",
    "diff": "diff --git a/lib/librte_eal/common/include/rte_service.h b/lib/librte_eal/common/include/rte_service.h\nindex 5e3e3a6..02b1512 100644\n--- a/lib/librte_eal/common/include/rte_service.h\n+++ b/lib/librte_eal/common/include/rte_service.h\n@@ -429,17 +429,6 @@ int32_t rte_service_attr_get(uint32_t id, uint32_t attr_id,\n  */\n int32_t rte_service_attr_reset_all(uint32_t id);\n \n-/**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice\n- *\n- * Free up the memory that has been initialized. This routine\n- * is to be invoked prior to process termination.\n- *\n- * @retval None\n- */\n-void rte_service_finalize(void);\n-\n #ifdef __cplusplus\n }\n #endif\ndiff --git a/lib/librte_eal/common/include/rte_service_component.h b/lib/librte_eal/common/include/rte_service_component.h\nindex 849c71d..f881ac0 100644\n--- a/lib/librte_eal/common/include/rte_service_component.h\n+++ b/lib/librte_eal/common/include/rte_service_component.h\n@@ -139,4 +139,15 @@ int32_t rte_service_component_runstate_set(uint32_t id, uint32_t runstate);\n  */\n int32_t rte_service_init(void);\n \n+/**\n+ * @warning\n+ * @b EXPERIMENTAL: this API may change without prior notice\n+ *\n+ * @internal Free up the memory that has been initialized.\n+ * This routine is to be invoked prior to process termination.\n+ *\n+ * @retval None\n+ */\n+void rte_service_finalize(void);\n+\n #endif /* _RTE_SERVICE_PRIVATE_H_ */\n",
    "prefixes": [
        "dpdk-dev",
        "1/4"
    ]
}