get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 89119,
    "url": "https://patches.dpdk.org/api/patches/89119/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210315113439.1045223-2-conor.walsh@intel.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": "<20210315113439.1045223-2-conor.walsh@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210315113439.1045223-2-conor.walsh@intel.com",
    "date": "2021-03-15T11:34:35",
    "name": "[v5,1/5] examples/l3fwd: fix LPM IPv6 subnets",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a754d61fa10a0356722b91f90e929e0e2cffa63f",
    "submitter": {
        "id": 1935,
        "url": "https://patches.dpdk.org/api/people/1935/?format=api",
        "name": "Conor Walsh",
        "email": "conor.walsh@intel.com"
    },
    "delegate": {
        "id": 24651,
        "url": "https://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210315113439.1045223-2-conor.walsh@intel.com/mbox/",
    "series": [
        {
            "id": 15658,
            "url": "https://patches.dpdk.org/api/series/15658/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=15658",
            "date": "2021-03-15T11:34:34",
            "name": "examples/l3fwd: add FIB lookup method to l3fwd",
            "version": 5,
            "mbox": "https://patches.dpdk.org/series/15658/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/89119/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/89119/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 441FAA054F;\n\tMon, 15 Mar 2021 12:34:53 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id E4EF224263C;\n\tMon, 15 Mar 2021 12:34:50 +0100 (CET)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id 7AE1024263A\n for <dev@dpdk.org>; Mon, 15 Mar 2021 12:34:49 +0100 (CET)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 15 Mar 2021 04:34:49 -0700",
            "from silpixa00400466.ir.intel.com ([10.237.213.210])\n by FMSMGA003.fm.intel.com with ESMTP; 15 Mar 2021 04:34:44 -0700"
        ],
        "IronPort-SDR": [
            "\n cH08nHYPvqBNnFOE4tgBIrO2+PBY+KZaLx8AHhovXVRQmZKUELFu1TxReh6ZVa9TvKFJvuoni0\n n+ryxQZkr1dA==",
            "\n ZIRe5jVaeeG47F94BN9Z1DefQabHQuXxZ2Yts82WYCQYAy5EJw6j6KqNu9/4mgYpibeAI8YSHi\n u6I+KKaezEUA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9923\"; a=\"188432266\"",
            "E=Sophos;i=\"5.81,249,1610438400\"; d=\"scan'208\";a=\"188432266\"",
            "E=Sophos;i=\"5.81,249,1610438400\"; d=\"scan'208\";a=\"439728803\""
        ],
        "X-ExtLoop1": "1",
        "From": "Conor Walsh <conor.walsh@intel.com>",
        "To": "jerinj@marvell.com, stephen@networkplumber.org,\n bernard.iremonger@intel.com, konstantin.ananyev@intel.com,\n vladimir.medvedkin@intel.com, anatoly.burakov@intel.com",
        "Cc": "dev@dpdk.org,\n\tConor Walsh <conor.walsh@intel.com>",
        "Date": "Mon, 15 Mar 2021 11:34:35 +0000",
        "Message-Id": "<20210315113439.1045223-2-conor.walsh@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20210315113439.1045223-1-conor.walsh@intel.com>",
        "References": "<20210311120153.186213-1-conor.walsh@intel.com>\n <20210315113439.1045223-1-conor.walsh@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v5 1/5] examples/l3fwd: fix LPM IPv6 subnets",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "The IPv6 subnets used were not within the 2001:200::/48 subnet\nChanged to 2001:200:0:{0-7}::/64 where 0-7 is the port ID\n\nFixes: 37afe381bde4 (\"examples/l3fwd: use reserved IP addresses\")\n\nSigned-off-by: Conor Walsh <conor.walsh@intel.com>\nAcked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>\n---\n examples/l3fwd/l3fwd_lpm.c | 26 ++++++++++++++++----------\n 1 file changed, 16 insertions(+), 10 deletions(-)",
    "diff": "diff --git a/examples/l3fwd/l3fwd_lpm.c b/examples/l3fwd/l3fwd_lpm.c\nindex 3dcf1fef18..1cfaf36572 100644\n--- a/examples/l3fwd/l3fwd_lpm.c\n+++ b/examples/l3fwd/l3fwd_lpm.c\n@@ -42,7 +42,10 @@ struct ipv6_l3fwd_lpm_route {\n \tuint8_t  if_out;\n };\n \n-/* 198.18.0.0/16 are set aside for RFC2544 benchmarking (RFC5735). */\n+/*\n+ * 198.18.0.0/16 are set aside for RFC2544 benchmarking (RFC5735).\n+ * 198.18.{0-7}.0/24 = Port {0-7}\n+ */\n static const struct ipv4_l3fwd_lpm_route ipv4_l3fwd_lpm_route_array[] = {\n \t{RTE_IPV4(198, 18, 0, 0), 24, 0},\n \t{RTE_IPV4(198, 18, 1, 0), 24, 1},\n@@ -54,16 +57,19 @@ static const struct ipv4_l3fwd_lpm_route ipv4_l3fwd_lpm_route_array[] = {\n \t{RTE_IPV4(198, 18, 7, 0), 24, 7},\n };\n \n-/* 2001:0200::/48 is IANA reserved range for IPv6 benchmarking (RFC5180) */\n+/*\n+ * 2001:200::/48 is IANA reserved range for IPv6 benchmarking (RFC5180).\n+ * 2001:200:0:{0-7}::/64 = Port {0-7}\n+ */\n static const struct ipv6_l3fwd_lpm_route ipv6_l3fwd_lpm_route_array[] = {\n-\t{{32, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 48, 0},\n-\t{{32, 1, 2, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0}, 48, 1},\n-\t{{32, 1, 2, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0}, 48, 2},\n-\t{{32, 1, 2, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0}, 48, 3},\n-\t{{32, 1, 2, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0,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