get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 50526,
    "url": "https://patches.dpdk.org/api/patches/50526/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190226213424.10567-2-stephen@networkplumber.org/",
    "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": "<20190226213424.10567-2-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190226213424.10567-2-stephen@networkplumber.org",
    "date": "2019-02-26T21:34:20",
    "name": "[1/5] eal: drop unused RTE_PROC_PRIMARY_OR macros",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "aa6d1487545a2403192f1c18e3de81c96dbccb15",
    "submitter": {
        "id": 27,
        "url": "https://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20190226213424.10567-2-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 3553,
            "url": "https://patches.dpdk.org/api/series/3553/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=3553",
            "date": "2019-02-26T21:34:19",
            "name": "no longer use RTE_LOGTYPE_PMD",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/3553/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/50526/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/50526/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 F36843798;\n\tTue, 26 Feb 2019 22:34:31 +0100 (CET)",
            "from mail-pf1-f172.google.com (mail-pf1-f172.google.com\n\t[209.85.210.172]) by dpdk.org (Postfix) with ESMTP id 4D29F326C\n\tfor <dev@dpdk.org>; Tue, 26 Feb 2019 22:34:29 +0100 (CET)",
            "by mail-pf1-f172.google.com with SMTP id s22so6867818pfh.4\n\tfor <dev@dpdk.org>; Tue, 26 Feb 2019 13:34:29 -0800 (PST)",
            "from shemminger-XPS-13-9360.lan (204-195-22-127.wavecable.com.\n\t[204.195.22.127]) by smtp.gmail.com with ESMTPSA id\n\th75sm22191108pfd.150.2019.02.26.13.34.26\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 26 Feb 2019 13:34:27 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=at4bGTz+g8y3T5mMILEaHBMJ2bXlA0RdWl9TFBrePsg=;\n\tb=N11y5sJ+DFlpjHzQFwrZ0qanDF8ZBh6wpG+3QZQFLZsN/2iHyu3wYSt/Tsfx+mmIJD\n\t6pFNzoJpc28xnCJ6uft326oE2ivcys7wIcuccL2tUb1lkpbrzp9i7QSTa/SMCgA+JsTr\n\t4ZkG5GlFHvVpz+uFQz3994hL29V3jbr/+ZFvKSQEkpb7ZHehyGNwH7JkxyyuhRerZgrz\n\tFSC/dH6UcFShWXLrDScdikrQIFsHpHfyg2n1rRi8SQuOQPJwrNIimlf2xpHBksfb6d37\n\tsoZUfvz/IhI9KcUaPA9jGavS6QeXhP870iCxTMO18kgNo298RaQo6x66SOSrhR/ZVAdu\n\tVF1Q==",
        "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=at4bGTz+g8y3T5mMILEaHBMJ2bXlA0RdWl9TFBrePsg=;\n\tb=R59w9LgseOWMxa+pdPkT8wZLiJAhzPEm2F9oB8r9R0ceyU9Y7AxceEQSfUAnxB/dcf\n\ti5mgISX1pCu2CPMAET8TfIoiEmEdIkG3pAaznn+Cl48LEwWFOtteXtwAsqugjbdwKyb9\n\toW0TQ7V1tlw8Vpg9gVzO4yGaqNxk6Z6orOZLExrD7Qy1XZZqfjsF/u3JvZ9gvkKHvTSR\n\t2RFz3me5JRS1bNLBWQpHqiJQietZORdxVY0iT8AMDRrMnrlT5yLBKAVW8Ec/T8jK54J3\n\t7FvAvVG1GM/jVcvUtluFkXMLiWValMgu1g4hgHqqUvBgo16/MFLE31wMv4+i3CnrL1EW\n\trghQ==",
        "X-Gm-Message-State": "AHQUAubNnA+X7WdKlQZHIRmG6MrR48BjuEdDirVyezqFR3cIxjeRLxPf\n\tys99xRSkEylazdXA9RI8qH/CML5S6cA=",
        "X-Google-Smtp-Source": "AHgI3IbQuI43ig3JAdM5S2h8Po+zhj6zooP3gQ0F2kPfTmZwp4ygEonnxJbuTS3D9+gG8ceKKnLniQ==",
        "X-Received": "by 2002:a65:5184:: with SMTP id h4mr26497344pgq.32.1551216868187;\n\tTue, 26 Feb 2019 13:34:28 -0800 (PST)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>",
        "Date": "Tue, 26 Feb 2019 13:34:20 -0800",
        "Message-Id": "<20190226213424.10567-2-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20190226213424.10567-1-stephen@networkplumber.org>",
        "References": "<20190226213424.10567-1-stephen@networkplumber.org>",
        "Subject": "[dpdk-dev] [PATCH 1/5] eal: drop unused RTE_PROC_PRIMARY_OR macros",
        "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": "No usage in current DPDK code base.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n lib/librte_eal/common/include/rte_dev.h | 15 ---------------\n 1 file changed, 15 deletions(-)",
    "diff": "diff --git a/lib/librte_eal/common/include/rte_dev.h b/lib/librte_eal/common/include/rte_dev.h\nindex a9724dc9181c..5e16a4f86b70 100644\n--- a/lib/librte_eal/common/include/rte_dev.h\n+++ b/lib/librte_eal/common/include/rte_dev.h\n@@ -76,21 +76,6 @@ rte_pmd_debug_trace(const char *func_name, const char *fmt, ...)\n #define RTE_PMD_DEBUG_TRACE(...) (void)0\n #endif\n \n-/* Macros for checking for restricting functions to primary instance only */\n-#define RTE_PROC_PRIMARY_OR_ERR_RET(retval) do { \\\n-\tif (rte_eal_process_type() != RTE_PROC_PRIMARY) { \\\n-\t\tRTE_PMD_DEBUG_TRACE(\"Cannot run in secondary processes\\n\"); \\\n-\t\treturn retval; \\\n-\t} \\\n-} while (0)\n-\n-#define RTE_PROC_PRIMARY_OR_RET() do { \\\n-\tif (rte_eal_process_type() != RTE_PROC_PRIMARY) { \\\n-\t\tRTE_PMD_DEBUG_TRACE(\"Cannot run in secondary processes\\n\"); \\\n-\t\treturn; \\\n-\t} \\\n-} while (0)\n-\n /* Macros to check for invalid function pointers */\n #define RTE_FUNC_PTR_OR_ERR_RET(func, retval) do { \\\n \tif ((func) == NULL) { \\\n",
    "prefixes": [
        "1/5"
    ]
}