get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 139683,
    "url": "http://patchwork.dpdk.org/api/patches/139683/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20240425182738.4771-2-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": "<20240425182738.4771-2-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240425182738.4771-2-stephen@networkplumber.org",
    "date": "2024-04-25T18:23:58",
    "name": "[RFC,1/4] rte_malloc: document that type is unused",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "23b8a9d8cd857802854cf31b8f10f7d9780290e9",
    "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/20240425182738.4771-2-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 31824,
            "url": "http://patchwork.dpdk.org/api/series/31824/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=31824",
            "date": "2024-04-25T18:23:57",
            "name": "malloc type argument cleanup (part 1)",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/31824/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/139683/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/139683/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 D1F5643F09;\n\tThu, 25 Apr 2024 20:27:56 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B36414394F;\n\tThu, 25 Apr 2024 20:27:52 +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 304E040A67\n for <dev@dpdk.org>; Thu, 25 Apr 2024 20:27:50 +0200 (CEST)",
            "by mail-pf1-f178.google.com with SMTP id\n d2e1a72fcca58-6edb76d83d0so1215798b3a.0\n for <dev@dpdk.org>; Thu, 25 Apr 2024 11:27: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 d7-20020a056a00244700b006f0ba1c8ddesm4067006pfj.184.2024.04.25.11.27.48\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 25 Apr 2024 11:27:48 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1714069669;\n x=1714674469; 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=hFC5DzGzPNzUJ3Kfg57UBXCUkgZk/ncI+/kVAITVyJM=;\n b=rQuW3UF0+xA1Ywdugyy3h47HXsG4SHQTiKhVu4oqRSC/oskHqPIHf6kWhNEvll75LM\n tqNp5Pa47N1eIbKvVe0HHaAjSOFnGcOEsKD/9ajokj8G4qpog92cKCwfOtVbmewvsOCs\n Ups98eFWDNZxPBzdTounBWC3vjyOWJwVdp6sx5Y4y+7PiCJ+ka5xxlExhGC0G9pbovnM\n MbHtCrvB+sfFgIvdhZTQ2eqnDcwrecmsGvDls9AQDkGVEcgpg347dEVsMLq5ziCJo6bT\n 5HzpKKjSmneXxgWGJyWRAk1HKIGQCct79V/Fg7158cA5kc7MDD+w9yctfXws7sNiA+eD\n wIuw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1714069669; x=1714674469;\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=hFC5DzGzPNzUJ3Kfg57UBXCUkgZk/ncI+/kVAITVyJM=;\n b=reeBK/28q6AcYbfQECHNxm0GsHh6v/KR/Ir5ojiFMX2vi+OGqlLOsF98IydgIOMdCh\n aSdYNmCLtZjp9fWElb4g1qpODMCZqa8QpL1iMX2+5fALnlfeAzuLtLXd379pVKBv+DGL\n zvUXiOiv55JolcoUSXFSf8KjvjnXeMDF1fAJYoldi2AOcOEzd+ez5H1ILoJ66NxbuWMI\n QPxSOwr4jBoQTBraD4j7yZscFVLJepPEnfTsX19rHbcG0EihQkGGXpoQA+5/0nPnZ/Ao\n TtQyzbDLCBdN4pNwSzVw7i4D7V7ExG2MKDfb6sSMhsa+gYJQURmDE8mcvRvGhezw8GfX\n Cwpg==",
        "X-Gm-Message-State": "AOJu0YzXqKF409pCHld5am1RHEFKJTTiZvPsOjGxF3DEc9p4NBwdVdnT\n kjQKIA9kxT42uASM2QZnY2GM+d9L+yv4WUh+znYuwzbg8dIYN2Nf9WlA4ghVBoP/CRoTSX5gklJ\n j",
        "X-Google-Smtp-Source": "\n AGHT+IE+gTl0bktDiKpqeVY2HsE+8slKd3q3S3gw1r+yq03xxQOHRn4RrKDZJv6+ocQbqHoatomBbw==",
        "X-Received": "by 2002:a05:6a20:6a1d:b0:1ad:84ca:88f0 with SMTP id\n p29-20020a056a206a1d00b001ad84ca88f0mr709533pzk.4.1714069669158;\n Thu, 25 Apr 2024 11:27:49 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>",
        "Subject": "[RFC 1/4] rte_malloc: document that type is unused",
        "Date": "Thu, 25 Apr 2024 11:23:58 -0700",
        "Message-ID": "<20240425182738.4771-2-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20240425182738.4771-1-stephen@networkplumber.org>",
        "References": "<20240425182738.4771-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": "The string type is left over from first version of DPDK and\nwas never implemented.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n lib/eal/include/rte_malloc.h | 21 +++++++--------------\n 1 file changed, 7 insertions(+), 14 deletions(-)",
    "diff": "diff --git a/lib/eal/include/rte_malloc.h b/lib/eal/include/rte_malloc.h\nindex 54a8ac211e..91c9214c57 100644\n--- a/lib/eal/include/rte_malloc.h\n+++ b/lib/eal/include/rte_malloc.h\n@@ -37,8 +37,7 @@ struct rte_malloc_socket_stats {\n  * NUMA socket as the core that calls this function.\n  *\n  * @param type\n- *   A string identifying the type of allocated objects (useful for debug\n- *   purposes, such as identifying the cause of a memory leak). Can be NULL.\n+ *   Legacy argument, never unused should be NULL.\n  * @param size\n  *   Size (in bytes) to be allocated.\n  * @param align\n@@ -64,8 +63,7 @@ rte_malloc(const char *type, size_t size, unsigned align)\n  * same NUMA socket as the core that calls this function.\n  *\n  * @param type\n- *   A string identifying the type of allocated objects (useful for debug\n- *   purposes, such as identifying the cause of a memory leak). Can be NULL.\n+ *   Legacy argument, never unused should be NULL.\n  * @param size\n  *   Size (in bytes) to be allocated.\n  * @param align\n@@ -89,8 +87,7 @@ rte_zmalloc(const char *type, size_t size, unsigned align)\n  * same NUMA socket as the core that calls this function.\n  *\n  * @param type\n- *   A string identifying the type of allocated objects (useful for debug\n- *   purposes, such as identifying the cause of a memory leak). Can be NULL.\n+ *   Legacy argument, never unused should be NULL.\n  * @param num\n  *   Number of elements to be allocated.\n  * @param size\n@@ -165,8 +162,7 @@ rte_realloc_socket(void *ptr, size_t size, unsigned int align, int socket)\n  * is not cleared.\n  *\n  * @param type\n- *   A string identifying the type of allocated objects (useful for debug\n- *   purposes, such as identifying the cause of a memory leak). Can be NULL.\n+ *   Legacy argument, never unused should be NULL.\n  * @param size\n  *   Size (in bytes) to be allocated.\n  * @param align\n@@ -194,8 +190,7 @@ rte_malloc_socket(const char *type, size_t size, unsigned align, int socket)\n  * initialised with zeros.\n  *\n  * @param type\n- *   A string identifying the type of allocated objects (useful for debug\n- *   purposes, such as identifying the cause of a memory leak). Can be NULL.\n+ *   Legacy argument, never unused should be NULL.\n  * @param size\n  *   Size (in bytes) to be allocated.\n  * @param align\n@@ -221,8 +216,7 @@ rte_zmalloc_socket(const char *type, size_t size, unsigned align, int socket)\n  * initialised with zeros.\n  *\n  * @param type\n- *   A string identifying the type of allocated objects (useful for debug\n- *   purposes, such as identifying the cause of a memory leak). Can be NULL.\n+ *   Legacy argument, never unused should be NULL.\n  * @param num\n  *   Number of elements to be allocated.\n  * @param size\n@@ -502,8 +496,7 @@ rte_malloc_heap_socket_is_external(int socket_id);\n  * @param f\n  *   A pointer to a file for output\n  * @param type\n- *   A string identifying the type of objects to dump, or NULL\n- *   to dump all objects.\n+ *   Legacy argument, never unused should be NULL.\n  */\n void\n rte_malloc_dump_stats(FILE *f, const char *type);\n",
    "prefixes": [
        "RFC",
        "1/4"
    ]
}