get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 129779,
    "url": "http://patches.dpdk.org/api/patches/129779/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230801084916.1542854-1-rkudurumalla@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": "<20230801084916.1542854-1-rkudurumalla@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230801084916.1542854-1-rkudurumalla@marvell.com",
    "date": "2023-08-01T08:49:16",
    "name": "[1/1] node: remove MAX macro from all nodes",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "2cacbc1f012026776c9d3f52cb314096c9be5fbf",
    "submitter": {
        "id": 2289,
        "url": "http://patches.dpdk.org/api/people/2289/?format=api",
        "name": "Rakesh Kudurumalla",
        "email": "rkudurumalla@marvell.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/20230801084916.1542854-1-rkudurumalla@marvell.com/mbox/",
    "series": [
        {
            "id": 29065,
            "url": "http://patches.dpdk.org/api/series/29065/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29065",
            "date": "2023-08-01T08:49:16",
            "name": "[1/1] node: remove MAX macro from all nodes",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/29065/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/129779/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/129779/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 443F342FB0;\n\tTue,  1 Aug 2023 10:49:28 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2D07840A7D;\n\tTue,  1 Aug 2023 10:49:26 +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 CE077400D5\n for <dev@dpdk.org>; Tue,  1 Aug 2023 10:49:23 +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 3712hXw9021734 for <dev@dpdk.org>; Tue, 1 Aug 2023 01:49:23 -0700",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3s6du0bjf1-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Tue, 01 Aug 2023 01:49:22 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48;\n Tue, 1 Aug 2023 01:49:21 -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; Tue, 1 Aug 2023 01:49:21 -0700",
            "from localhost.localdomain (unknown [10.28.36.154])\n by maili.marvell.com (Postfix) with ESMTP id 73E733F7088;\n Tue,  1 Aug 2023 01:49:19 -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=xMlC3MZxn9sLVcVp4s4r12/W2fujCQyCnyh44OFGxxk=;\n b=akMX/XUJzHITlmpjNSIEMmJKi+v+aXs9st8QWvlH2zM99McxITnPT5HFwqrLgvjU9wN2\n QL/ynvjpDK2vnddIiunAx6A/tbB31KkkzOxJjYrD9GiMPnPocZ+3JuBnvX6Nhn5wAheZ\n yST4/dfgmjErM6A9oMTVKS4LRtmhib2hV3oHEHQGy/RtQ1xDEhMNvf9Jg11YL7h80LyH\n gcranVU9bVTD4WigvcG/Fa47rI2ifMRVK9Zi9ya4Ep18xK3N+WcNfddFC0UwqC7PBZBO\n 7kUhZ37SrUhiXfQeZXY4VlqwuqqCdtpSE+GDovpUzHJu/VuY6uusKLoL0pmW4/J8+g83 Bg==",
        "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 1/1] node: remove MAX macro from all nodes",
        "Date": "Tue, 1 Aug 2023 14:19:16 +0530",
        "Message-ID": "<20230801084916.1542854-1-rkudurumalla@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230719123013.600659-1-rkudurumalla@marvell.com>",
        "References": "<20230719123013.600659-1-rkudurumalla@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "nbxYwo7Zo8lcisnga_i76v4zP3IzzJj_",
        "X-Proofpoint-ORIG-GUID": "nbxYwo7Zo8lcisnga_i76v4zP3IzzJj_",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26\n definitions=2023-08-01_03,2023-07-31_02,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>\n---\n\nv2: Update changes to TOT and resolve \n    dependecy related issues\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": [
        "1/1"
    ]
}