get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 44259,
    "url": "https://patches.dpdk.org/api/patches/44259/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1536070228-6545-4-git-send-email-liang.j.ma@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": "<1536070228-6545-4-git-send-email-liang.j.ma@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1536070228-6545-4-git-send-email-liang.j.ma@intel.com",
    "date": "2018-09-04T14:10:28",
    "name": "[v7,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": "87458e7ec0a35f393c8baac90858b94f4ebabb22",
    "submitter": {
        "id": 904,
        "url": "https://patches.dpdk.org/api/people/904/?format=api",
        "name": "Liang, Ma",
        "email": "liang.j.ma@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1536070228-6545-4-git-send-email-liang.j.ma@intel.com/mbox/",
    "series": [
        {
            "id": 1173,
            "url": "https://patches.dpdk.org/api/series/1173/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1173",
            "date": "2018-09-04T14:10:26",
            "name": "[v7,1/4] lib/librte_power: traffic pattern aware power control",
            "version": 7,
            "mbox": "https://patches.dpdk.org/series/1173/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/44259/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/44259/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 7CE554C9D;\n\tTue,  4 Sep 2018 16:10:56 +0200 (CEST)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n\tby dpdk.org (Postfix) with ESMTP id B3BAA4C9D\n\tfor <dev@dpdk.org>; Tue,  4 Sep 2018 16:10:54 +0200 (CEST)",
            "from fmsmga006.fm.intel.com ([10.253.24.20])\n\tby fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t04 Sep 2018 07:10:53 -0700",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby fmsmga006.fm.intel.com with ESMTP; 04 Sep 2018 07:10:44 -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\tw84EAiK2007728; Tue, 4 Sep 2018 15:10:44 +0100",
            "from sivswdev01.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev01.ir.intel.com with ESMTP id w84EAi5J006712;\n\tTue, 4 Sep 2018 15:10:44 +0100",
            "(from lma25@localhost)\n\tby sivswdev01.ir.intel.com with LOCAL id w84EAivG006708;\n\tTue, 4 Sep 2018 15:10:44 +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,329,1531810800\"; d=\"scan'208\";a=\"260583902\"",
        "From": "Liang Ma <liang.j.ma@intel.com>",
        "To": "david.hunt@intel.com",
        "Cc": "dev@dpdk.org, lei.a.yao@intel.com, radu.nicolau@intel.com,\n\tanatoly.burakov@intel.com, john.geary@intel.com,\n\tLiang Ma <liang.j.ma@intel.com>",
        "Date": "Tue,  4 Sep 2018 15:10:28 +0100",
        "Message-Id": "<1536070228-6545-4-git-send-email-liang.j.ma@intel.com>",
        "X-Mailer": "git-send-email 1.7.7.4",
        "In-Reply-To": "<1536070228-6545-1-git-send-email-liang.j.ma@intel.com>",
        "References": "<1535727871-30168-1-git-send-email-liang.j.ma@intel.com>\n\t<1536070228-6545-1-git-send-email-liang.j.ma@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v7 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 | 21 +++++++++++++++++++++\n 1 file changed, 21 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..7bea0a8 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,24 @@ 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 -l 14 -m 9 -h 1\n+\n+Where,\n+\n+--empty-poll: Enable the empty poll mode instead of original algorithm\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": [
        "v7",
        "4/4"
    ]
}