get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 90000,
    "url": "https://patches.dpdk.org/api/1.2/patches/90000/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1617000403-13647-1-git-send-email-humin29@huawei.com/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/1.2/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": "<1617000403-13647-1-git-send-email-humin29@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1617000403-13647-1-git-send-email-humin29@huawei.com",
    "date": "2021-03-29T06:46:43",
    "name": "[v2] app/testpmd: fix Tx/Rx descriptor query error log",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "b374933e0196dd7848519dc9644b007391072a60",
    "submitter": {
        "id": 1944,
        "url": "https://patches.dpdk.org/api/1.2/people/1944/?format=api",
        "name": "humin (Q)",
        "email": "humin29@huawei.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/1.2/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1617000403-13647-1-git-send-email-humin29@huawei.com/mbox/",
    "series": [
        {
            "id": 15939,
            "url": "https://patches.dpdk.org/api/1.2/series/15939/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=15939",
            "date": "2021-03-29T06:46:43",
            "name": "[v2] app/testpmd: fix Tx/Rx descriptor query error log",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/15939/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/90000/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/90000/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 3F517A034F;\n\tMon, 29 Mar 2021 08:46:28 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B078D40151;\n\tMon, 29 Mar 2021 08:46:27 +0200 (CEST)",
            "from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191])\n by mails.dpdk.org (Postfix) with ESMTP id 0050640042\n for <dev@dpdk.org>; Mon, 29 Mar 2021 08:46:25 +0200 (CEST)",
            "from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.59])\n by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4F832r6znKzyN3K\n for <dev@dpdk.org>; Mon, 29 Mar 2021 14:44:20 +0800 (CST)",
            "from localhost.localdomain (10.69.192.56) by\n DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id\n 14.3.498.0; Mon, 29 Mar 2021 14:46:18 +0800"
        ],
        "From": "\"Min Hu (Connor)\" <humin29@huawei.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<ferruh.yigit@intel.com>, <xiaoyun.li@intel.com>",
        "Date": "Mon, 29 Mar 2021 14:46:43 +0800",
        "Message-ID": "<1617000403-13647-1-git-send-email-humin29@huawei.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1616830494-46559-1-git-send-email-humin29@huawei.com>",
        "References": "<1616830494-46559-1-git-send-email-humin29@huawei.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.69.192.56]",
        "X-CFilter-Loop": "Reflected",
        "Subject": "[dpdk-dev] [PATCH v2] app/testpmd: fix Tx/Rx descriptor query error\n log",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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": "From: Hongbo Zheng <zhenghongbo3@huawei.com>\n\nThis patch adds more err info for Tx/Rx descriptor query command.\n\nFixes: fae9aa717d6c (\"app/testpmd: support checking descriptor status\")\nCc: stable@dpdk.org\n\nSigned-off-by: Hongbo Zheng <zhenghongbo3@huawei.com>\nSigned-off-by: Min Hu (Connor) <humin29@huawei.com>\n---\nv2:\n* Fixed error log info and simply the commit info.\n---\n app/test-pmd/cmdline.c | 6 ++++--\n 1 file changed, 4 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c\nindex 14110eb..f44116b 100644\n--- a/app/test-pmd/cmdline.c\n+++ b/app/test-pmd/cmdline.c\n@@ -16629,7 +16629,8 @@ cmd_show_rx_tx_desc_status_parsed(void *parsed_result,\n \t\trc = rte_eth_rx_descriptor_status(res->cmd_pid, res->cmd_qid,\n \t\t\t\t\t     res->cmd_did);\n \t\tif (rc < 0) {\n-\t\t\tprintf(\"Invalid queueid = %d\\n\", res->cmd_qid);\n+\t\t\tprintf(\"Invalid input: queue id = %d, desc id = %d\\n\",\n+\t\t\t       res->cmd_qid, res->cmd_did);\n \t\t\treturn;\n \t\t}\n \t\tif (rc == RTE_ETH_RX_DESC_AVAIL)\n@@ -16642,7 +16643,8 @@ cmd_show_rx_tx_desc_status_parsed(void *parsed_result,\n \t\trc = rte_eth_tx_descriptor_status(res->cmd_pid, res->cmd_qid,\n \t\t\t\t\t     res->cmd_did);\n \t\tif (rc < 0) {\n-\t\t\tprintf(\"Invalid queueid = %d\\n\", res->cmd_qid);\n+\t\t\tprintf(\"Invalid input: queue id = %d, desc id = %d\\n\",\n+\t\t\t       res->cmd_qid, res->cmd_did);\n \t\t\treturn;\n \t\t}\n \t\tif (rc == RTE_ETH_TX_DESC_FULL)\n",
    "prefixes": [
        "v2"
    ]
}