get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 86667,
    "url": "https://patches.dpdk.org/api/patches/86667/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210115111052.16437-2-bruce.richardson@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": "<20210115111052.16437-2-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210115111052.16437-2-bruce.richardson@intel.com",
    "date": "2021-01-15T11:10:33",
    "name": "[v2,01/19] eal: fix missing header inclusion",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "af5274ac6fe30f627e2a8bfdd8d59dbafbf8ee7d",
    "submitter": {
        "id": 20,
        "url": "https://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.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/20210115111052.16437-2-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 14778,
            "url": "https://patches.dpdk.org/api/series/14778/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14778",
            "date": "2021-01-15T11:10:32",
            "name": "ensure headers have correct includes",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/14778/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/86667/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/86667/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 16C01A0A02;\n\tFri, 15 Jan 2021 12:11:14 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 00D65140F45;\n\tFri, 15 Jan 2021 12:11:14 +0100 (CET)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id 4E13C140F43;\n Fri, 15 Jan 2021 12:11:12 +0100 (CET)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 15 Jan 2021 03:11:10 -0800",
            "from silpixa00399126.ir.intel.com ([10.237.222.4])\n by fmsmga002.fm.intel.com with ESMTP; 15 Jan 2021 03:11:08 -0800"
        ],
        "IronPort-SDR": [
            "\n Zyrh/g/q5frZiY6r2VaxfzH7w0o3WZaI19YxsHJy2A0/2KTgLILj9cG4rYJhP08EpNwNnaJ6JK\n v/CKUVaVWV5w==",
            "\n AruswU6mMdzb7jlsIh2x/vLYer3t5OqZpbfShslhPuTHGruU/ssi8gFZbdbdELZ1zakrIwv9oK\n TLHeg4NpCjaQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9864\"; a=\"178683267\"",
            "E=Sophos;i=\"5.79,349,1602572400\"; d=\"scan'208\";a=\"178683267\"",
            "E=Sophos;i=\"5.79,349,1602572400\"; d=\"scan'208\";a=\"401252636\""
        ],
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "david.marchand@redhat.com, Bruce Richardson <bruce.richardson@intel.com>,\n stable@dpdk.org, Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>,\n Tal Shnaiderman <talshn@nvidia.com>, Thomas Monjalon <thomas@monjalon.net>,\n Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>",
        "Date": "Fri, 15 Jan 2021 11:10:33 +0000",
        "Message-Id": "<20210115111052.16437-2-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "In-Reply-To": "<20210115111052.16437-1-bruce.richardson@intel.com>",
        "References": "<20210114110606.21142-1-bruce.richardson@intel.com>\n <20210115111052.16437-1-bruce.richardson@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v2 01/19] eal: fix missing header inclusion",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "The rte_reciprocal header file used standard __rte_always_inline from\nrte_common.h but does not include that header file, leading to compiler\nerrors when the reciprocal header is included alone. Similarly,\nrte_thread.h was missing the compat header to get the __rte_experimental\nmacro definition.\n\nFixes: 6d45659eacb8 (\"eal: add u64-bit variant for reciprocal divide\")\nFixes: b1fd151267e6 (\"eal: add generic thread-local-storage functions\")\nCc: stable@dpdk.org\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n lib/librte_eal/include/rte_reciprocal.h | 1 +\n lib/librte_eal/include/rte_thread.h     | 1 +\n 2 files changed, 2 insertions(+)",
    "diff": "diff --git a/lib/librte_eal/include/rte_reciprocal.h b/lib/librte_eal/include/rte_reciprocal.h\nindex 63e16fde0a..4a59be30a8 100644\n--- a/lib/librte_eal/include/rte_reciprocal.h\n+++ b/lib/librte_eal/include/rte_reciprocal.h\n@@ -26,6 +26,7 @@\n #define _RTE_RECIPROCAL_H_\n \n #include <stdint.h>\n+#include <rte_common.h>\n \n struct rte_reciprocal {\n \tuint32_t m;\ndiff --git a/lib/librte_eal/include/rte_thread.h b/lib/librte_eal/include/rte_thread.h\nindex f1ae2d32cc..e640ea1857 100644\n--- a/lib/librte_eal/include/rte_thread.h\n+++ b/lib/librte_eal/include/rte_thread.h\n@@ -3,6 +3,7 @@\n  */\n \n #include <rte_os.h>\n+#include <rte_compat.h>\n \n #ifndef _RTE_THREAD_H_\n #define _RTE_THREAD_H_\n",
    "prefixes": [
        "v2",
        "01/19"
    ]
}