get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 139046,
    "url": "http://patches.dpdk.org/api/patches/139046/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20240402215502.278838-13-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": "<20240402215502.278838-13-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240402215502.278838-13-stephen@networkplumber.org",
    "date": "2024-04-02T21:50:28",
    "name": "[v3,12/30] rib: replace use of fixed size rte_memcpy",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "d658914dd9486bb6ec0e92c3f0e35021d20f8129",
    "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/20240402215502.278838-13-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 31659,
            "url": "http://patches.dpdk.org/api/series/31659/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31659",
            "date": "2024-04-02T21:50:16",
            "name": "replace rte_memcpy of fixed size with memcpy",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/31659/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/139046/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/139046/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 63FD043DC8;\n\tTue,  2 Apr 2024 23:57:17 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2AD3640A84;\n\tTue,  2 Apr 2024 23:56:00 +0200 (CEST)",
            "from mail-pl1-f170.google.com (mail-pl1-f170.google.com\n [209.85.214.170])\n by mails.dpdk.org (Postfix) with ESMTP id 78B7D40272\n for <dev@dpdk.org>; Tue,  2 Apr 2024 23:55:50 +0200 (CEST)",
            "by mail-pl1-f170.google.com with SMTP id\n d9443c01a7336-1e0d8403257so44267915ad.1\n for <dev@dpdk.org>; Tue, 02 Apr 2024 14:55:50 -0700 (PDT)",
            "from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226])\n by smtp.gmail.com with ESMTPSA id\n x15-20020a170902820f00b001dddf29b6e8sm11609381pln.299.2024.04.02.14.55.49\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 02 Apr 2024 14:55:49 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1712094950;\n x=1712699750; 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=PGi90epMJ/pclaSLUu7UxclwzRV2+JGVGUTq+rpiSgY=;\n b=JMMc57EmBm3QvFsIwGpYCGKXEUef8PfgsUxafS5B/4J9Q+n5Wz8isyhMkSmmILBrke\n kRipbKScMnlODx9ibYFE3yaBIL2FRT9ca0N6MVvc4plHWKrBDvL3/KXrfxNU//vb+OaQ\n iCc/3TB2iO65lv9br9ZNJgH5oI0QCs8iNt4mxN2S/xQF/ymc72ipONNQo6jngrrikRxg\n yTO2dGmjKZO+QYNyJuCRq5jkd+JDEKtrKTfWs0Mw3d3jbzSnLxF1he+CIUqSkgVIlkf5\n UY2IYCigsYk5OVXy+UPczA8IPTbgwN96+tgtyLbclsEYC1m2TMhSPUFxGlyUMSG842+t\n A8vw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1712094950; x=1712699750;\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=PGi90epMJ/pclaSLUu7UxclwzRV2+JGVGUTq+rpiSgY=;\n b=m0qpd5sT4gKQMoRCrtnWSO/cgCs4NWombrrzj34PxNe7csXs7/lEJag9g9sQukdMBQ\n rAhPTLuoMzeT9/dW+X57V9RukZF83FRUA1qfzsxw0rYZlAv8rv8GFoLV6Mmh9MKaJqxo\n ahIHfMsZENcWpBnw5tneBarZMsT5f8KvcNujFCY7VdYzEV13VDEhTet3y/HRByoTdUe9\n zNLKEkTw0Le4UDI9n/rekoq1ZCozyhNqUBv2dLtJBT4HfV30y60pMi1Xklul88HO8olw\n s3Ka2vRLUoxvJjFF6YBQJAm7k7MxiFKj574GXJYFYjSwsSXrytLrwMR8vIW3jckyuPvi\n r5lA==",
        "X-Gm-Message-State": "AOJu0Yx1bdEOzh+Y+fEbckatAwI6xQytvxJ3RAhR9phryXM9EfuQ3mKK\n LSj0DBMora1s3XMX6TEdobKySSgIrKCVqC67cRAeHaBRYUu6zItJ1bJ12Wkd1Bu/E7r8kURYS7E\n w",
        "X-Google-Smtp-Source": "\n AGHT+IEeB1Vs2ihxkXhU0QWfLWlVNcehJwJ10RwX8pjRuGbRwFXVSlEOBq9HhYeuR1ATnSU6GgYq8Q==",
        "X-Received": "by 2002:a17:902:da8f:b0:1e0:b29f:4699 with SMTP id\n j15-20020a170902da8f00b001e0b29f4699mr16315203plx.14.1712094949764;\n Tue, 02 Apr 2024 14:55:49 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Vladimir Medvedkin <vladimir.medvedkin@intel.com>",
        "Subject": "[PATCH v3 12/30] rib: replace use of fixed size rte_memcpy",
        "Date": "Tue,  2 Apr 2024 14:50:28 -0700",
        "Message-ID": "<20240402215502.278838-13-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20240402215502.278838-1-stephen@networkplumber.org>",
        "References": "<20240229225936.483472-1-stephen@networkplumber.org>\n <20240402215502.278838-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": "Mostly automatically generated by devtools/cocci/rte_memcpy.cocci\nThe fib/trie.c was relying on headers\n  rte_rib6 -> rte_memcpy -> rte_vect\nsince rib6 is no longer using rte_memcpy need to get rte_vect.h\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n lib/fib/trie.c     | 2 +-\n lib/rib/rte_rib6.h | 5 +++--\n 2 files changed, 4 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/lib/fib/trie.c b/lib/fib/trie.c\nindex 09470e7287..a77f6c758b 100644\n--- a/lib/fib/trie.c\n+++ b/lib/fib/trie.c\n@@ -9,7 +9,7 @@\n #include <rte_debug.h>\n #include <rte_malloc.h>\n #include <rte_errno.h>\n-\n+#include <rte_vect.h>\n #include <rte_rib6.h>\n #include <rte_fib6.h>\n #include \"trie.h\"\ndiff --git a/lib/rib/rte_rib6.h b/lib/rib/rte_rib6.h\nindex 775286f965..f366d3d197 100644\n--- a/lib/rib/rte_rib6.h\n+++ b/lib/rib/rte_rib6.h\n@@ -14,7 +14,8 @@\n  * Level compressed tree implementation for IPv6 Longest Prefix Match\n  */\n \n-#include <rte_memcpy.h>\n+#include <string.h>\n+\n #include <rte_common.h>\n \n #ifdef __cplusplus\n@@ -61,7 +62,7 @@ rte_rib6_copy_addr(uint8_t *dst, const uint8_t *src)\n {\n \tif ((dst == NULL) || (src == NULL))\n \t\treturn;\n-\trte_memcpy(dst, src, RTE_RIB6_IPV6_ADDR_SIZE);\n+\tmemcpy(dst, src, RTE_RIB6_IPV6_ADDR_SIZE);\n }\n \n /**\n",
    "prefixes": [
        "v3",
        "12/30"
    ]
}