get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 140241,
    "url": "http://patchwork.dpdk.org/api/patches/140241/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20240522033009.143100-5-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": "<20240522033009.143100-5-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240522033009.143100-5-stephen@networkplumber.org",
    "date": "2024-05-22T03:27:31",
    "name": "[v5,04/32] eventdev: replace use of fixed size rte_memcpy",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "ad7c518bdbed8076e5420a8f4b544d4f344099d5",
    "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/20240522033009.143100-5-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 31958,
            "url": "http://patchwork.dpdk.org/api/series/31958/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=31958",
            "date": "2024-05-22T03:27:27",
            "name": "replace use of rte_memcpy() with fixed size",
            "version": 5,
            "mbox": "http://patchwork.dpdk.org/series/31958/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/140241/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/140241/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 F09B944093;\n\tWed, 22 May 2024 05:30:58 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 90D3040691;\n\tWed, 22 May 2024 05:30:34 +0200 (CEST)",
            "from mail-pl1-f172.google.com (mail-pl1-f172.google.com\n [209.85.214.172])\n by mails.dpdk.org (Postfix) with ESMTP id B9E39402C8\n for <dev@dpdk.org>; Wed, 22 May 2024 05:30:29 +0200 (CEST)",
            "by mail-pl1-f172.google.com with SMTP id\n d9443c01a7336-1ecd9a81966so3311255ad.0\n for <dev@dpdk.org>; Tue, 21 May 2024 20:30:29 -0700 (PDT)",
            "from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226])\n by smtp.gmail.com with ESMTPSA id\n d9443c01a7336-1f323c70dafsm2264325ad.260.2024.05.21.20.30.28\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 21 May 2024 20:30:28 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1716348629;\n x=1716953429; 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=QEPChqlAXAK/b7g7FPQYA8ebH1KJBtDb4kFA7ezjfys=;\n b=Q9Dt8m5Uy/0KOMxDZJhV9+7zuf+BeqEuXqTSUM2OQjf3EakEJTXhNpcNogm2sas/ge\n ErgRFSM28e3JEz0lutEsFEXh5W7qzHE1EAZ9Iy2PU7wPSwEaNiIItz2Cxt8Hty+YhQAQ\n Qy97U9a70L1jxAjIvSr0VP5iceNPDpfsLtOOP5ZGSM1/UehNkx90MZRWruWQ5Cb3gQ3r\n 4OslUWRKpCph7Mdcq1NTfrhvcBCVzBe1rKUUprumC4/PpNHxBHPf9We/KqNA+arEh5tx\n glQZpy3GQbcmyGOPDAUG7DTC7LGLhMeHUbiXBOQyjApGIecPqO351XiCBhJS9OpnhFyf\n wp2Q==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1716348629; x=1716953429;\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=QEPChqlAXAK/b7g7FPQYA8ebH1KJBtDb4kFA7ezjfys=;\n b=ou23tbDPTiIz0h1lYaEzUwlS0sYOwVVa4fS70KK7VjRk2wrKvxzUZqahW8OxyU5Ui3\n AUGjNqLHhCAkBDEESm1JWH6/6xu2vq11yNFvpMjMu29FR4i/ttPHJElPo8Sg26r3Pabp\n BlLdMOi2WExotgSVpT0FDlqnQEK34cQxJe+lEOeUNyT40vi9ZMUb/h4jvcCk9uw2+Or7\n CwRkc6C3c/YX/5LXTeblgMFkCV+8a/chc0khM9i7cmy/zfq0VmsBW2dOBAqTSMLJY/AN\n +TWk3ARPUqZu7p/5sJpXT0STwQ31KkjDg++XsI87k7e0atroLREXM0gNz0tC11SH6HpA\n x5zQ==",
        "X-Gm-Message-State": "AOJu0YxuUXvIsx3zB6CKI5cszMNY6vA4WesUGlS+1kLPZd3UbSbZd26t\n isyLae1l1+V6bismHJ8+n+JTadS1t1XQMM82nbbTGDUMCI5/ZBHVGFbCn+/iUy8nSKo9xCGkHiI\n zKZQ=",
        "X-Google-Smtp-Source": "\n AGHT+IHMhYUfeenFf5lXT7MkoR8wL4Cl+y/Go8Yk5ZksEZqHDwO26fo8aeHcNcnTsXev9dymDQnlgw==",
        "X-Received": "by 2002:a17:902:c403:b0:1eb:309b:6712 with SMTP id\n d9443c01a7336-1f2ed3678ebmr117021145ad.29.1716348628763;\n Tue, 21 May 2024 20:30:28 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Abhinandan Gujjar <abhinandan.gujjar@intel.com>,\n Jerin Jacob <jerinj@marvell.com>,\n Amit Prakash Shukla <amitprakashs@marvell.com>,\n Erik Gabriel Carrillo <erik.g.carrillo@intel.com>",
        "Subject": "[PATCH v5 04/32] eventdev: replace use of fixed size rte_memcpy",
        "Date": "Tue, 21 May 2024 20:27:31 -0700",
        "Message-ID": "<20240522033009.143100-5-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20240522033009.143100-1-stephen@networkplumber.org>",
        "References": "<20240403163432.437275-1-stephen@networkplumber.org>\n <20240522033009.143100-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 lib/eventdev/rte_event_crypto_adapter.c | 2 +-\n lib/eventdev/rte_event_dma_adapter.c    | 4 ++--\n lib/eventdev/rte_event_timer_adapter.c  | 2 +-\n 3 files changed, 4 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/lib/eventdev/rte_event_crypto_adapter.c b/lib/eventdev/rte_event_crypto_adapter.c\nindex db1c7f3906..e2fff2ecc9 100644\n--- a/lib/eventdev/rte_event_crypto_adapter.c\n+++ b/lib/eventdev/rte_event_crypto_adapter.c\n@@ -655,7 +655,7 @@ eca_ops_enqueue_burst(struct event_crypto_adapter *adapter,\n \t\t\tcontinue;\n \t\t}\n \n-\t\trte_memcpy(ev, &m_data->response_info, sizeof(*ev));\n+\t\tmemcpy(ev, &m_data->response_info, sizeof(*ev));\n \t\tev->event_ptr = ops[i];\n \t\tev->event_type = RTE_EVENT_TYPE_CRYPTODEV;\n \t\tif (adapter->implicit_release_disabled)\ndiff --git a/lib/eventdev/rte_event_dma_adapter.c b/lib/eventdev/rte_event_dma_adapter.c\nindex 24dff556db..6784c562b0 100644\n--- a/lib/eventdev/rte_event_dma_adapter.c\n+++ b/lib/eventdev/rte_event_dma_adapter.c\n@@ -447,7 +447,7 @@ rte_event_dma_adapter_create(uint8_t id, uint8_t evdev_id, struct rte_event_port\n \tif (pc == NULL)\n \t\treturn -ENOMEM;\n \n-\trte_memcpy(pc, port_config, sizeof(struct rte_event_port_conf));\n+\tmemcpy(pc, port_config, sizeof(struct rte_event_port_conf));\n \tret = rte_event_dma_adapter_create_ext(id, evdev_id, edma_default_config_cb, mode, pc);\n \tif (ret != 0)\n \t\trte_free(pc);\n@@ -668,7 +668,7 @@ edma_ops_enqueue_burst(struct event_dma_adapter *adapter, struct rte_event_dma_a\n \t\t\tcontinue;\n \t\t}\n \n-\t\trte_memcpy(ev, response_info, sizeof(struct rte_event));\n+\t\tmemcpy(ev, response_info, sizeof(struct rte_event));\n \t\tev->event_ptr = ops[i];\n \t\tev->event_type = RTE_EVENT_TYPE_DMADEV;\n \t\tif (adapter->implicit_release_disabled)\ndiff --git a/lib/eventdev/rte_event_timer_adapter.c b/lib/eventdev/rte_event_timer_adapter.c\nindex 5886965d14..9ca52cc6de 100644\n--- a/lib/eventdev/rte_event_timer_adapter.c\n+++ b/lib/eventdev/rte_event_timer_adapter.c\n@@ -549,7 +549,7 @@ event_buffer_add(struct event_buffer *bufp, struct rte_event *eventp)\n \t/* Instead of modulus, bitwise AND with mask to get head_idx. */\n \thead_idx = bufp->head & EVENT_BUFFER_MASK;\n \tbuf_eventp = &bufp->events[head_idx];\n-\trte_memcpy(buf_eventp, eventp, sizeof(struct rte_event));\n+\tmemcpy(buf_eventp, eventp, sizeof(struct rte_event));\n \n \t/* Wrap automatically when overflow occurs. */\n \tbufp->head++;\n",
    "prefixes": [
        "v5",
        "04/32"
    ]
}