get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 114748,
    "url": "http://patches.dpdk.org/api/patches/114748/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220809105356.561-5-anoobj@marvell.com/",
    "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": "<20220809105356.561-5-anoobj@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220809105356.561-5-anoobj@marvell.com",
    "date": "2022-08-09T10:53:42",
    "name": "[v2,04/18] crypto/cnxk: limit the meta buf cache to 128",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "09c60ad4b7b563bb4db01e57372b8df034a141ce",
    "submitter": {
        "id": 1205,
        "url": "http://patches.dpdk.org/api/people/1205/?format=api",
        "name": "Anoob Joseph",
        "email": "anoobj@marvell.com"
    },
    "delegate": {
        "id": 6690,
        "url": "http://patches.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "gakhil@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220809105356.561-5-anoobj@marvell.com/mbox/",
    "series": [
        {
            "id": 24235,
            "url": "http://patches.dpdk.org/api/series/24235/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=24235",
            "date": "2022-08-09T10:53:38",
            "name": "Fixes and improvements in cnxk crypto PMDs",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/24235/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/114748/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/114748/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 E1FE1A00C2;\n\tTue,  9 Aug 2022 12:54:33 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D5E3442BCD;\n\tTue,  9 Aug 2022 12:54:13 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 7E5CA42BA7\n for <dev@dpdk.org>; Tue,  9 Aug 2022 12:54:12 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id\n 2791FxJh015646\n for <dev@dpdk.org>; Tue, 9 Aug 2022 03:54:11 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3huds2sq71-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Tue, 09 Aug 2022 03:54:11 -0700",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Tue, 9 Aug 2022 03:54:10 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Tue, 9 Aug 2022 03:54:10 -0700",
            "from BG-LT92004.corp.innovium.com (unknown [10.193.69.70])\n by maili.marvell.com (Postfix) with ESMTP id CA4D93F704C;\n Tue,  9 Aug 2022 03:54:07 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=YgDaChHrDnDLfna2QxKdzmLTlajZWmcnGxvxA4+PZ4k=;\n b=RR9hx9P5TRb0rxQ1K8gJP+0VCdkNfagVS+8aj8GSI2oVyG0NRt+k1zrm4fyPcsSlgrKi\n I0hxwV7jYNmH9aieU4LNaEHo4Ba0JzmXRh0B69vdIjgd1bvhUwgXOGHrtKTOuHAjFC0e\n VshwhoRjOS/g7XMOQy0Z8Zk1CH/k46yS7jvj2/eoaaaYLlFKJBRyI7BH70rmOeCJUQnq\n fDoDHv4GIbioUKuG74DwGpxJifXsj3mLvYcaHfP5+iPAun/s2vnB/HU1E9bB460VpVVZ\n souTBYpDoyV3HFExsFDrZl67JsrpmOHw/+F/9OlYNC3V3TqiCl352CxLb3ndN4g31a92 1A==",
        "From": "Anoob Joseph <anoobj@marvell.com>",
        "To": "Akhil Goyal <gakhil@marvell.com>, Jerin Jacob <jerinj@marvell.com>",
        "CC": "Archana Muniganti <marchana@marvell.com>, Tejasree Kondoj\n <ktejasree@marvell.com>, <dev@dpdk.org>, Volodymyr Fialko\n <vfialko@marvell.com>",
        "Subject": "[PATCH v2 04/18] crypto/cnxk: limit the meta buf cache to 128",
        "Date": "Tue, 9 Aug 2022 16:23:42 +0530",
        "Message-ID": "<20220809105356.561-5-anoobj@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220809105356.561-1-anoobj@marvell.com>",
        "References": "<20220808080606.220-1-anoobj@marvell.com>\n <20220809105356.561-1-anoobj@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "wmqDh3fWUqw4G7siiFDSkNtCuIWwYAd7",
        "X-Proofpoint-GUID": "wmqDh3fWUqw4G7siiFDSkNtCuIWwYAd7",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1\n definitions=2022-08-09_03,2022-08-09_02,2022-06-22_01",
        "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": "Limit meta buf pool cache size as 128. Having 512 as the cache size\nwould cause more time for refill.\n\nSigned-off-by: Anoob Joseph <anoobj@marvell.com>\nSigned-off-by: Volodymyr Fialko <vfialko@marvell.com>\n---\n drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 9 +++++----\n 1 file changed, 5 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_ops.c b/drivers/crypto/cnxk/cnxk_cryptodev_ops.c\nindex 80071872f1..a73c156d01 100644\n--- a/drivers/crypto/cnxk/cnxk_cryptodev_ops.c\n+++ b/drivers/crypto/cnxk/cnxk_cryptodev_ops.c\n@@ -10,12 +10,13 @@\n \n #include \"cnxk_ae.h\"\n #include \"cnxk_cryptodev.h\"\n-#include \"cnxk_cryptodev_ops.h\"\n #include \"cnxk_cryptodev_capabilities.h\"\n+#include \"cnxk_cryptodev_ops.h\"\n #include \"cnxk_se.h\"\n \n-#define CNXK_CPT_MAX_ASYM_OP_NUM_PARAMS 5\n-#define CNXK_CPT_MAX_ASYM_OP_MOD_LEN\t1024\n+#define CNXK_CPT_MAX_ASYM_OP_NUM_PARAMS\t 5\n+#define CNXK_CPT_MAX_ASYM_OP_MOD_LEN\t 1024\n+#define CNXK_CPT_META_BUF_MAX_CACHE_SIZE 128\n \n static int\n cnxk_cpt_get_mlen(void)\n@@ -200,7 +201,7 @@ cnxk_cpt_metabuf_mempool_create(const struct rte_cryptodev *dev,\n \t}\n \n \tmb_pool_sz = nb_elements;\n-\tcache_sz = RTE_MIN(RTE_MEMPOOL_CACHE_MAX_SIZE, nb_elements / 1.5);\n+\tcache_sz = RTE_MIN(CNXK_CPT_META_BUF_MAX_CACHE_SIZE, nb_elements / 1.5);\n \n \t/* For poll mode, core that enqueues and core that dequeues can be\n \t * different. For event mode, all cores are allowed to use same crypto\n",
    "prefixes": [
        "v2",
        "04/18"
    ]
}