get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 130495,
    "url": "http://patchwork.dpdk.org/api/patches/130495/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230818025249.33994-12-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": "<20230818025249.33994-12-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230818025249.33994-12-stephen@networkplumber.org",
    "date": "2023-08-18T02:52:46",
    "name": "[11/14] net/softnic: replace abort with cancel",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "d533ffb83ba0ad7cc87777e0c539327fc859801c",
    "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/20230818025249.33994-12-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 29271,
            "url": "http://patchwork.dpdk.org/api/series/29271/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=29271",
            "date": "2023-08-18T02:52:35",
            "name": "remove use of term abort",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/29271/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/130495/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/130495/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 CFFE441B5F;\n\tFri, 18 Aug 2023 04:54:08 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B4D2E43288;\n\tFri, 18 Aug 2023 04:53:16 +0200 (CEST)",
            "from mail-pj1-f44.google.com (mail-pj1-f44.google.com\n [209.85.216.44]) by mails.dpdk.org (Postfix) with ESMTP id 33E8E43276\n for <dev@dpdk.org>; Fri, 18 Aug 2023 04:53:11 +0200 (CEST)",
            "by mail-pj1-f44.google.com with SMTP id\n 98e67ed59e1d1-26814e27a9eso332560a91.0\n for <dev@dpdk.org>; Thu, 17 Aug 2023 19:53:11 -0700 (PDT)",
            "from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207])\n by smtp.gmail.com with ESMTPSA id\n ep13-20020a17090ae64d00b00262e485156esm2221246pjb.57.2023.08.17.19.53.09\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 17 Aug 2023 19:53:09 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1692327190;\n x=1692931990;\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=fREpg+5p1kGXcqExd41cgj50m998TkQbF0biOt69Io4=;\n b=FAxZzF0ZneUcZpce3/Kh9lVXJ6ECDGiRRp3IOeVO5crZTEwMsFajN+mZ7JW+m+8Tfr\n 2vhnPAEKBdjWV0UHfg1Pj7tLvmrNnfN2rztpXIGAQgDw4eAVlW5F7pVHgiZ7fUE5yA2D\n lnu2OW3+HrGnWeDgBEtuZaRis1CVa7Qj+JyUpft6pZQS6aceMkkRnsr1bFlUdzRXpEh2\n xnm45Le4NEjGv+C8hMX4Sm0tNxCYqjh2vjdLam7c1mK8ukmSn+KeXI+5VTBt8FpSR0GI\n zDAaoJB5uM2lFCQB15uxQz93Rw/U5qOX9HIjf7pUTASj5YH3UqxjQoLyotamV3uBJs6K\n ojMw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20221208; t=1692327190; x=1692931990;\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=fREpg+5p1kGXcqExd41cgj50m998TkQbF0biOt69Io4=;\n b=aVi+1ZcxbmeTqiLkpDMr5di6A/4+EFysgZ5PdcN7/0Qr92UYxxghdzluB7uytNfgWy\n GpORXuz8p8jyC5ihm2z4LQ+bO39qRpk0JkK0wCc1AOVrGzqp+UDiV8kGkHG8Eg/9uWWY\n 6a6LIOiZlRDEseGTt1qWIJAiqLxtRopEQj+bY8ZGqOzDWfKwrYrCCNVZg4bnqhBBkmcj\n OmLPA2OW4MmZyavPpzQmlAfrfKuIyHMHFBi3gQu6hhSRiiGfb0kST7o9jGAQrbrWIIVJ\n 8wC5RdPGwQHBUwJZVjuFcSp76IA3wSdNuPcZyJ38forYMxDmVbad3LhkhDY/gqr6F+LP\n Nq3Q==",
        "X-Gm-Message-State": "AOJu0Yz5++dkDukKhcZfG9LsReDrpGM/R7walvp8LWIXzX0Xg+PpSF68\n 8ZJFR6x8v5Fb57LGL3WRBpqzTMbzss+FmCebLhP4Sg==",
        "X-Google-Smtp-Source": "\n AGHT+IGeqfXWprj+nZME+RwVCadQkMvOcLS7LdTfmXoaFpcOTpeyMO+9ljqmTVYQ0RF0blcXjxrYxg==",
        "X-Received": "by 2002:a17:90a:73c7:b0:262:ece1:5fd0 with SMTP id\n n7-20020a17090a73c700b00262ece15fd0mr1156328pjk.12.1692327190083;\n Thu, 17 Aug 2023 19:53:10 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Cristian Dumitrescu <cristian.dumitrescu@intel.com>",
        "Subject": "[PATCH 11/14] net/softnic: replace abort with cancel",
        "Date": "Thu, 17 Aug 2023 19:52:46 -0700",
        "Message-Id": "<20230818025249.33994-12-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.39.2",
        "In-Reply-To": "<20230818025249.33994-1-stephen@networkplumber.org>",
        "References": "<20230818025249.33994-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": "The term abort is o the Tier 1 non-inclusive word list.\nReplace it with cancel.  This also impacts the CLI\nfor controlling this driver.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n drivers/net/softnic/rte_eth_softnic_cli.c | 12 ++++++------\n 1 file changed, 6 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/drivers/net/softnic/rte_eth_softnic_cli.c b/drivers/net/softnic/rte_eth_softnic_cli.c\nindex 085523fe0310..bdb89753696a 100644\n--- a/drivers/net/softnic/rte_eth_softnic_cli.c\n+++ b/drivers/net/softnic/rte_eth_softnic_cli.c\n@@ -1389,14 +1389,14 @@ cmd_softnic_pipeline_commit(struct pmd_internals *softnic,\n \tstatus = rte_swx_ctl_pipeline_commit(p->ctl, 1);\n \tif (status)\n \t\tsnprintf(out, out_size, \"Commit failed. \"\n-\t\t\t\"Use \\\"commit\\\" to retry or \\\"abort\\\" to discard the pending work.\\n\");\n+\t\t\t\"Use \\\"commit\\\" to retry or \\\"cancel\\\" to discard the pending work.\\n\");\n }\n \n /**\n- * pipeline <pipeline_name> abort\n+ * pipeline <pipeline_name> cancel\n  */\n static void\n-cmd_softnic_pipeline_abort(struct pmd_internals *softnic,\n+cmd_softnic_pipeline_cancel(struct pmd_internals *softnic,\n \tchar **tokens,\n \tuint32_t n_tokens,\n \tchar *out,\n@@ -1417,7 +1417,7 @@ cmd_softnic_pipeline_abort(struct pmd_internals *softnic,\n \t\treturn;\n \t}\n \n-\trte_swx_ctl_pipeline_abort(p->ctl);\n+\trte_swx_ctl_pipeline_cancel(p->ctl);\n }\n \n /**\n@@ -2428,8 +2428,8 @@ softnic_cli_process(char *in, char *out, size_t out_size, void *arg)\n \t\t\treturn;\n \t\t}\n \n-\t\tif (n_tokens >= 3 && !strcmp(tokens[2], \"abort\")) {\n-\t\t\tcmd_softnic_pipeline_abort(softnic, tokens, n_tokens, out, out_size);\n+\t\tif (n_tokens >= 3 && !strcmp(tokens[2], \"cancel\")) {\n+\t\t\tcmd_softnic_pipeline_cancel(softnic, tokens, n_tokens, out, out_size);\n \t\t\treturn;\n \t\t}\n \n",
    "prefixes": [
        "11/14"
    ]
}