get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 126931,
    "url": "http://patchwork.dpdk.org/api/patches/126931/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230517161603.117728-8-stephen@networkplumber.org/",
    "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": "<20230517161603.117728-8-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230517161603.117728-8-stephen@networkplumber.org",
    "date": "2023-05-17T16:15:50",
    "name": "[07/20] net/nfp: remove word sanity",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "347267270d680bae92d438b1d7fd3561706f8945",
    "submitter": {
        "id": 27,
        "url": "http://patchwork.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230517161603.117728-8-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 28034,
            "url": "http://patchwork.dpdk.org/api/series/28034/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=28034",
            "date": "2023-05-17T16:15:43",
            "name": "Replace use of term sanity-check",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/28034/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/126931/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/126931/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 BFE6D42B2C;\n\tWed, 17 May 2023 18:16:58 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7ED3342D5D;\n\tWed, 17 May 2023 18:16:20 +0200 (CEST)",
            "from mail-pf1-f175.google.com (mail-pf1-f175.google.com\n [209.85.210.175])\n by mails.dpdk.org (Postfix) with ESMTP id 690F141611\n for <dev@dpdk.org>; Wed, 17 May 2023 18:16:16 +0200 (CEST)",
            "by mail-pf1-f175.google.com with SMTP id\n d2e1a72fcca58-643846c006fso925807b3a.0\n for <dev@dpdk.org>; Wed, 17 May 2023 09:16:16 -0700 (PDT)",
            "from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218])\n by smtp.gmail.com with ESMTPSA id\n h5-20020a62b405000000b0063f33e216dasm15793009pfn.96.2023.05.17.09.16.14\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 17 May 2023 09:16:14 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1684340175;\n x=1686932175;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=T7MhSAwzukH5mb94ewYmhPl0jEaGJs1Stj1FkGbbHNs=;\n b=B5CtR0gHH6+vyeVO/l2l05ZF+8mkEdN61cBUQujmVZgE/KlwvWECmavXZ9vyAGyYl/\n L4dkW3AuEylLBbR34ApmDMCHNu4FuqruGvdPZrtfTlG7MLGYaYcrP4lz5cckl72+WS9Y\n JZkhmxSwFyMCfeT9LPtq2iNzXmw9MkY19e7M+3KUApQa++mH+kbnc4KueST99sen7XBV\n VGQgMkljMFfr8rYJkydtsAXGS8Qbm0aQRAY1lvNOWyi+ZsBr4SSEqmk8pszCGKWeH60t\n /MUebwY5sWxib66Rksn61ttYGFr6d7ATrJ4FE8Q2GysbMCwhkgZk+Qb7dE9ICkUU42Dg\n W2vg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20221208; t=1684340175; x=1686932175;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=T7MhSAwzukH5mb94ewYmhPl0jEaGJs1Stj1FkGbbHNs=;\n b=CIZLj1ipatPzBq4l2qxKRFtvy1P+M/aBeigjeSXcd2Z7q3A2ko/ThkvL3uf2uSv4Sd\n RRyFot1KG9n1Kakld838CHQkBg6jxBQIEk5Rt3p5rIkuPdnSBlq6+gR4e01mb/QM+m/3\n 0zx43p3Su6VUKTp7bX/Gkaf45ClqZst8FEBmoOSi0xs/HjNbR3hxc53/hvyn+jM7D/ul\n wlaKiK8TOqufyV0BrdvG8n5O54LkRQ6D/NX/h0TrvCIsQ7zYvRkrYDbfNApVgj689dYB\n rt/PcuZzJ4ApIHhBZCPs2BD8P/QTh+y9CfZytzC5n9i8lPqrM4mwuUHbg83962HkyYl2\n jinA==",
        "X-Gm-Message-State": "AC+VfDyR8TbFNMYCOKEcDzRZs6HtKukWeiA9rQus/ETKsqaD7El/qrnI\n 8l8/b6OysTDQ8JQ2hx0wmi+iOFCO1qU2MO1IFKKh9w==",
        "X-Google-Smtp-Source": "\n ACHHUZ4oHjPzlIzTfskYLjNeb9p21SOLZJm8bU7niuRsbq6Uo9sktWNWg1EQ4Up/b4KOJVs5wuNiZw==",
        "X-Received": "by 2002:a05:6a00:1913:b0:644:ad29:fd5a with SMTP id\n y19-20020a056a00191300b00644ad29fd5amr207983pfi.21.1684340175403;\n Wed, 17 May 2023 09:16:15 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Chaoyong He <chaoyong.he@corigine.com>,\n =?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund@corigine.com>",
        "Subject": "[PATCH 07/20] net/nfp: remove word sanity",
        "Date": "Wed, 17 May 2023 09:15:50 -0700",
        "Message-Id": "<20230517161603.117728-8-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.39.2",
        "In-Reply-To": "<20230517161603.117728-1-stephen@networkplumber.org>",
        "References": "<20230517161603.117728-1-stephen@networkplumber.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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"
    },
    "content": "There are two small uses of the non-inclusive term \"sanity\".\nOne in comment is easily removed, other is in a macro that\nwas defined but never used.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n drivers/net/nfp/nfp_flow.c                     |  2 +-\n drivers/net/nfp/nfpcore/nfp-common/nfp_resid.h | 13 -------------\n 2 files changed, 1 insertion(+), 14 deletions(-)",
    "diff": "diff --git a/drivers/net/nfp/nfp_flow.c b/drivers/net/nfp/nfp_flow.c\nindex 41b722f4d898..05507bc3a113 100644\n--- a/drivers/net/nfp/nfp_flow.c\n+++ b/drivers/net/nfp/nfp_flow.c\n@@ -1944,7 +1944,7 @@ nfp_flow_compile_item_proc(struct nfp_flower_representor *repr,\n \t\t\tbreak;\n \t\t}\n \n-\t\t/* Perform basic sanity checks */\n+\t\t/* Perform basic checks */\n \t\tret = nfp_flow_item_check(item, proc);\n \t\tif (ret != 0) {\n \t\t\tPMD_DRV_LOG(ERR, \"nfp flow item %d check failed\", item->type);\ndiff --git a/drivers/net/nfp/nfpcore/nfp-common/nfp_resid.h b/drivers/net/nfp/nfpcore/nfp-common/nfp_resid.h\nindex 394a7628e08a..b7e77d8fa051 100644\n--- a/drivers/net/nfp/nfpcore/nfp-common/nfp_resid.h\n+++ b/drivers/net/nfp/nfpcore/nfp-common/nfp_resid.h\n@@ -183,19 +183,6 @@ NFP_CPP_ID_ISLAND_of(uint32_t id)\n \t\t(int)(((_a) << 4) | ((_b) + 4)) : -1) \\\n \t}))\n \n-/*\n- *  Do a general sanity check on the ME ID.\n- * The check is on the highest possible island ID for the chip family and the\n- * microengine number must  be a master ID.\n- * @param meid      ME ID as created by NFP6000_MEID\n- */\n-#define NFP6000_MEID_IS_VALID(meid) \\\n-\t(__extension__ ({ \\\n-\t\ttypeof(meid) _a = (meid); \\\n-\t\t((((_a) >> 4) < 64) && (((_a) >> 4) >= 0) && \\\n-\t\t (((_a) & 0xF) >= 4)) \\\n-\t}))\n-\n /*\n  *  Extract island ID from ME ID.\n  * @param meid   ME ID as created by NFP6000_MEID\n",
    "prefixes": [
        "07/20"
    ]
}