get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 42694,
    "url": "http://patchwork.dpdk.org/api/patches/42694/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20180710104447.16756-1-darek.stojaczyk@gmail.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": "<20180710104447.16756-1-darek.stojaczyk@gmail.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180710104447.16756-1-darek.stojaczyk@gmail.com",
    "date": "2018-07-10T10:44:45",
    "name": "[v2,1/3] eal/thread: ignore rte_thread_setname() failure in ctrl thread",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "14b2195e5f55cf158bc772514bac300401c2038d",
    "submitter": {
        "id": 1051,
        "url": "http://patchwork.dpdk.org/api/people/1051/?format=api",
        "name": "Dariusz Stojaczyk",
        "email": "darek.stojaczyk@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20180710104447.16756-1-darek.stojaczyk@gmail.com/mbox/",
    "series": [
        {
            "id": 490,
            "url": "http://patchwork.dpdk.org/api/series/490/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=490",
            "date": "2018-07-10T10:44:45",
            "name": "[v2,1/3] eal/thread: ignore rte_thread_setname() failure in ctrl thread",
            "version": 2,
            "mbox": "http://patchwork.dpdk.org/series/490/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/42694/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/42694/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 65F781B484;\n\tTue, 10 Jul 2018 12:46:42 +0200 (CEST)",
            "from mail-lf0-f42.google.com (mail-lf0-f42.google.com\n\t[209.85.215.42]) by dpdk.org (Postfix) with ESMTP id 849481B47C;\n\tTue, 10 Jul 2018 12:46:40 +0200 (CEST)",
            "by mail-lf0-f42.google.com with SMTP id f18-v6so1775317lfc.2;\n\tTue, 10 Jul 2018 03:46:40 -0700 (PDT)",
            "from localhost.localdomain (89-68-114-161.dynamic.chello.pl.\n\t[89.68.114.161]) by smtp.gmail.com with ESMTPSA id\n\tq4-v6sm4591320lfj.81.2018.07.10.03.46.38\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 10 Jul 2018 03:46:38 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=AcO3oDIsvA9BRy9ZNjuKpPvw3/NwcgZ6y4MJH3+Eo2c=;\n\tb=l62u/zN+PuohLsvC1o145glUFoIs74twINm4HgH43FZIJptTOFeGhFfY77xBUTyyzb\n\tP5hVjtKb5X+2Nzwe8JvdW0kFeNNcynIEb+qtNLs7IWlFFYTwzy8AhaULPeyDPYBU+7Xx\n\tKfAX7tR4OckvEB3CtUNBSZ4YITQr2s6hGWwy1xyYjnwZGwvfWZRzqmfXUp1NZTeCuOAb\n\tQtGZ3cejq13hhR9pxKRMAYECf+/uiOgZjbwwqPWmtGWcpehBTTAvgxJ2ky0WXfTBoBmG\n\trgJLY9/Jm940GUE423YfO6i7UTx5s7wn0eR9dfUVz6Ir0RPby3oiJMDYQUSbIRmtNX2W\n\tqlHw==",
        "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=AcO3oDIsvA9BRy9ZNjuKpPvw3/NwcgZ6y4MJH3+Eo2c=;\n\tb=AmuB0Qu3+NiL8ixEl6/aNhb3iymH76xiuJLX9WfJ6ts6QJSliWGUoeYpl1ln0g8pAZ\n\t0F1UowGbY5mGKXmoAJqzDEpyg1O9VXaRuvxJsp3Zi3xDsWB9fVbNxXRSv2iIq9ckpNNW\n\t8bI/lkCn065pAx10MkU+lGrfvMC8/mVG9p8zrKbcuIDod2QcDuT7ARpYBesSss46NsBr\n\tV5//97Hpu5GgvcZdpHjjd7NAaYIbi/MfU9mLsrrsUnEWIFzbm47hUWTLsGin+PinmyrD\n\tU7WLqLbOmKZ7yN6qM2NXDBqbEX7ZEKIMRa9+J2AymKpKsMtS3CFsrhhyje0Gqd1UcMht\n\tpPXQ==",
        "X-Gm-Message-State": "APt69E2M6BWAZy3Ui7lXQSwPxJLW6w9Jg5tmDMDhkCnd60fO8deufJhr\n\tJJHoRwyfYZyFDocIrD9C7h3MiQ==",
        "X-Google-Smtp-Source": "AAOMgpdwx9etvBn6xDHJRcy8EjWusbpsnzinz6KxuUy2fbi5APSosQs6vzRzFtU+w0SnUzpkdwhbEg==",
        "X-Received": "by 2002:a19:e9d7:: with SMTP id\n\tj84-v6mr2527437lfk.115.1531219599169; \n\tTue, 10 Jul 2018 03:46:39 -0700 (PDT)",
        "From": "Dariusz Stojaczyk <darek.stojaczyk@gmail.com>",
        "To": "dev@dpdk.org, Anatoly Burakov <anatoly.burakov@intel.com>,\n\tOlivier Matz <olivier.matz@6wind.com>, stable@dpdk.org",
        "Cc": "Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>",
        "Date": "Tue, 10 Jul 2018 12:44:45 +0200",
        "Message-Id": "<20180710104447.16756-1-darek.stojaczyk@gmail.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<1528461427-164113-1-git-send-email-dariuszx.stojaczyk@intel.com>",
        "References": "<1528461427-164113-1-git-send-email-dariuszx.stojaczyk@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2 1/3] eal/thread: ignore rte_thread_setname()\n\tfailure in ctrl thread",
        "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: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>\n\nThe error is not fatal and we can physically continue\ncreating the thread. It simply won't have a name.\n\nIf rte_thread_setname() fails, we will just print\na debug log now. EAL does the same for lcore threads.\n\nSigned-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>\nAcked-by: Anatoly Burakov <anatoly.burakov@intel.com>\nReviewed-by: Olivier Matz <olivier.matz@6wind.com>\n---\n lib/librte_eal/common/eal_common_thread.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_eal/common/eal_common_thread.c b/lib/librte_eal/common/eal_common_thread.c\nindex 42398630a..8110ac2ae 100644\n--- a/lib/librte_eal/common/eal_common_thread.c\n+++ b/lib/librte_eal/common/eal_common_thread.c\n@@ -191,7 +191,8 @@ rte_ctrl_thread_create(pthread_t *thread, const char *name,\n \tif (name != NULL) {\n \t\tret = rte_thread_setname(*thread, name);\n \t\tif (ret < 0)\n-\t\t\tgoto fail;\n+\t\t\tRTE_LOG(DEBUG, EAL,\n+\t\t\t\t\"Cannot set name for ctrl thread\\n\");\n \t}\n \n \tcpu_found = 0;\n",
    "prefixes": [
        "v2",
        "1/3"
    ]
}