get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 85303,
    "url": "https://patches.dpdk.org/api/patches/85303/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20201217103731.24074-2-orika@nvidia.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": "<20201217103731.24074-2-orika@nvidia.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201217103731.24074-2-orika@nvidia.com",
    "date": "2020-12-17T10:37:30",
    "name": "[1/2] regexdev: add resource limit reached rsp flag",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "ab279763fb7d30b117028f1b6ad197841ce1051b",
    "submitter": {
        "id": 1869,
        "url": "https://patches.dpdk.org/api/people/1869/?format=api",
        "name": "Ori Kam",
        "email": "orika@nvidia.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/20201217103731.24074-2-orika@nvidia.com/mbox/",
    "series": [
        {
            "id": 14345,
            "url": "https://patches.dpdk.org/api/series/14345/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14345",
            "date": "2020-12-17T10:37:29",
            "name": "regexdev: add new response flag",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/14345/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/85303/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/85303/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 77CA5A09F0;\n\tThu, 17 Dec 2020 11:37:56 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 73CDCCA10;\n\tThu, 17 Dec 2020 11:37:44 +0100 (CET)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id B70B2C9D2\n for <dev@dpdk.org>; Thu, 17 Dec 2020 11:37:41 +0100 (CET)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n orika@nvidia.com) with SMTP; 17 Dec 2020 12:37:38 +0200",
            "from MTL-ORIKA.mtl.com ([172.27.14.211])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 0BHAbaVl029627;\n Thu, 17 Dec 2020 12:37:37 +0200"
        ],
        "From": "Ori Kam <orika@nvidia.com>",
        "To": "jerinj@marvell.com",
        "Cc": "guyk@marvell.com, dev@dpdk.org, thomas@monjalon.net, orika@nvidia.com,\n Francis Kelly <fkelly@nvidia.com>",
        "Date": "Thu, 17 Dec 2020 12:37:30 +0200",
        "Message-Id": "<20201217103731.24074-2-orika@nvidia.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20201217103731.24074-1-orika@nvidia.com>",
        "References": "<20201217103731.24074-1-orika@nvidia.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 1/2] regexdev: add resource limit reached rsp flag",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "When scanning a buffer it is possible that the scan will abort\ndue to some internal resource limit.\n\nThis commit adds such response flag, so application can handle such cases.\n\nSigned-off-by: Francis Kelly <fkelly@nvidia.com>\nSigned-off-by: Ori Kam <orika@nvidia.com>\n---\n lib/librte_regexdev/rte_regexdev.h | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/lib/librte_regexdev/rte_regexdev.h b/lib/librte_regexdev/rte_regexdev.h\nindex 0001658925..86f0b231b0 100644\n--- a/lib/librte_regexdev/rte_regexdev.h\n+++ b/lib/librte_regexdev/rte_regexdev.h\n@@ -1333,6 +1333,11 @@ struct rte_regexdev_match {\n  * @see RTE_REGEXDEV_ATTR_MAX_PREFIX\n  */\n \n+#define RTE_REGEX_OPS_RSP_RESOURCE_LIMIT_REACHED_F (1 << 4)\n+/**< Indicates that the RegEx device has reached the max allowed resource\n+ * allowed while scanning the given buffer.\n+ */\n+\n /**\n  * The generic *rte_regex_ops* structure to hold the RegEx attributes\n  * for enqueue and dequeue operation.\n",
    "prefixes": [
        "1/2"
    ]
}