get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 132096,
    "url": "https://patches.dpdk.org/api/patches/132096/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20230928091406.4111898-1-rkudurumalla@marvell.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": "<20230928091406.4111898-1-rkudurumalla@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230928091406.4111898-1-rkudurumalla@marvell.com",
    "date": "2023-09-28T09:14:06",
    "name": "[v3,1/1] node: remove MAX macro from all nodes",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "2cacbc1f012026776c9d3f52cb314096c9be5fbf",
    "submitter": {
        "id": 2289,
        "url": "https://patches.dpdk.org/api/people/2289/?format=api",
        "name": "Rakesh Kudurumalla",
        "email": "rkudurumalla@marvell.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/20230928091406.4111898-1-rkudurumalla@marvell.com/mbox/",
    "series": [
        {
            "id": 29670,
            "url": "https://patches.dpdk.org/api/series/29670/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=29670",
            "date": "2023-09-28T09:14:06",
            "name": "[v3,1/1] node: remove MAX macro from all nodes",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/29670/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/132096/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/132096/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 0D7024265E;\n\tThu, 28 Sep 2023 11:14:30 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 89C3140273;\n\tThu, 28 Sep 2023 11:14:29 +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 B2E5640150\n for <dev@dpdk.org>; Thu, 28 Sep 2023 11:14:27 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 38S8ieNn019316 for <dev@dpdk.org>; Thu, 28 Sep 2023 02:14:26 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3tcu1qt9uc-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Thu, 28 Sep 2023 02:14:17 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48;\n Thu, 28 Sep 2023 02:14:10 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend\n Transport; Thu, 28 Sep 2023 02:14:10 -0700",
            "from localhost.localdomain (unknown [10.28.36.154])\n by maili.marvell.com (Postfix) with ESMTP id 670175C68EE;\n Thu, 28 Sep 2023 02:14:09 -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=WN+Unk4BNL6T6NfyaGrMl5h8S8q1me/PNbHE3W61k0k=;\n b=RINv2hd2l3WHjbveFhfSP5dYs9d9M3msE8L9hGoW8+yyA/TLw8ZGPOlj2LWV+44nICEs\n Ss0Ts96/7wF3OgoOOHzszoPyvg/CB4QcdtNFfDcXQYdjZ4HzGbM+MG8EkEAbv9Ep+5HU\n udTxPJhzmKH2c4+xii9xFH4x1q1mNfnZZi/HkDVIdmHgUGNLImRGptp2XpqC4efHkaTf\n aooKcv28l/HicrSYRltuiy23x4ZB+HSDtSFXA0OMWgR/bwXAv5iE923ePvKqBEWY598Z\n WB7jp+3qhUNIx59Dcomf1EnqFzYUjX0lRhI+zLq9L/6BJoSbAOKoZDugM8zdoOcXxPLR bw==",
        "From": "Rakesh Kudurumalla <rkudurumalla@marvell.com>",
        "To": "Nithin Dabilpuram <ndabilpuram@marvell.com>, Pavan Nikhilesh\n <pbhagavatula@marvell.com>",
        "CC": "<dev@dpdk.org>, <jerinj@marvell.com>, Rakesh Kudurumalla\n <rkudurumalla@marvell.com>",
        "Subject": "[PATCH v3 1/1] node: remove MAX macro from all nodes",
        "Date": "Thu, 28 Sep 2023 14:44:06 +0530",
        "Message-ID": "<20230928091406.4111898-1-rkudurumalla@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230801084916.1542854-1-rkudurumalla@marvell.com>",
        "References": "<20230801084916.1542854-1-rkudurumalla@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "yfldVsVS4HtmXkBq_naHthwP_08MQLPO",
        "X-Proofpoint-ORIG-GUID": "yfldVsVS4HtmXkBq_naHthwP_08MQLPO",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26\n definitions=2023-09-28_07,2023-09-27_01,2023-05-22_02",
        "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": "Removed MAX macro from all graph nodes to extend\nedges to nodes at ease\n\nSigned-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>\nAcked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>\n---\nv3: Updated acked-by\n\n lib/node/ip4_lookup.c       | 2 +-\n lib/node/ip6_lookup.c       | 2 +-\n lib/node/rte_node_ip4_api.h | 2 --\n lib/node/rte_node_ip6_api.h | 2 --\n 4 files changed, 2 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/lib/node/ip4_lookup.c b/lib/node/ip4_lookup.c\nindex 8bce03d7db..72fd760512 100644\n--- a/lib/node/ip4_lookup.c\n+++ b/lib/node/ip4_lookup.c\n@@ -225,7 +225,7 @@ static struct rte_node_register ip4_lookup_node = {\n \n \t.init = ip4_lookup_node_init,\n \n-\t.nb_edges = RTE_NODE_IP4_LOOKUP_NEXT_MAX,\n+\t.nb_edges = RTE_NODE_IP4_LOOKUP_NEXT_PKT_DROP + 1,\n \t.next_nodes = {\n \t\t[RTE_NODE_IP4_LOOKUP_NEXT_REWRITE] = \"ip4_rewrite\",\n \t\t[RTE_NODE_IP4_LOOKUP_NEXT_PKT_DROP] = \"pkt_drop\",\ndiff --git a/lib/node/ip6_lookup.c b/lib/node/ip6_lookup.c\nindex 646e466551..6f56eb5ec5 100644\n--- a/lib/node/ip6_lookup.c\n+++ b/lib/node/ip6_lookup.c\n@@ -362,7 +362,7 @@ static struct rte_node_register ip6_lookup_node = {\n \n \t.init = ip6_lookup_node_init,\n \n-\t.nb_edges = RTE_NODE_IP6_LOOKUP_NEXT_MAX,\n+\t.nb_edges = RTE_NODE_IP6_LOOKUP_NEXT_PKT_DROP + 1,\n \t.next_nodes = {\n \t\t[RTE_NODE_IP6_LOOKUP_NEXT_REWRITE] = \"ip6_rewrite\",\n \t\t[RTE_NODE_IP6_LOOKUP_NEXT_PKT_DROP] = \"pkt_drop\",\ndiff --git a/lib/node/rte_node_ip4_api.h b/lib/node/rte_node_ip4_api.h\nindex 3397da0ae8..0f997761b6 100644\n--- a/lib/node/rte_node_ip4_api.h\n+++ b/lib/node/rte_node_ip4_api.h\n@@ -29,8 +29,6 @@ enum rte_node_ip4_lookup_next {\n \tRTE_NODE_IP4_LOOKUP_NEXT_REWRITE,\n \t/**< Rewrite node. */\n \tRTE_NODE_IP4_LOOKUP_NEXT_PKT_DROP,\n-\t/**< Packet drop node. */\n-\tRTE_NODE_IP4_LOOKUP_NEXT_MAX,\n \t/**< Number of next nodes of lookup node. */\n };\n \ndiff --git a/lib/node/rte_node_ip6_api.h b/lib/node/rte_node_ip6_api.h\nindex f3b5a1002a..a538dc2ea7 100644\n--- a/lib/node/rte_node_ip6_api.h\n+++ b/lib/node/rte_node_ip6_api.h\n@@ -30,8 +30,6 @@ enum rte_node_ip6_lookup_next {\n \t/**< Rewrite node. */\n \tRTE_NODE_IP6_LOOKUP_NEXT_PKT_DROP,\n \t/**< Packet drop node. */\n-\tRTE_NODE_IP6_LOOKUP_NEXT_MAX,\n-\t/**< Number of next nodes of lookup node. */\n };\n \n /**\n",
    "prefixes": [
        "v3",
        "1/1"
    ]
}