get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 137729,
    "url": "http://patchwork.dpdk.org/api/patches/137729/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20240301171707.95242-40-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": "<20240301171707.95242-40-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240301171707.95242-40-stephen@networkplumber.org",
    "date": "2024-03-01T17:15:35",
    "name": "[v2,39/71] crypto/cnxk: replace use of fixed size rte_memcpy",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "388facbf3c611c5e1c7cc46eade2842f30f1d120",
    "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/20240301171707.95242-40-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 31340,
            "url": "http://patchwork.dpdk.org/api/series/31340/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=31340",
            "date": "2024-03-01T17:14:57",
            "name": "replace use of fixed size rte_mempcy",
            "version": 2,
            "mbox": "http://patchwork.dpdk.org/series/31340/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/137729/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/137729/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 3527C43C12;\n\tFri,  1 Mar 2024 18:22:01 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8873A4347E;\n\tFri,  1 Mar 2024 18:18:10 +0100 (CET)",
            "from mail-pl1-f176.google.com (mail-pl1-f176.google.com\n [209.85.214.176])\n by mails.dpdk.org (Postfix) with ESMTP id 22A52433E8\n for <dev@dpdk.org>; Fri,  1 Mar 2024 18:17:48 +0100 (CET)",
            "by mail-pl1-f176.google.com with SMTP id\n d9443c01a7336-1dca3951ad9so21948225ad.3\n for <dev@dpdk.org>; Fri, 01 Mar 2024 09:17:48 -0800 (PST)",
            "from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141])\n by smtp.gmail.com with ESMTPSA id\n j14-20020a170902da8e00b001dc8d6a9d40sm3695764plx.144.2024.03.01.09.17.46\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 01 Mar 2024 09:17:47 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709313467;\n x=1709918267; darn=dpdk.org;\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=FINMwYiClSWzDgSE/KQmfKaD2/JiBuvKG9zmhUkGrGw=;\n b=hr2zwqgoFnHAHura7nGiXu+NrF57ZsNufu2FdOniWdPzaAbOVOPxEgeUKB82+a+3oQ\n JopFNP7+HgCu6QkkndkKtI2mDpT9756TJI/CPvMhCgNaXH7RvX4q6rBre9SjEvbhEQCg\n 86L72tOrblBHXFeuhopM5Nr734KINqcz8Y4FX9OA8YBdJjoR4ZNwheIYzxJWJQHNGFrd\n 7PNTH4zhOmHxRHaTeC+nLqg2cedm8pa1U4OnXOKqjyNMxEVGqVcRwWSEzc1Gnj3bPNj1\n 4M7oO7tx8+3HFTDFm5AzGT4gH/kgsj9cDLf3zM6q8BCdZy2SgMzp2V0m6vsp7YW8/HzM\n qpTw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1709313467; x=1709918267;\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=FINMwYiClSWzDgSE/KQmfKaD2/JiBuvKG9zmhUkGrGw=;\n b=lrzwrRh9uWhCpW4uNFPGAFGcd9loKA8h4KnnmpGOcoAyZ9T4W3S5OE5e/mwpyXkHs6\n +3wb729wXiYaOHlbZ54MMKPLR3yB0iqLk4rah1vViAS/QNdyts+nrA39PaSm7oZiXek2\n j3o8NI3L2Mjp321b5N36wDzzbPDOGdU8b7topNMT8SihV11Mci9nGMLCqILsYn074lBU\n 6YCz2kAPdILpq4L1D7dO6P8jdXCeSV4ikNlAyrUkUws7BmlJYlVVHZy+sbQ2MZ59I561\n E3QnJ03SXC2xk4+jK5SJVXtXdso3crehbuaLjpM/u5zm3DGkTrQPDhz9XJRXAnLw/9Dx\n gTfw==",
        "X-Gm-Message-State": "AOJu0YyFC46M6mAzk6RW2rtckOXucWTe6XPMojtrt5zXp248SLL4Jd1E\n Z8RkQqHuCrA4kkniWtPJ6Lw569SCry5UjnKFxuho14430QA4B8pU1P0m1rQnM3GXlWsdZgRYcjp\n Q6o1jtA==",
        "X-Google-Smtp-Source": "\n AGHT+IFfgmRjBIX6ny2DhKTk8+YEwiIUbiDLT+B1YKvVoXP7gf+Nz8plkkE5SEgMe1xo8oPEwGdrew==",
        "X-Received": "by 2002:a17:902:ec81:b0:1dc:30d7:ff37 with SMTP id\n x1-20020a170902ec8100b001dc30d7ff37mr2379520plg.42.1709313467450;\n Fri, 01 Mar 2024 09:17:47 -0800 (PST)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Ankur Dwivedi <adwivedi@marvell.com>, Anoob Joseph <anoobj@marvell.com>,\n Tejasree Kondoj <ktejasree@marvell.com>",
        "Subject": "[PATCH v2 39/71] crypto/cnxk: replace use of fixed size rte_memcpy",
        "Date": "Fri,  1 Mar 2024 09:15:35 -0800",
        "Message-ID": "<20240301171707.95242-40-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20240301171707.95242-1-stephen@networkplumber.org>",
        "References": "<20240229225936.483472-1-stephen@networkplumber.org>\n <20240301171707.95242-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": "Automatically generated by devtools/cocci/rte_memcpy.cocci\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 2 +-\n drivers/crypto/cnxk/cnxk_se.h            | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_ops.c b/drivers/crypto/cnxk/cnxk_cryptodev_ops.c\nindex 1dd1dbac9afc..a67af3ec35a1 100644\n--- a/drivers/crypto/cnxk/cnxk_cryptodev_ops.c\n+++ b/drivers/crypto/cnxk/cnxk_cryptodev_ops.c\n@@ -959,7 +959,7 @@ cnxk_crypto_cn10k_submit(void *qptr, void *inst, uint16_t nb_inst)\n \tlmt_dst = PLT_PTR_CAST(lmt_base);\n \n \tfor (j = 0; j < i; j++) {\n-\t\trte_memcpy(lmt_dst, inst, sizeof(struct cpt_inst_s));\n+\t\tmemcpy(lmt_dst, inst, sizeof(struct cpt_inst_s));\n \t\tinst = RTE_PTR_ADD(inst, sizeof(struct cpt_inst_s));\n \t\tlmt_dst = RTE_PTR_ADD(lmt_dst, 2 * sizeof(struct cpt_inst_s));\n \t}\ndiff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto/cnxk/cnxk_se.h\nindex c211884ddaea..e6c1e1586b9b 100644\n--- a/drivers/crypto/cnxk/cnxk_se.h\n+++ b/drivers/crypto/cnxk/cnxk_se.h\n@@ -1161,7 +1161,7 @@ cpt_sm_prep(uint32_t flags, uint64_t d_offs, uint64_t d_lens, struct roc_se_fc_p\n \t\t\tvoid *dst = PLT_PTR_ADD(offset_vaddr, ROC_SE_OFF_CTRL_LEN);\n \t\t\tconst uint64_t *src = fc_params->iv_buf;\n \n-\t\t\trte_memcpy(dst, src, 16);\n+\t\t\tmemcpy(dst, src, 16);\n \t\t}\n \t\tinst->w4.u64 = cpt_inst_w4.u64;\n \t} else {\n",
    "prefixes": [
        "v2",
        "39/71"
    ]
}