get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 83929,
    "url": "http://patches.dpdk.org/api/patches/83929/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201110225544.1876-8-stephen@networkplumber.org/",
    "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": "<20201110225544.1876-8-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201110225544.1876-8-stephen@networkplumber.org",
    "date": "2020-11-10T22:55:44",
    "name": "[v10,7/7] eal: mark old definitions as deprecated",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "9224967bb91151836d5dc00d2ce7ff61063cfa77",
    "submitter": {
        "id": 27,
        "url": "http://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "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/20201110225544.1876-8-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 13788,
            "url": "http://patches.dpdk.org/api/series/13788/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13788",
            "date": "2020-11-10T22:55:37",
            "name": "replace blacklist/whitelist with allow/block",
            "version": 10,
            "mbox": "http://patches.dpdk.org/series/13788/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/83929/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/83929/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 3C721A04E7;\n\tTue, 10 Nov 2020 23:58:12 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 148216966;\n\tTue, 10 Nov 2020 23:56:06 +0100 (CET)",
            "from mail-pl1-f196.google.com (mail-pl1-f196.google.com\n [209.85.214.196]) by dpdk.org (Postfix) with ESMTP id CE4995AB3\n for <dev@dpdk.org>; Tue, 10 Nov 2020 23:55:58 +0100 (CET)",
            "by mail-pl1-f196.google.com with SMTP id k7so7264016plk.3\n for <dev@dpdk.org>; Tue, 10 Nov 2020 14:55:58 -0800 (PST)",
            "from hermes.corp.microsoft.com (204-195-22-127.wavecable.com.\n [204.195.22.127])\n by smtp.gmail.com with ESMTPSA id t9sm52934pjo.4.2020.11.10.14.55.55\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 10 Nov 2020 14:55:56 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=5yVKh7T3yYypPO4zK2lGnxK5x1sqkWgSvIlWu/aD1wQ=;\n b=Pwo2PqlWkPppaAlUe/iZfhfr8bsOsNpqh71tLZPjiuUVzYQ6FnUZwgyITTFRm5BFy1\n CzP7bXcqxcRCYTAllm0M5V2qb+Sg9UGYUnHzW2oajPvzOP9x7UFpHsR85GDB4NEtwCFM\n 9wHl/Og3Ora/hhAnLTUfzOZy1wDt6pnxhialdM+KrgJ51NvzFUu0eDEHGudazTFQ9UnW\n qBhCuWBUxIxoAtucP0y5iO/JgGWlC4mhCJuJ5L+H+JqkuPsXdwXq80MILI0vwuF5WtSG\n JvtwhDykWV4kDVBECHueYAfTnGD1AIN/UnCp8aPzcazSEs4k73U6ZS3f3tL1IQSLIb5q\n U/SQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=5yVKh7T3yYypPO4zK2lGnxK5x1sqkWgSvIlWu/aD1wQ=;\n b=BxQmdICne7rxOPjCR+3jJnpKYYC1tE6ZYE/gN2xjcoe6El2ac05WS7crNu89Vuce7D\n ZGMrzmeKD8WnPMbaLhIznbnOrH/+pkms6Ws3MqjNPfr5ywNvmtdt7VPJN0OAcKj/nNGm\n ALfKM3PYsNeJ0/LX7iiR15qu17JzTqP88cDT72SPsC1Xcw2oNYiQTl1JticeUtS28XJN\n INk4bhPXzwYTS4W857DzWIbovJlrq6PlsBjG7PcOo7x4IPUAQ5v50/4zMhgjD0PIAqPH\n HL1GeaWET85N1qQJeiZC6WT948W+AQ3UmpYSYQWVHqwZaYxX3goXhIgkz1FtovPITsls\n mEEg==",
        "X-Gm-Message-State": "AOAM530v63IVlpVfni3bMsaPGh/JKDok25hDHHnP8SdK7JV8JWo8GB5H\n 4JGiDO7bwoAyFemtoTPlKih+RsjpJZqBnPBN",
        "X-Google-Smtp-Source": "\n ABdhPJyYtU4VF+r0un48E/qUUU+vFaHgB1hULycnh6yWHqIjFBEkr+OiC5/0s958fJuIny1RZZWD8w==",
        "X-Received": "by 2002:a17:902:ff0e:b029:d6:820d:cb81 with SMTP id\n f14-20020a170902ff0eb02900d6820dcb81mr19101325plj.47.1605048957680;\n Tue, 10 Nov 2020 14:55:57 -0800 (PST)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>",
        "Date": "Tue, 10 Nov 2020 14:55:44 -0800",
        "Message-Id": "<20201110225544.1876-8-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.27.0",
        "In-Reply-To": "<20201110225544.1876-1-stephen@networkplumber.org>",
        "References": "<20200922143202.8755-1-stephen@networkplumber.org>\n <20201110225544.1876-1-stephen@networkplumber.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v10 7/7] eal: mark old definitions as deprecated",
        "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 <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": "This patch marks the compatiablity macros with RTE_DEPRECATED\nwhich causes a warning if used.  There are no remaining warnings\nin the current release.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n lib/librte_eal/include/rte_bus.h     | 6 ++++--\n lib/librte_eal/include/rte_dev.h     | 6 ++++--\n lib/librte_eal/include/rte_devargs.h | 6 ++++--\n 3 files changed, 12 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/lib/librte_eal/include/rte_bus.h b/lib/librte_eal/include/rte_bus.h\nindex 004c36eafc97..80b154fb982c 100644\n--- a/lib/librte_eal/include/rte_bus.h\n+++ b/lib/librte_eal/include/rte_bus.h\n@@ -220,8 +220,10 @@ enum rte_bus_scan_mode {\n };\n \n /* Backwards compatibility will be removed */\n-#define RTE_BUS_SCAN_WHITELIST RTE_BUS_SCAN_ALLOWLIST\n-#define RTE_BUS_SCAN_BLACKLIST RTE_BUS_SCAN_BLOCKLIST\n+#define RTE_BUS_SCAN_WHITELIST \\\n+\tRTE_DEPRECATED(RTE_BUS_SCAN_WHITELIST) RTE_BUS_SCAN_ALLOWLIST\n+#define RTE_BUS_SCAN_BLACKLIST \\\n+\tRTE_DEPRECATED(RTE_BUS_SCAN_BLACKLIST) RTE_BUS_SCAN_BLOCKLIST\n \n /**\n  * A structure used to configure bus operations.\ndiff --git a/lib/librte_eal/include/rte_dev.h b/lib/librte_eal/include/rte_dev.h\nindex 96aa19f6d1b1..6dd72c11a14a 100644\n--- a/lib/librte_eal/include/rte_dev.h\n+++ b/lib/librte_eal/include/rte_dev.h\n@@ -57,8 +57,10 @@ enum rte_dev_policy {\n };\n \n /* Backwards compatibility will be removed */\n-#define RTE_DEV_WHITELISTED RTE_DEV_ALLOWED\n-#define RTE_DEV_BLACKLISTED RTE_DEV_BLOCKED\n+#define RTE_DEV_WHITELISTED \\\n+\tRTE_DEPRECATED(RTE_DEV_WHITELISTED) RTE_DEV_ALLOWED\n+#define RTE_DEV_BLACKLISTED \\\n+\tRTE_DEPRECATED(RTE_DEV_BLACKLISTED) RTE_DEV_BLOCKED\n \n /**\n  * A generic memory resource representation.\ndiff --git a/lib/librte_eal/include/rte_devargs.h b/lib/librte_eal/include/rte_devargs.h\nindex 407816343ef0..296f19324fae 100644\n--- a/lib/librte_eal/include/rte_devargs.h\n+++ b/lib/librte_eal/include/rte_devargs.h\n@@ -35,8 +35,10 @@ enum rte_devtype {\n };\n \n /* Backwards compatibility will be removed later */\n-#define RTE_DEVTYPE_WHITELISTED_PCI RTE_DEVTYPE_ALLOWED\n-#define RTE_DEVTYPE_BLACKLISTED_PCI RTE_DEVTYPE_BLOCKED\n+#define RTE_DEVTYPE_WHITELISTED_PCI \\\n+\tRTE_DEPRECATED(RTE_DEVTYPE_WHITELISTED_PCI) RTE_DEVTYPE_ALLOWED\n+#define RTE_DEVTYPE_BLACKLISTED_PCI \\\n+\tRTE_DEPRECATED(RTE_DEVTYPE_BLACKLISTED_PCI) RTE_DEVTYPE_BLOCKED\n \n /**\n  * Structure that stores a device given by the user with its arguments\n",
    "prefixes": [
        "v10",
        "7/7"
    ]
}