get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 69888,
    "url": "https://patches.dpdk.org/api/patches/69888/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200506215847.7628-4-dharmik.thakkar@arm.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": "<20200506215847.7628-4-dharmik.thakkar@arm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200506215847.7628-4-dharmik.thakkar@arm.com",
    "date": "2020-05-06T21:58:46",
    "name": "[4/5] doc: include config options in testpmd user guide",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "4d7dc778b0a3e83e1cf58ed26d8abcbf7adc5401",
    "submitter": {
        "id": 1108,
        "url": "https://patches.dpdk.org/api/people/1108/?format=api",
        "name": "Dharmik Thakkar",
        "email": "dharmik.thakkar@arm.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200506215847.7628-4-dharmik.thakkar@arm.com/mbox/",
    "series": [
        {
            "id": 9891,
            "url": "https://patches.dpdk.org/api/series/9891/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=9891",
            "date": "2020-05-06T21:58:43",
            "name": "[1/5] app/testpmd: print clock with CPU cycles per pkt",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/9891/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/69888/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/69888/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 3E6F7A034E;\n\tWed,  6 May 2020 23:59:51 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id F1AFF1DB55;\n\tWed,  6 May 2020 23:59:33 +0200 (CEST)",
            "from foss.arm.com (foss.arm.com [217.140.110.172])\n by dpdk.org (Postfix) with ESMTP id DD0401DB3F\n for <dev@dpdk.org>; Wed,  6 May 2020 23:59:28 +0200 (CEST)",
            "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 561A51045;\n Wed,  6 May 2020 14:59:28 -0700 (PDT)",
            "from dp6132.usa.Arm.com (dp6132.usa.arm.com [10.118.91.150])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4FFF33F305;\n Wed,  6 May 2020 14:59:28 -0700 (PDT)"
        ],
        "From": "Dharmik Thakkar <dharmik.thakkar@arm.com>",
        "To": "Wenzhuo Lu <wenzhuo.lu@intel.com>, Jingjing Wu <jingjing.wu@intel.com>,\n Bernard Iremonger <bernard.iremonger@intel.com>,\n John McNamara <john.mcnamara@intel.com>,\n Marko Kovacevic <marko.kovacevic@intel.com>",
        "Cc": "dev@dpdk.org,\n\tnd@arm.com,\n\tDharmik Thakkar <dharmik.thakkar@arm.com>",
        "Date": "Wed,  6 May 2020 21:58:46 +0000",
        "Message-Id": "<20200506215847.7628-4-dharmik.thakkar@arm.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200506215847.7628-1-dharmik.thakkar@arm.com>",
        "References": "<20200506215847.7628-1-dharmik.thakkar@arm.com>",
        "Subject": "[dpdk-dev] [PATCH 4/5] doc: include config options in testpmd user\n\tguide",
        "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": "Update testpmd documentation to include RECORD configuration options,\nCONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES and\nCONFIG_RTE_TEST_PMD_RECORD_BURST_STATS.\n\nSigned-off-by: Dharmik Thakkar <dharmik.thakkar@arm.com>\nReviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>\nReviewed-by: Phil Yang <phil.yang@arm.com>\n---\n doc/guides/testpmd_app_ug/build_app.rst | 12 ++++++++++++\n 1 file changed, 12 insertions(+)",
    "diff": "diff --git a/doc/guides/testpmd_app_ug/build_app.rst b/doc/guides/testpmd_app_ug/build_app.rst\nindex d1ca9f3d19a9..caebb33849e3 100644\n--- a/doc/guides/testpmd_app_ug/build_app.rst\n+++ b/doc/guides/testpmd_app_ug/build_app.rst\n@@ -21,6 +21,18 @@ The basic compilation steps are:\n \n         export RTE_TARGET=x86_64-native-linux-gcc\n \n+##.  If required, enable configuration options. For example:\n+\n+    .. code-block:: console\n+\n+        cd to the top-level DPDK directory\n+        sed -i 's,\\(CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES\\)=n,\\1=y,' config/common_base\n+        sed -i 's,\\(CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS\\)=n,\\1=y,' config/common_base\n+\n+    Enabling CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES enables measurement of CPU cycles.\n+\n+    Enabling CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS enables display of RX and TX bursts.\n+\n #.  Build the application:\n \n     .. code-block:: console\n",
    "prefixes": [
        "4/5"
    ]
}