get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 139450,
    "url": "http://patches.dpdk.org/api/patches/139450/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20240417133929.711268-1-aomeryamac@gmail.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": "<20240417133929.711268-1-aomeryamac@gmail.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240417133929.711268-1-aomeryamac@gmail.com",
    "date": "2024-04-17T13:39:29",
    "name": "lib/hash: setting the maximum reclamation size",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "752fb91704b5b78797893b79a9f552a6ce57ebd5",
    "submitter": {
        "id": 3080,
        "url": "http://patches.dpdk.org/api/people/3080/?format=api",
        "name": "Abdullah Ömer Yamaç",
        "email": "aomeryamac@gmail.com"
    },
    "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/20240417133929.711268-1-aomeryamac@gmail.com/mbox/",
    "series": [
        {
            "id": 31771,
            "url": "http://patches.dpdk.org/api/series/31771/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31771",
            "date": "2024-04-17T13:39:29",
            "name": "lib/hash: setting the maximum reclamation size",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/31771/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/139450/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/139450/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 805E243E92;\n\tWed, 17 Apr 2024 15:39:35 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4DB0540693;\n\tWed, 17 Apr 2024 15:39:35 +0200 (CEST)",
            "from mail-ej1-f48.google.com (mail-ej1-f48.google.com\n [209.85.218.48]) by mails.dpdk.org (Postfix) with ESMTP id 82958402AE\n for <dev@dpdk.org>; Wed, 17 Apr 2024 15:39:34 +0200 (CEST)",
            "by mail-ej1-f48.google.com with SMTP id\n a640c23a62f3a-a5544fd07easo257578566b.0\n for <dev@dpdk.org>; Wed, 17 Apr 2024 06:39:34 -0700 (PDT)",
            "from dcu.otaknetworks.com ([212.156.37.190])\n by smtp.gmail.com with ESMTPSA id\n bv1-20020a170906b1c100b00a522cd687aesm7571955ejb.142.2024.04.17.06.39.32\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 17 Apr 2024 06:39:33 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20230601; t=1713361174; x=1713965974; darn=dpdk.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=BE/yLgOboWMfeE+pIvX9Pe1Pf/3RecbcIKKF3siiriY=;\n b=gUG1CSmKvRchffTYwJkN32u4LB/oWVLOz59bioA4GowJ2A/jDqXSlXLRS0/fPtcCc2\n 7IrSyVIUP81CrphR6m6ehZDWbtcZQu4yJMlsJ+QEjWAtx7SeAsZjGixsoYatLfOmeiZN\n kRfj1KWg0PfN536DvZGr9nccmwHI+K5nIwR84zyxHjWMIbhSbeKp0Lgd4w6iK9kMPKAR\n nwtLlw2rVgwo9+dABPAq1/rK0rOe1QJbxLdVI74BjK86Mb1lFnvoWR8ObOi2VmMORRcV\n +0NUHxUMfOEZVziQe+EbYHH32CBiIvT7cYTVOYodtDmqZMwn3g0ZLDHs1MJajWhqboJu\n GKNg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1713361174; x=1713965974;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=BE/yLgOboWMfeE+pIvX9Pe1Pf/3RecbcIKKF3siiriY=;\n b=DDkPvYl0npircv/rGEx75udf8AHC1NKTWJZd9jBG5gW3D+xjcGf1jV1XqxEiNjyUmQ\n Gz2OIML4uI1jk/gvS/5ogshkdzRIgBReEelPlh8mr84Xl3FwhdF77IhkA8SRMABHsyHC\n JSiV5oc+dBs85bvTtxPQhS5lTG7Gzs/MZ8DSNyPl1Bzsa2pmQMO+89Zsff3rYuLCg92p\n cX5eVinFVhgLYnGgsPlp2OgGejSxkWmCQor7mEGodN5iHq6W9wGWPaIS9ZWe+Y+JVQ40\n YMpyVmkzgeyHVGv0p2Ns8fZ+StXB5xyk7oqAh/sOo4N+d217XE4DRBc2B+/05gTA1r2k\n 9Haw==",
        "X-Gm-Message-State": "AOJu0Yxv3mYl3B4nhR24qAGxir8FhFCey1DAHqq0HxhzQgHX7R48PyX1\n nD0qmwN+2CEnYINx+d8Hmt380a+cPNnYPuq9a8f8/7ImOnVm0jOfyEM7ALc1",
        "X-Google-Smtp-Source": "\n AGHT+IEYlfbal0EjxCaWBBNfY4d5tn34gwQ/bVAyBCSfvj39JuncsazqNCrYLyROL1fiN9tozfA2uQ==",
        "X-Received": "by 2002:a17:907:7247:b0:a52:55f5:9ffe with SMTP id\n ds7-20020a170907724700b00a5255f59ffemr8174369ejc.10.1713361173358;\n Wed, 17 Apr 2024 06:39:33 -0700 (PDT)",
        "From": "=?utf-8?b?QWJkdWxsYWggw5ZtZXIgWWFtYcOn?= <aomeryamac@gmail.com>",
        "To": "dev@dpdk.org",
        "Cc": "=?utf-8?b?QWJkdWxsYWggw5ZtZXIgWWFtYcOn?= <aomeryamac@gmail.com>,\n dharmik.thakkar@arm.com, Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>,\n Yipeng Wang <yipeng1.wang@intel.com>,\n Sameh Gobriel <sameh.gobriel@intel.com>,\n Bruce Richardson <bruce.richardson@intel.com>,\n Vladimir Medvedkin <vladimir.medvedkin@intel.com>",
        "Subject": "[PATCH] lib/hash: setting the maximum reclamation size",
        "Date": "Wed, 17 Apr 2024 13:39:29 +0000",
        "Message-Id": "<20240417133929.711268-1-aomeryamac@gmail.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "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": "In the previous implementation, the maximum reclamation size was set\nto RTE_HASH_RCU_DQ_RECLAIM_MAX and it was not configurable. This patch\nuses the configuration argument to set the maximum reclamation size.\n\nFixes: 769b2de7fb52 (\"hash: implement RCU resources reclamation\")\nCc: dharmik.thakkar@arm.com\nCc: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>\nCc: Yipeng Wang <yipeng1.wang@intel.com>\nCc: Sameh Gobriel <sameh.gobriel@intel.com>\nCc: Bruce Richardson <bruce.richardson@intel.com>\nCc: Vladimir Medvedkin <vladimir.medvedkin@intel.com>\n\nSigned-off-by: Abdullah Ömer Yamaç <aomeryamac@gmail.com>\n---\n lib/hash/rte_cuckoo_hash.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/lib/hash/rte_cuckoo_hash.c b/lib/hash/rte_cuckoo_hash.c\nindex 4a44aadd9a..6d80793164 100644\n--- a/lib/hash/rte_cuckoo_hash.c\n+++ b/lib/hash/rte_cuckoo_hash.c\n@@ -1557,6 +1557,7 @@ rte_hash_rcu_qsbr_add(struct rte_hash *h, struct rte_hash_rcu_config *cfg)\n \t\tif (params.size == 0)\n \t\t\tparams.size = total_entries;\n \t\tparams.trigger_reclaim_limit = cfg->trigger_reclaim_limit;\n+\t\tparams.max_reclaim_size = cfg->max_reclaim_size;\n \t\tif (params.max_reclaim_size == 0)\n \t\t\tparams.max_reclaim_size = RTE_HASH_RCU_DQ_RECLAIM_MAX;\n \t\tparams.esize = sizeof(struct __rte_hash_rcu_dq_entry);\n",
    "prefixes": []
}