get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 44814,
    "url": "http://patches.dpdk.org/api/patches/44814/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1537191016-26330-4-git-send-email-liang.j.ma@intel.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": "<1537191016-26330-4-git-send-email-liang.j.ma@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1537191016-26330-4-git-send-email-liang.j.ma@intel.com",
    "date": "2018-09-17T13:30:16",
    "name": "[v8,4/4] doc/guides/sample_app_ug/l3_forward_power_man.rst: empty poll update",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "77df479c931ce583fbbb4dc1338392770b2b5870",
    "submitter": {
        "id": 904,
        "url": "http://patches.dpdk.org/api/people/904/?format=api",
        "name": "Liang, Ma",
        "email": "liang.j.ma@intel.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/1537191016-26330-4-git-send-email-liang.j.ma@intel.com/mbox/",
    "series": [
        {
            "id": 1356,
            "url": "http://patches.dpdk.org/api/series/1356/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1356",
            "date": "2018-09-17T13:30:15",
            "name": "[v8,1/4] lib/librte_power: traffic pattern aware power control",
            "version": 8,
            "mbox": "http://patches.dpdk.org/series/1356/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/44814/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/44814/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 7CE4F1B051;\n\tMon, 17 Sep 2018 15:30:57 +0200 (CEST)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n\tby dpdk.org (Postfix) with ESMTP id 67EA81B051\n\tfor <dev@dpdk.org>; Mon, 17 Sep 2018 15:30:56 +0200 (CEST)",
            "from fmsmga006.fm.intel.com ([10.253.24.20])\n\tby orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t17 Sep 2018 06:30:55 -0700",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby fmsmga006.fm.intel.com with ESMTP; 17 Sep 2018 06:30:35 -0700",
            "from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com\n\t[10.237.217.45])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tw8HDUZKC030965; Mon, 17 Sep 2018 14:30:35 +0100",
            "from sivswdev01.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev01.ir.intel.com with ESMTP id w8HDUZZs026546;\n\tMon, 17 Sep 2018 14:30:35 +0100",
            "(from lma25@localhost)\n\tby sivswdev01.ir.intel.com with LOCAL id w8HDUZ9Q026542;\n\tMon, 17 Sep 2018 14:30:35 +0100"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.53,385,1531810800\"; d=\"scan'208\";a=\"264201916\"",
        "From": "Liang Ma <liang.j.ma@intel.com>",
        "To": "david.hunt@intel.com",
        "Cc": "dev@dpdk.org, lei.a.yao@intel.com, ktraynor@redhat.com,\n\tjohn.geary@intel.com, Liang Ma <liang.j.ma@intel.com>",
        "Date": "Mon, 17 Sep 2018 14:30:16 +0100",
        "Message-Id": "<1537191016-26330-4-git-send-email-liang.j.ma@intel.com>",
        "X-Mailer": "git-send-email 1.7.7.4",
        "In-Reply-To": "<1537191016-26330-1-git-send-email-liang.j.ma@intel.com>",
        "References": "<1536070228-6545-1-git-send-email-liang.j.ma@intel.com>\n\t<1537191016-26330-1-git-send-email-liang.j.ma@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v8 4/4]\n\tdoc/guides/sample_app_ug/l3_forward_power_man.rst: empty poll update",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Add empty poll mode command line example\n\nSigned-off-by: Liang Ma <liang.j.ma@intel.com>\n---\n doc/guides/sample_app_ug/l3_forward_power_man.rst | 29 +++++++++++++++++++++++\n 1 file changed, 29 insertions(+)",
    "diff": "diff --git a/doc/guides/sample_app_ug/l3_forward_power_man.rst b/doc/guides/sample_app_ug/l3_forward_power_man.rst\nindex 795a570..ca9c70a 100644\n--- a/doc/guides/sample_app_ug/l3_forward_power_man.rst\n+++ b/doc/guides/sample_app_ug/l3_forward_power_man.rst\n@@ -362,3 +362,32 @@ The algorithm has the following sleeping behavior depending on the idle counter:\n If a thread polls multiple Rx queues and different queue returns different sleep duration values,\n the algorithm controls the sleep time in a conservative manner by sleeping for the least possible time\n in order to avoid a potential performance impact.\n+\n+Empty Poll Mode\n+-------------------------\n+There is a new Mode which is added recently. Empty poll mode can be enabled by\n+command option --empty-poll.\n+\n+See \"Power Management\" chapter in the DPDK Programmer's Guide for empty poll mode details.\n+\n+.. code-block:: console\n+\n+    ./l3fwd-power -l xxx   -n 4   -w 0000:xx:00.0 -w 0000:xx:00.1 -- -p 0x3 -P --config=\"(0,0,xx),(1,0,xx)\" --empty-poll=\"0,0,0\" -l 14 -m 9 -h 1\n+\n+Where,\n+\n+--empty-poll: Enable the empty poll mode instead of original algorithm\n+\n+--empty-poll=\"training_flag, med_threshold, high_threshold\"\n+\n+* training_flag : optional, enable/disable training mode. Default value is 0.\n+\n+* med_threshold : optional, indicate the empty poll threshold of modest state which is customized by user. Default value is 0.\n+\n+* high_threshold : optional, indicate the empty poll threshold of busy state which is customized by user. Default value is 0.\n+\n+* -l : optional, set up the LOW power state frequency index\n+\n+* -m : optional, set up the MED power state frequency index\n+\n+* -h : optional, set up the HIGH power state frequency index\n",
    "prefixes": [
        "v8",
        "4/4"
    ]
}