get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 7773,
    "url": "https://patches.dpdk.org/api/patches/7773/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20151020152055.1600b6d5@miho/",
    "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": "<20151020152055.1600b6d5@miho>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20151020152055.1600b6d5@miho",
    "date": "2015-10-20T13:20:55",
    "name": "[dpdk-dev] rte_ether: clarify rte_eth_set_queue_rate_limit tx_rate parameter",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "467e6721e96c31776dfb4343c43b95b1dc09d676",
    "submitter": {
        "id": 180,
        "url": "https://patches.dpdk.org/api/people/180/?format=api",
        "name": "Simon Kagstrom",
        "email": "simon.kagstrom@netinsight.net"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20151020152055.1600b6d5@miho/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/7773/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/7773/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 446908E83;\n\tTue, 20 Oct 2015 15:21:01 +0200 (CEST)",
            "from ernst.netinsight.se (ernst.netinsight.se [194.16.221.21])\n\tby dpdk.org (Postfix) with SMTP id 228CF8E82\n\tfor <dev@dpdk.org>; Tue, 20 Oct 2015 15:21:00 +0200 (CEST)",
            "from miho (unverified [10.100.1.152]) by ernst.netinsight.se\n\t(EMWAC SMTPRS 0.83) with SMTP id <B0031343317@ernst.netinsight.se>;\n\tTue, 20 Oct 2015 15:20:55 +0200"
        ],
        "Date": "Tue, 20 Oct 2015 15:20:55 +0200",
        "From": "Simon Kagstrom <simon.kagstrom@netinsight.net>",
        "To": "thomas.monjalon@6wind.com",
        "Message-ID": "<20151020152055.1600b6d5@miho>",
        "X-Mailer": "Claws Mail 3.9.3 (GTK+ 2.24.27; x86_64-pc-linux-gnu)",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=US-ASCII",
        "Content-Transfer-Encoding": "7bit",
        "Cc": "dev@dpdk.org",
        "Subject": "[dpdk-dev] [PATCH] rte_ether: clarify rte_eth_set_queue_rate_limit\n\ttx_rate parameter",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "The tx_rate unit is Mbps.\n\nGleaned from the ixgbe implementation, the 82599 datasheet and the use\nin test-pmd.\n\nSigned-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>\n---\n lib/librte_ether/rte_ethdev.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h\nindex 8a8c82b..ff9aab7 100644\n--- a/lib/librte_ether/rte_ethdev.h\n+++ b/lib/librte_ether/rte_ethdev.h\n@@ -3021,7 +3021,7 @@ int rte_eth_mirror_rule_reset(uint8_t port_id,\n  * @param queue_idx\n  *   The queue id.\n  * @param tx_rate\n- *   The tx rate allocated from the total link speed for this queue.\n+ *   The tx rate in Mbps. Allocated from the total port link speed.\n  * @return\n  *   - (0) if successful.\n  *   - (-ENOTSUP) if hardware doesn't support this feature.\n",
    "prefixes": [
        "dpdk-dev"
    ]
}