get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 137643,
    "url": "http://patches.dpdk.org/api/patches/137643/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20240229225936.483472-70-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": "<20240229225936.483472-70-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240229225936.483472-70-stephen@networkplumber.org",
    "date": "2024-02-29T22:58:56",
    "name": "[69/71] app/test-eventdev: replace use of fixed size rte_memcpy",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "7ad5ba842f153bdc74d0b61ccaa000024e228004",
    "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/20240229225936.483472-70-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 31314,
            "url": "http://patches.dpdk.org/api/series/31314/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31314",
            "date": "2024-02-29T22:57:48",
            "name": "replace use of fixed size rte_memcpy",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/31314/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/137643/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/137643/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 740B643BAE;\n\tFri,  1 Mar 2024 00:08:47 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B53A24346F;\n\tFri,  1 Mar 2024 00:02:28 +0100 (CET)",
            "from mail-pg1-f172.google.com (mail-pg1-f172.google.com\n [209.85.215.172])\n by mails.dpdk.org (Postfix) with ESMTP id F412D43340\n for <dev@dpdk.org>; Fri,  1 Mar 2024 00:01:00 +0100 (CET)",
            "by mail-pg1-f172.google.com with SMTP id\n 41be03b00d2f7-5dcc4076c13so1264689a12.0\n for <dev@dpdk.org>; Thu, 29 Feb 2024 15:01:00 -0800 (PST)",
            "from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141])\n by smtp.gmail.com with ESMTPSA id\n l22-20020a17090b079600b0029a8e5355fcsm1965578pjz.53.2024.02.29.15.00.59\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 29 Feb 2024 15:00:59 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709247660;\n x=1709852460; 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=rO7SIIkiWVQ2S4NTSuaHfv9iQv4J+F5xqVXp01dtZ2g=;\n b=kgRfyPjW39R2VEeUMb3EPdugF0vmkCkCme3Jt2hZXPRGnFOo83aJk6E6dbvgmqXepY\n Jd4KjKlDvGzL5yOHTjCZ8Dv3jRCYVWQv8Rem7z8pHhM62PTBCMNwQ/+bPXqQDlIdGHM+\n 5b5Ma+Jh2jkdGDXmtdX61tLmHxCRoVkK+ryTEZud7obavMt/+evbAVAia5NtTyvEY0dc\n 3OaFWXxqlRsts/Mb4MmBVSc+sX94nEK4Qr3dGxn+fyRa5JQ/AIkoMKzl4PdgomqE1aJC\n qcVrieek2rqJs5tLpLTp/+b7lBNOTeITJTTuK9jyKwYRMY/znyV+yJo7P1UrlFlf34Aq\n tg1Q==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1709247660; x=1709852460;\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=rO7SIIkiWVQ2S4NTSuaHfv9iQv4J+F5xqVXp01dtZ2g=;\n b=C1RjyWIWU3RsJ9XOyNkGxQIyogwgBeqtuWMl+rp8i+t8tZGL+RipF5y+LUc8BHvEyH\n f1Pcixkqxtq8Phe7F8dLJmVPF8pHIG61DONGausxd12CbnxGtQdaJ0AaXqEiyxFCJh3m\n GUEgUYOtHEQKa9nJZNmjN9gFXYRRejm07+XH62/4qhGldp+Uu1RTVO2hkgM5O15b8MXa\n /hSG2NLkzPYxrc5eaUNILei7Xw96nasCtYDgljjktB3ZfP4aK6ad1hhMpQ5BqUf9Ae5m\n Uxrhjv+Cd6mJMz2CdNSijHHt1sLoiAq2iQ307Ymo4+xS3/s9batuinet8xIf83peTGRU\n Kj0w==",
        "X-Gm-Message-State": "AOJu0Ywq2jzFzRNy6cKM5/ims92Qo1F/xmUz0JIDI9kQ97bwseVi1zZK\n 2+hcConUL720xkbdbBx0pMGRzeu7hKOOzdBX7v6J0vOgJBA+0I9xOnT89k/lYP7+ZGLxSaMtDHk\n SdFU=",
        "X-Google-Smtp-Source": "\n AGHT+IG7uMzy023C/lC90yuECwUtJYtLjxomGQOFgl0FXVtPdk3pB16gupaRlRXTZSLNt3Q5mlmPkA==",
        "X-Received": "by 2002:a17:90b:35ce:b0:29a:f227:a7ce with SMTP id\n nb14-20020a17090b35ce00b0029af227a7cemr425105pjb.12.1709247660181;\n Thu, 29 Feb 2024 15:01:00 -0800 (PST)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Jerin Jacob <jerinj@marvell.com>",
        "Subject": "[PATCH 69/71] app/test-eventdev: replace use of fixed size rte_memcpy",
        "Date": "Thu, 29 Feb 2024 14:58:56 -0800",
        "Message-ID": "<20240229225936.483472-70-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20240229225936.483472-1-stephen@networkplumber.org>",
        "References": "<20240229225936.483472-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 app/test-eventdev/test_pipeline_common.c | 19 +++++++------------\n 1 file changed, 7 insertions(+), 12 deletions(-)",
    "diff": "diff --git a/app/test-eventdev/test_pipeline_common.c b/app/test-eventdev/test_pipeline_common.c\nindex b111690b7cd4..49bfd0c363f5 100644\n--- a/app/test-eventdev/test_pipeline_common.c\n+++ b/app/test-eventdev/test_pipeline_common.c\n@@ -177,22 +177,17 @@ pipeline_tx_first(struct test_pipeline *t, struct evt_options *opt)\n \t\t\tmbuf->pkt_len = pkt_sz;\n \n \t\t\t/* Copy Ethernet header */\n-\t\t\trte_memcpy(rte_pktmbuf_mtod_offset(mbuf, char *, 0),\n-\t\t\t\t   &eth_hdr, sizeof(struct rte_ether_hdr));\n+\t\t\tmemcpy(rte_pktmbuf_mtod_offset(mbuf, char *, 0),\n+\t\t\t       &eth_hdr, sizeof(struct rte_ether_hdr));\n \n \t\t\t/* Copy Ipv4 header */\n-\t\t\trte_memcpy(rte_pktmbuf_mtod_offset(\n-\t\t\t\t\t   mbuf, char *,\n-\t\t\t\t\t   sizeof(struct rte_ether_hdr)),\n-\t\t\t\t   &ip_hdr, sizeof(struct rte_ipv4_hdr));\n+\t\t\tmemcpy(rte_pktmbuf_mtod_offset(mbuf, char *, sizeof(struct rte_ether_hdr)),\n+\t\t\t       &ip_hdr, sizeof(struct rte_ipv4_hdr));\n \n \t\t\t/* Copy UDP header */\n-\t\t\trte_memcpy(\n-\t\t\t\trte_pktmbuf_mtod_offset(\n-\t\t\t\t\tmbuf, char *,\n-\t\t\t\t\tsizeof(struct rte_ipv4_hdr) +\n-\t\t\t\t\t\tsizeof(struct rte_ether_hdr)),\n-\t\t\t\t&udp_hdr, sizeof(struct rte_udp_hdr));\n+\t\t\tmemcpy(rte_pktmbuf_mtod_offset(mbuf, char *, sizeof(struct rte_ipv4_hdr)\n+\t\t\t\t\t\t       + sizeof(struct rte_ether_hdr)),\n+\t\t\t       &udp_hdr, sizeof(struct rte_udp_hdr));\n \t\t\tpkt_udp_hdr = rte_pktmbuf_mtod_offset(\n \t\t\t\tmbuf, struct rte_udp_hdr *,\n \t\t\t\tsizeof(struct rte_ipv4_hdr) +\n",
    "prefixes": [
        "69/71"
    ]
}