get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 139136,
    "url": "http://patches.dpdk.org/api/patches/139136/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20240405165518.367503-3-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-3-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240405165518.367503-3-stephen@networkplumber.org",
    "date": "2024-04-05T16:53:13",
    "name": "[v4,02/30] eal: replace use of fixed size rte_memcpy",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "32fb6e3438bc09e8f9d7002f34a5cf7a41cabf52",
    "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-3-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/139136/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/139136/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 ABCE843E0C;\n\tFri,  5 Apr 2024 18:55:54 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2A0F9402F2;\n\tFri,  5 Apr 2024 18:55:42 +0200 (CEST)",
            "from mail-pf1-f171.google.com (mail-pf1-f171.google.com\n [209.85.210.171])\n by mails.dpdk.org (Postfix) with ESMTP id AA4CA402EA\n for <dev@dpdk.org>; Fri,  5 Apr 2024 18:55:38 +0200 (CEST)",
            "by mail-pf1-f171.google.com with SMTP id\n d2e1a72fcca58-6ecfd29f65dso1066374b3a.0\n for <dev@dpdk.org>; Fri, 05 Apr 2024 09:55:38 -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.37\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 05 Apr 2024 09:55:37 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1712336138;\n x=1712940938; 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=Y7jqDq9itjOlJ+//msrHAnc/VdUKNM16cIApE4/K90U=;\n b=bwhANwriytTFttzGE8F2kIkGUawrmQtw+mruJhCjHmd8KjGEirjRIYY2EvQi7e1Vfw\n M1yY4i+ra3Zl1H3dwSHia3op1gBVZGlHOS4z6UGvXaU3zF7j9rkttbVjP29Brhs3/NJ2\n nGnQBMrjsxLvxVm4f77iVFnFPPUtclo2t0Ll8+yPtOhOF5wPZ/MN8nECy++UJBL4F0sM\n 0raZi1QCrm7do/9c57inGpPmuqZ+EMdpnnb5Xw1OAgNeaCaTXXoAtLw25fWSvmCwitu/\n lIlgdpDwa4Ml/JQr3g6o6UlDuJ1hDHvCH7ll88Mm2jKeBNWSeD/A379aEd1AHBl+kyPh\n g4ow==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1712336138; x=1712940938;\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=Y7jqDq9itjOlJ+//msrHAnc/VdUKNM16cIApE4/K90U=;\n b=orwtg07aUYhp7DgGqMABTcokXvaz+xnAcCnhgQwa3VjbU4pe902pHUW1GQB9bmPTpN\n K6kKiCosGTyUVi5R27rpU0AjY+sc+GFbz8YhS8JAucOQLwgGwjt2X5tLekUfnfIEMozH\n HOmNPo+9lQtxbAzxCUzX0bDupmCVCyeW+JWgNTB8IRBFRTTBIZv/YDACuVHLSvErYJn1\n 9eL0RkE/585G1CrOV6SRZyW7qMPIbiV+xpbA95exG394A+01aKyk12ip8RbIzOMdPafO\n +HcA+HD5b4j9XMtSgmQyl14D5jdgDS9Rw2Zm65lbh/mg1lK8I7CTanrm4n2mipl9lgTk\n RkVg==",
        "X-Gm-Message-State": "AOJu0YzLYwkP1ewkbAoJMa4E8kBWzJrwAq/T4Hyqxyl+LHSNEp4wO+wp\n EhxKKR+SWogvhX36y/7f07Zj7kbYGDsLtnwK3CY4knaz9r7vo/jY3MFFtS1W7gAgPI9q6R965hQ\n p048=",
        "X-Google-Smtp-Source": "\n AGHT+IEkU6Qjv9tFLxLt+EgD03/+Up2vgyMhOaRKC6QBD2ocFbFmdNLdpn0DcOpPy0mB8KByIHgs3A==",
        "X-Received": "by 2002:a05:6a21:3381:b0:1a3:af7c:31f2 with SMTP id\n yy1-20020a056a21338100b001a3af7c31f2mr2430654pzb.39.1712336137908;\n Fri, 05 Apr 2024 09:55:37 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>",
        "Subject": "[PATCH v4 02/30] eal: replace use of fixed size rte_memcpy",
        "Date": "Fri,  5 Apr 2024 09:53:13 -0700",
        "Message-ID": "<20240405165518.367503-3-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": "Automatically generated by devtools/cocci/rte_memcpy.cocci\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n lib/eal/common/eal_common_options.c | 7 +++----\n 1 file changed, 3 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/lib/eal/common/eal_common_options.c b/lib/eal/common/eal_common_options.c\nindex e541f07939..07bfaffdac 100644\n--- a/lib/eal/common/eal_common_options.c\n+++ b/lib/eal/common/eal_common_options.c\n@@ -30,7 +30,6 @@\n #include <rte_tailq.h>\n #include <rte_version.h>\n #include <rte_devargs.h>\n-#include <rte_memcpy.h>\n #ifndef RTE_EXEC_ENV_WINDOWS\n #include <rte_telemetry.h>\n #endif\n@@ -1253,7 +1252,7 @@ eal_parse_lcores(const char *lcores)\n \n \t\t/* without '@', by default using lcore_set as cpuset */\n \t\tif (*lcores != '@')\n-\t\t\trte_memcpy(&cpuset, &lcore_set, sizeof(cpuset));\n+\t\t\tmemcpy(&cpuset, &lcore_set, sizeof(cpuset));\n \n \t\tset_count = CPU_COUNT(&lcore_set);\n \t\t/* start to update lcore_set */\n@@ -1275,8 +1274,8 @@ eal_parse_lcores(const char *lcores)\n \n \t\t\tif (check_cpuset(&cpuset) < 0)\n \t\t\t\tgoto err;\n-\t\t\trte_memcpy(&lcore_config[idx].cpuset, &cpuset,\n-\t\t\t\t   sizeof(rte_cpuset_t));\n+\t\t\tmemcpy(&lcore_config[idx].cpuset, &cpuset,\n+\t\t\t       sizeof(rte_cpuset_t));\n \t\t}\n \n \t\t/* some cores from the lcore_set can't be handled by EAL */\n",
    "prefixes": [
        "v4",
        "02/30"
    ]
}