get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 140039,
    "url": "http://patchwork.dpdk.org/api/patches/140039/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20240513163553.1221308-1-aomeryamac@gmail.com/",
    "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": "<20240513163553.1221308-1-aomeryamac@gmail.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240513163553.1221308-1-aomeryamac@gmail.com",
    "date": "2024-05-13T16:35:53",
    "name": "[v3] lib/hash: setting the maximum reclamation size",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "752fb91704b5b78797893b79a9f552a6ce57ebd5",
    "submitter": {
        "id": 3080,
        "url": "http://patchwork.dpdk.org/api/people/3080/?format=api",
        "name": "Abdullah Ömer Yamaç",
        "email": "aomeryamac@gmail.com"
    },
    "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/20240513163553.1221308-1-aomeryamac@gmail.com/mbox/",
    "series": [
        {
            "id": 31914,
            "url": "http://patchwork.dpdk.org/api/series/31914/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=31914",
            "date": "2024-05-13T16:35:53",
            "name": "[v3] lib/hash: setting the maximum reclamation size",
            "version": 3,
            "mbox": "http://patchwork.dpdk.org/series/31914/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/140039/comments/",
    "check": "fail",
    "checks": "http://patchwork.dpdk.org/api/patches/140039/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 741914401D;\n\tMon, 13 May 2024 18:35:59 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 08F90402F0;\n\tMon, 13 May 2024 18:35:59 +0200 (CEST)",
            "from mail-ej1-f52.google.com (mail-ej1-f52.google.com\n [209.85.218.52])\n by mails.dpdk.org (Postfix) with ESMTP id BBF50402CD;\n Mon, 13 May 2024 18:35:57 +0200 (CEST)",
            "by mail-ej1-f52.google.com with SMTP id\n a640c23a62f3a-a59b178b75bso900994866b.0;\n Mon, 13 May 2024 09:35:57 -0700 (PDT)",
            "from dcu.otaknetworks.com ([212.156.37.190])\n by smtp.gmail.com with ESMTPSA id\n a640c23a62f3a-a5a179c7faasm615900066b.136.2024.05.13.09.35.55\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 13 May 2024 09:35:56 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20230601; t=1715618157; x=1716222957; 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=/cISEiLFvB0LeUiYeWZcGqc4oUqwJzS2YhOj2AjRS9A=;\n b=DB1FhJQaMynh7jb+Lba34NICAOKnOGl/LuSsxEzcBnX5zDMamBISGgpIic9ZmM6ORS\n LpyQK9x98dNjVYv8SbCoxoFTLFF7N0W0nYNQ2kpBg15zdzZXtHl6Ub9Bh07n8uYbc2D1\n frKvCMe9dLuKvuCW+/CEi+OD39Czi2awXk/ZRSWtdLNNQ7eI8VPse6posU9o/ZDluVfK\n DSdfi/Y2F222bls1m946Ttd2oDiS4Fq38qyRVAgumCfGZOVTf+fn5p8vKMBVArlsmih3\n hI5l52+e6D5ELfdzJuWBNcVxv9LII6j2pnzwAcvPGRK66xQmaXOJVZhjMYrTCHfUnnzJ\n 2y/w==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1715618157; x=1716222957;\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=/cISEiLFvB0LeUiYeWZcGqc4oUqwJzS2YhOj2AjRS9A=;\n b=hTrXkMPpq0vCOsNFYdHxQHPwB59J8lieDBB2JoBwc8cq9QHN8upISvyUbGv0ZC3Pab\n wc0hrZWTkPMOBIcFG+/CCfaV/5yjOCwpT2j3qxOGXhOS7pFSkmPofn735oQpqqBJOcAy\n gfQ9J6i/4tIGuT4fYU4JumxGiBHKln+QPd/RozXiaWUXx57MhXL8vsrDMXVl4fIyny8Q\n G7NdNnq5uqtAXk3QQWxp9CMY1cC5ss8XkZtKST2xdSvSil4JRejwvd5bDGxxqkROxrEI\n yHE+JMpnZJ41oLFMDh5Tb8FeoTS/tvDbRdPW0bhS/NB3NKiENAguzhGE8Tejc0jaVN7+\n j8cg==",
        "X-Forwarded-Encrypted": "i=1;\n AJvYcCXQSD5+VZ9WCF2oBSEUS5ter0hFA/yr7TgtqWb5xGXlkyRsbY5DzwKRpFDOyMsIrSyunt7hhqwthXTRKKsqsJU=",
        "X-Gm-Message-State": "AOJu0YzlqQItgD5zta0+b7T1mC3HZ6rRpAlsM0xcD7gbi00K3xzZPLJo\n wUYQlMaPomeuEsD1j4SaxQ/1Bo46El+zXZmGwSRvd7EMt9bUhnmdVlSwi0u6",
        "X-Google-Smtp-Source": "\n AGHT+IGkq9fJqbActSTegW6mG0WKkAJTlqdbMVjG934HdpgcWnH/fVYSmuub/PxBbVT9ORvmXBy2tQ==",
        "X-Received": "by 2002:a17:906:5393:b0:a59:bacc:b07f with SMTP id\n a640c23a62f3a-a5a2d672f6bmr728723266b.52.1715618156834;\n Mon, 13 May 2024 09:35:56 -0700 (PDT)",
        "From": "=?utf-8?b?QWJkdWxsYWggw5ZtZXIgWWFtYcOn?= <aomeryamac@gmail.com>",
        "To": "dev@dpdk.org",
        "Cc": "=?utf-8?b?QWJkdWxsYWggw5ZtZXIgWWFtYcOn?= <aomeryamac@gmail.com>,\n stable@dpdk.org, dharmik.thakkar@arm.com,\n 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 v3] lib/hash: setting the maximum reclamation size",
        "Date": "Mon, 13 May 2024 16:35:53 +0000",
        "Message-Id": "<20240513163553.1221308-1-aomeryamac@gmail.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<FB7453BE-AA11-4C92-835D-CC28639CBFD2@arm.com>",
        "References": "<FB7453BE-AA11-4C92-835D-CC28639CBFD2@arm.com>",
        "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": "Set the maximum reclamation size to user provided value\n\nFixes: 769b2de7fb52 (\"hash: implement RCU resources reclamation\")\nCc: stable@dpdk.org\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 9cf94645f6..f7f0fdfd21 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": [
        "v3"
    ]
}