get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 62485,
    "url": "https://patches.dpdk.org/api/patches/62485/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20191105160921.6951-1-stephen@networkplumber.org/",
    "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": "<20191105160921.6951-1-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20191105160921.6951-1-stephen@networkplumber.org",
    "date": "2019-11-05T16:09:21",
    "name": "examples/l3fwd: use correct IP reserved address range",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "bce550e77be6b2638881ac68d7b19559d920245c",
    "submitter": {
        "id": 27,
        "url": "https://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "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/20191105160921.6951-1-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 7260,
            "url": "https://patches.dpdk.org/api/series/7260/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=7260",
            "date": "2019-11-05T16:09:21",
            "name": "examples/l3fwd: use correct IP reserved address range",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/7260/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/62485/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/62485/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 6B539A04A2;\n\tTue,  5 Nov 2019 17:09:34 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id D64891C043;\n\tTue,  5 Nov 2019 17:09:29 +0100 (CET)",
            "from mail-pf1-f195.google.com (mail-pf1-f195.google.com\n [209.85.210.195]) by dpdk.org (Postfix) with ESMTP id 46BAE1C068\n for <dev@dpdk.org>; Tue,  5 Nov 2019 17:09:28 +0100 (CET)",
            "by mail-pf1-f195.google.com with SMTP id v19so15859234pfm.3\n for <dev@dpdk.org>; Tue, 05 Nov 2019 08:09:28 -0800 (PST)",
            "from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127])\n by smtp.gmail.com with ESMTPSA id o191sm24240594pfg.64.2019.11.05.08.09.25\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 05 Nov 2019 08:09:25 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n h=from:to:cc:subject:date:message-id:mime-version\n :content-transfer-encoding;\n bh=O6VeH72e/ndJOQ9u/3VJh1xKty7UV9n2V9VfvA/xHuk=;\n b=zg1gFk9ZU+QILAgUA2ixIikghPTZpe3KSPF09gyAvorPAouZ+R8ZIF23hTdw3p3kh3\n cL1P0NKWkD/BYUjiE/1k7oiGFQsAhIVrdZhhQXXPob/uomuwOTQULRA4KDQnxGxiYYag\n EN0/Pl7E7IJsZW8wjWhkkiUDhBodvUNSG2L914iCaW7jRKCLN5aXh+V+qVmp4XwV9gm1\n qoB5IukJZGZXju30Mc0R1sbTHzbab2HOZpINTf66+14k5LuCBaJ8Z22x+4rasml6Tnqu\n nmcJW91LI38FsLGuo/GmVAZp3I/+C/Qd6uloKa2c+iU+edeBNIKETpS2E1TDw4E1bnwf\n E+mA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n :content-transfer-encoding;\n bh=O6VeH72e/ndJOQ9u/3VJh1xKty7UV9n2V9VfvA/xHuk=;\n b=izk6PqOxB9kNelhmjBUhS2yyFmab5SpcGe4+TCp0noBwXZlFDjXqcsl7GG1Z++stlL\n MyGVHNQhWdjWGoYSwvbQQXWR8vRvBRlGZ/HlzlDmU0v6DzqThCmWlxxgGkDeSn6KVlKi\n jWR9OhquColGtoVTHqLE+H/nCikCJRMcbYM4AgldB224rR4Lt6oGfIuixUT4M2y5vvxP\n Vgp1FADCge6NxhhG89oMB0bNqZcnR+xboH7o0Vv6qzDqntncE8QZiBZfUn+GwJEhgD3w\n +mVSLc13VtMR1o7N3DjhYm7JHykItLho1pGH9JfZOP5xRNW9aynAe9czrSUzsicQurIL\n Nckg==",
        "X-Gm-Message-State": "APjAAAX6JZ4gK6kELG3PcINKaXShTLhMvyEg5w5ENmDBYOQC+LQc7qNK\n 6+fgHAa18M5eU8mcsy2OzpUXhslo7Xks2A==",
        "X-Google-Smtp-Source": "\n APXvYqyHCeAiKf3pK9I9HUf+NCT1ARMVPn5WIAV18WIJ1oXis9hpCkX4WoAcmROLFofFfTRyiQXPqA==",
        "X-Received": "by 2002:a63:3f04:: with SMTP id m4mr37467058pga.234.1572970166718;\n Tue, 05 Nov 2019 08:09:26 -0800 (PST)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Ferruh Yigit <ferruh.yigit@intel.com>",
        "Date": "Tue,  5 Nov 2019 08:09:21 -0800",
        "Message-Id": "<20191105160921.6951-1-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.20.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH] examples/l3fwd: use correct IP reserved address\n\trange",
        "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": "The original patch used incorrect subnet range for testing.\n\nFixes: 37afe381bde4 (\"examples/l3fwd: use reserved IP addresses\")\nReported-by: Ferruh Yigit <ferruh.yigit@intel.com>\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n doc/guides/testpmd_app_ug/run_app.rst |  6 +++---\n examples/l3fwd/l3fwd_lpm.c            | 18 +++++++++---------\n 2 files changed, 12 insertions(+), 12 deletions(-)",
    "diff": "diff --git a/doc/guides/testpmd_app_ug/run_app.rst b/doc/guides/testpmd_app_ug/run_app.rst\nindex 00e0c2ac5152..858cec7e0b0b 100644\n--- a/doc/guides/testpmd_app_ug/run_app.rst\n+++ b/doc/guides/testpmd_app_ug/run_app.rst\n@@ -129,9 +129,9 @@ The command line options are:\n *   ``--tx-ip=SRC,DST``\n \n     Set the source and destination IP address used when doing transmit only test.\n-    The defaults address values are source 192.18.0.1 and\n-    destination 192.18.0.2. These are special purpose addresses\n-    reserved for benchmarking (RFC 2544).\n+    The defaults address values are source 198.18.0.1 and\n+    destination 198.18.0.2. These are special purpose addresses\n+    reserved for benchmarking (RFC 5735).\n \n *   ``--tx-udp=SRC[,DST]``\n \ndiff --git a/examples/l3fwd/l3fwd_lpm.c b/examples/l3fwd/l3fwd_lpm.c\nindex a3a65f7fc814..349de2703cd1 100644\n--- a/examples/l3fwd/l3fwd_lpm.c\n+++ b/examples/l3fwd/l3fwd_lpm.c\n@@ -41,16 +41,16 @@ struct ipv6_l3fwd_lpm_route {\n \tuint8_t  if_out;\n };\n \n-/* 192.18.0.0/16 are set aside for RFC2544 benchmarking. */\n+/* 198.18.0.0/16 are set aside for RFC2544 benchmarking (RFC5735). */\n static struct ipv4_l3fwd_lpm_route ipv4_l3fwd_lpm_route_array[] = {\n-\t{RTE_IPV4(192, 18, 0, 0), 24, 0},\n-\t{RTE_IPV4(192, 18, 1, 0), 24, 1},\n-\t{RTE_IPV4(192, 18, 2, 0), 24, 2},\n-\t{RTE_IPV4(192, 18, 3, 0), 24, 3},\n-\t{RTE_IPV4(192, 18, 4, 0), 24, 4},\n-\t{RTE_IPV4(192, 18, 5, 0), 24, 5},\n-\t{RTE_IPV4(192, 18, 6, 0), 24, 6},\n-\t{RTE_IPV4(192, 18, 7, 0), 24, 7},\n+\t{RTE_IPV4(198, 18, 0, 0), 24, 0},\n+\t{RTE_IPV4(198, 18, 1, 0), 24, 1},\n+\t{RTE_IPV4(198, 18, 2, 0), 24, 2},\n+\t{RTE_IPV4(198, 18, 3, 0), 24, 3},\n+\t{RTE_IPV4(198, 18, 4, 0), 24, 4},\n+\t{RTE_IPV4(198, 18, 5, 0), 24, 5},\n+\t{RTE_IPV4(198, 18, 6, 0), 24, 6},\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",
    "prefixes": []
}