get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 139146,
    "url": "http://patches.dpdk.org/api/patches/139146/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20240405165518.367503-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": "<20240405165518.367503-13-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240405165518.367503-13-stephen@networkplumber.org",
    "date": "2024-04-05T16:53:23",
    "name": "[v4,12/30] rib: replace use of fixed size rte_memcpy",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "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/20240405165518.367503-13-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 31690,
            "url": "http://patches.dpdk.org/api/series/31690/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31690",
            "date": "2024-04-05T16:53:11",
            "name": "replace use of rte_memcpy with fixed sizes",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/31690/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/139146/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/139146/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 EE96C43E0C;\n\tFri,  5 Apr 2024 18:57:21 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8D0BB40E09;\n\tFri,  5 Apr 2024 18:55:55 +0200 (CEST)",
            "from mail-pf1-f178.google.com (mail-pf1-f178.google.com\n [209.85.210.178])\n by mails.dpdk.org (Postfix) with ESMTP id 54BE240A8B\n for <dev@dpdk.org>; Fri,  5 Apr 2024 18:55:50 +0200 (CEST)",
            "by mail-pf1-f178.google.com with SMTP id\n d2e1a72fcca58-6ecee5c08e6so2099207b3a.3\n for <dev@dpdk.org>; Fri, 05 Apr 2024 09: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 c2-20020aa781c2000000b006e6c0f8ce1bsm1728555pfn.47.2024.04.05.09.55.48\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 05 Apr 2024 09:55:49 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1712336149;\n x=1712940949; 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=STHSlKZPQh1XlbjTNR59DiS8xZUPlVsBV1i5smw7KWRQvREAjQ7Eu/MSrjk+1mN4Pq\n 7pcN0IYBm2lnHfideylp2Y2noPJnrC4Hv29X4G3EI3ZXaxMn/PmwIx9FE8Zj4OSSxv/C\n tACgv2Ban0xygZXPqRp+kAfM2c7matxh4/QUHoLOZLoSCS3ltvKgd5cxacGhwcxXCXEf\n gk9NQlCV0HciPdykf5A2SY5uYIRVeaxuCENBIY3pC+KoUYXNL7qSZrmIcY2l8IQRm36F\n jxoRJVDXpQDQCKAgUOu3Rl1Cdfq5mdSs3gXD5C6LXVueVsOm/whdPRQOsnV2A8QxX7Ed\n bIbQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1712336149; x=1712940949;\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=f9MFuw4bcOQ8BFP1BHOj+aC45cYQoTN4rv7f2Dghe48I0aO2ZzE8s6Y63c4oYyITWP\n SMKidNdXrRlwhZVslKSIJ8vjoDrfRT4u+6yuXxkRLJ+04I2jTcUWsy2cCgymTvhYov7C\n e0dxaHu/mZtZCeaybyO9oN+nXfUe3e0pghdNyc8e5wy5J33YHA7ejRL0VX99lPhMndOq\n +H2liqhV/VNva2Sb2pn1Bg+S5ZSVZW0yJcTlAoBrneZnTT86mc8SAL9RmVwCV5NaF3oJ\n +rGmDbpiTgsvyb5fBx+b3bmnxwk+5XrD6CG3QptLoWBxLm3+GwELUjEd0NdkU3m6h45X\n 2gbg==",
        "X-Gm-Message-State": "AOJu0YyynaYn4G54ZuN3U7hS/O/V12F4HV21yi/16Ofk0MxFXSQwW50Z\n 7PJsNeKZ4M/6ormnLqJLxzdrhWiwGgy1EKEHO7PxoiqOcHEByQcazgMwkmnApWs1rz7rgkXAQYe\n wKWQ=",
        "X-Google-Smtp-Source": "\n AGHT+IGxz7NcbUhUKcV/InZc/n9C3rY5SSbqGY5lt0TPoit9Gcg6bcjOytR9b5cgUVssBSL2QEiGSA==",
        "X-Received": "by 2002:a05:6a20:8412:b0:1a7:427b:8216 with SMTP id\n c18-20020a056a20841200b001a7427b8216mr2240380pzd.55.1712336149539;\n Fri, 05 Apr 2024 09: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 v4 12/30] rib: replace use of fixed size rte_memcpy",
        "Date": "Fri,  5 Apr 2024 09:53:23 -0700",
        "Message-ID": "<20240405165518.367503-13-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20240405165518.367503-1-stephen@networkplumber.org>",
        "References": "<20240403163432.437275-1-stephen@networkplumber.org>\n <20240405165518.367503-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": [
        "v4",
        "12/30"
    ]
}