get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 76249,
    "url": "http://patches.dpdk.org/api/patches/76249/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1598961165-20832-2-git-send-email-humin29@huawei.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": "<1598961165-20832-2-git-send-email-humin29@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1598961165-20832-2-git-send-email-humin29@huawei.com",
    "date": "2020-09-01T11:52:42",
    "name": "[1/4] ethdev: change data type in TC rxq and TC txq",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "cb0bbff1881a56c8c710dcf18a41d947b5f14b11",
    "submitter": {
        "id": 1944,
        "url": "http://patches.dpdk.org/api/people/1944/?format=api",
        "name": "humin (Q)",
        "email": "humin29@huawei.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1598961165-20832-2-git-send-email-humin29@huawei.com/mbox/",
    "series": [
        {
            "id": 11873,
            "url": "http://patches.dpdk.org/api/series/11873/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11873",
            "date": "2020-09-01T11:52:41",
            "name": "ethdev: change the queue ID type",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/11873/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/76249/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/76249/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 B7564A04AC;\n\tTue,  1 Sep 2020 14:00:41 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 572681C195;\n\tTue,  1 Sep 2020 13:55:09 +0200 (CEST)",
            "from huawei.com (szxga07-in.huawei.com [45.249.212.35])\n by dpdk.org (Postfix) with ESMTP id 7C5681C131\n for <dev@dpdk.org>; Tue,  1 Sep 2020 13:55:06 +0200 (CEST)",
            "from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.58])\n by Forcepoint Email with ESMTP id A053755F34B98644EB5A;\n Tue,  1 Sep 2020 19:55:04 +0800 (CST)",
            "from localhost.localdomain (10.69.192.56) by\n DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id\n 14.3.487.0; Tue, 1 Sep 2020 19:54:58 +0800"
        ],
        "From": "\"Min Hu (Connor)\" <humin29@huawei.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<ferruh.yigit@intel.com>, <stephen@networkplumber.org>,\n <bruce.richardson@intel.com>, <jerin.jacob@caviumnetworks.com>",
        "Date": "Tue, 1 Sep 2020 19:52:42 +0800",
        "Message-ID": "<1598961165-20832-2-git-send-email-humin29@huawei.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1598961165-20832-1-git-send-email-humin29@huawei.com>",
        "References": "<1598923998-44155-1-git-send-email-humin29@huawei.com>\n <1598961165-20832-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 1/4] ethdev: change data type in TC rxq and TC txq",
        "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": "From: Huisong Li <lihuisong@huawei.com>\n\nCurrently, base and nb_queue in the tc_rxq and tc_txq information\nof queue and TC mapping on both TX and RX paths are uint8_t.\nHowever, these datas will be truncated when queue number under a TC\nis greater than 256. So it is necessay for base and nb_queue to\nchange from uint8_t to uint16_t.\n\nFixes: 01eb53eefeb40e8 (\"ethdev: rename folder to library name\")\nCc: stable@dpdk.org\n\nSigned-off-by: Huisong Li <lihuisong@huawei.com>\nSigned-off-by: Min Hu (Connor) <humin29@huawei.com>\nReviewed-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>\nReviewed-by: Dongdong Liu <liudongdong3@huawei.com>\n---\n lib/librte_ethdev/rte_ethdev.h | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h\nindex 70295d7..b0114bb 100644\n--- a/lib/librte_ethdev/rte_ethdev.h\n+++ b/lib/librte_ethdev/rte_ethdev.h\n@@ -1489,13 +1489,13 @@ struct rte_eth_xstat_name {\n struct rte_eth_dcb_tc_queue_mapping {\n \t/** rx queues assigned to tc per Pool */\n \tstruct {\n-\t\tuint8_t base;\n-\t\tuint8_t nb_queue;\n+\t\tuint16_t base;\n+\t\tuint16_t nb_queue;\n \t} tc_rxq[ETH_MAX_VMDQ_POOL][ETH_DCB_NUM_TCS];\n \t/** rx queues assigned to tc per Pool */\n \tstruct {\n-\t\tuint8_t base;\n-\t\tuint8_t nb_queue;\n+\t\tuint16_t base;\n+\t\tuint16_t nb_queue;\n \t} tc_txq[ETH_MAX_VMDQ_POOL][ETH_DCB_NUM_TCS];\n };\n \n",
    "prefixes": [
        "1/4"
    ]
}