get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 53666,
    "url": "http://patches.dpdk.org/api/patches/53666/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1558619942-9723-2-git-send-email-david.marchand@redhat.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": "<1558619942-9723-2-git-send-email-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1558619942-9723-2-git-send-email-david.marchand@redhat.com",
    "date": "2019-05-23T13:58:57",
    "name": "[v4,1/5] eal: use unsigned int in lcore API prototypes",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "4226ab14157ee077a4f5fce83092eac335cb69a4",
    "submitter": {
        "id": 1173,
        "url": "http://patches.dpdk.org/api/people/1173/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@redhat.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/1558619942-9723-2-git-send-email-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 4759,
            "url": "http://patches.dpdk.org/api/series/4759/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4759",
            "date": "2019-05-23T13:58:56",
            "name": "make lcore_config internal",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/4759/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/53666/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/53666/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 7B8EF1B953;\n\tThu, 23 May 2019 15:59:53 +0200 (CEST)",
            "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id 1EFF61B94E\n\tfor <dev@dpdk.org>; Thu, 23 May 2019 15:59:51 +0200 (CEST)",
            "from smtp.corp.redhat.com\n\t(int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 835B8307CB5F;\n\tThu, 23 May 2019 13:59:45 +0000 (UTC)",
            "from dmarchan.remote.csb (ovpn-204-124.brq.redhat.com\n\t[10.40.204.124])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 36CD65B683;\n\tThu, 23 May 2019 13:59:44 +0000 (UTC)"
        ],
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net,\n\tstephen@networkplumber.org",
        "Date": "Thu, 23 May 2019 15:58:57 +0200",
        "Message-Id": "<1558619942-9723-2-git-send-email-david.marchand@redhat.com>",
        "In-Reply-To": "<1558619942-9723-1-git-send-email-david.marchand@redhat.com>",
        "References": "<20190408182510.16078-1-stephen@networkplumber.org>\n\t<1558619942-9723-1-git-send-email-david.marchand@redhat.com>",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.15",
        "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.42]); Thu, 23 May 2019 13:59:50 +0000 (UTC)",
        "Subject": "[dpdk-dev] [PATCH v4 1/5] eal: use unsigned int in lcore API\n\tprototypes",
        "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": "From: Stephen Hemminger <stephen@networkplumber.org>\n\nPurely cosmetic change, use unsigned int instead of unsigned alone.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n lib/librte_eal/common/include/rte_lcore.h | 12 ++++++------\n 1 file changed, 6 insertions(+), 6 deletions(-)\n\nChangelog since v3:\n- updated title",
    "diff": "diff --git a/lib/librte_eal/common/include/rte_lcore.h b/lib/librte_eal/common/include/rte_lcore.h\nindex be757a3..705594a 100644\n--- a/lib/librte_eal/common/include/rte_lcore.h\n+++ b/lib/librte_eal/common/include/rte_lcore.h\n@@ -137,7 +137,7 @@ struct lcore_config {\n  * @return\n  *   the ID of current lcoreid's physical socket\n  */\n-unsigned rte_socket_id(void);\n+unsigned int rte_socket_id(void);\n \n /**\n  * Return number of physical sockets detected on the system.\n@@ -177,8 +177,8 @@ struct lcore_config {\n  * @return\n  *   the ID of lcoreid's physical socket\n  */\n-static inline unsigned\n-rte_lcore_to_socket_id(unsigned lcore_id)\n+static inline unsigned int\n+rte_lcore_to_socket_id(unsigned int lcore_id)\n {\n \treturn lcore_config[lcore_id].socket_id;\n }\n@@ -193,7 +193,7 @@ struct lcore_config {\n  *   True if the given lcore is enabled; false otherwise.\n  */\n static inline int\n-rte_lcore_is_enabled(unsigned lcore_id)\n+rte_lcore_is_enabled(unsigned int lcore_id)\n {\n \tstruct rte_config *cfg = rte_eal_get_configuration();\n \tif (lcore_id >= RTE_MAX_LCORE)\n@@ -214,8 +214,8 @@ struct lcore_config {\n  * @return\n  *   The next lcore_id or RTE_MAX_LCORE if not found.\n  */\n-static inline unsigned\n-rte_get_next_lcore(unsigned i, int skip_master, int wrap)\n+static inline unsigned int\n+rte_get_next_lcore(unsigned int i, int skip_master, int wrap)\n {\n \ti++;\n \tif (wrap)\n",
    "prefixes": [
        "v4",
        "1/5"
    ]
}