get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 124882,
    "url": "https://patches.dpdk.org/api/patches/124882/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20230309045738.1261000-2-honnappa.nagarahalli@arm.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<20230309045738.1261000-2-honnappa.nagarahalli@arm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230309045738.1261000-2-honnappa.nagarahalli@arm.com",
    "date": "2023-03-09T04:57:35",
    "name": "[1/4] mempool: clarify mempool cache flush API behavior",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "1d2a7c9f5e0e77cddbcc41d2a33f946de06f89c4",
    "submitter": {
        "id": 1045,
        "url": "https://patches.dpdk.org/api/people/1045/?format=api",
        "name": "Honnappa Nagarahalli",
        "email": "honnappa.nagarahalli@arm.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20230309045738.1261000-2-honnappa.nagarahalli@arm.com/mbox/",
    "series": [
        {
            "id": 27298,
            "url": "https://patches.dpdk.org/api/series/27298/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=27298",
            "date": "2023-03-09T04:57:34",
            "name": "Small corrections in mempool",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/27298/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/124882/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/124882/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 2234141E2F;\n\tThu,  9 Mar 2023 05:57:59 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id F3D6241151;\n\tThu,  9 Mar 2023 05:57:58 +0100 (CET)",
            "from foss.arm.com (foss.arm.com [217.140.110.172])\n by mails.dpdk.org (Postfix) with ESMTP id B061540A7E\n for <dev@dpdk.org>; Thu,  9 Mar 2023 05:57:57 +0100 (CET)",
            "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id ADCB9C14;\n Wed,  8 Mar 2023 20:58:40 -0800 (PST)",
            "from 2p2660v4-1.austin.arm.com (2p2660v4-1.austin.arm.com\n [10.118.14.10])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1B70A3F67D;\n Wed,  8 Mar 2023 20:57:57 -0800 (PST)"
        ],
        "From": "Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>",
        "To": "mb@smartsharesystems.com, olivier.matz@6wind.com,\n konstantin.v.ananyev@yandex.ru",
        "Cc": "dev@dpdk.org, honnappa.nagarahalli@arm.com, ruifeng.wang@arm.com,\n kamalakshitha.aligeri@arm.com, wathsala.vithanage@arm.com, nd@arm.com",
        "Subject": "[PATCH 1/4] mempool: clarify mempool cache flush API behavior",
        "Date": "Wed,  8 Mar 2023 22:57:35 -0600",
        "Message-Id": "<20230309045738.1261000-2-honnappa.nagarahalli@arm.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230309045738.1261000-1-honnappa.nagarahalli@arm.com>",
        "References": "<20230309045738.1261000-1-honnappa.nagarahalli@arm.com>",
        "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": "Clarify that mempool cache flush API works with default mempool cache.\nIt is applications responsibility to validate that the cache\nbelongs to the specified mempool.\n\nSigned-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>\nReviewed-by: Kamalakshitha Aligeri <kamalakshitha.aligeri@arm.com>\nReviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>\n---\n lib/mempool/rte_mempool.h | 8 ++++++--\n 1 file changed, 6 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/lib/mempool/rte_mempool.h b/lib/mempool/rte_mempool.h\nindex 9f530db24b..009bd10215 100644\n--- a/lib/mempool/rte_mempool.h\n+++ b/lib/mempool/rte_mempool.h\n@@ -1326,10 +1326,14 @@ rte_mempool_default_cache(struct rte_mempool *mp, unsigned lcore_id)\n }\n \n /**\n- * Flush a user-owned mempool cache to the specified mempool.\n+ * Flush a mempool cache to the specified mempool.\n+ *\n+ * It is application's responsibility to validate that the mempool cache\n+ * belongs to the specified mempool.\n  *\n  * @param cache\n- *   A pointer to the mempool cache.\n+ *   A pointer to the mempool cache. If NULL, default mempool cache\n+ *   is used if configured.\n  * @param mp\n  *   A pointer to the mempool.\n  */\n",
    "prefixes": [
        "1/4"
    ]
}