Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/76563/?format=api
http://patches.dpdk.org/api/patches/76563/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1599219135-53194-3-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": "<1599219135-53194-3-git-send-email-humin29@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1599219135-53194-3-git-send-email-humin29@huawei.com", "date": "2020-09-04T11:32:13", "name": "[V2,2/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/1599219135-53194-3-git-send-email-humin29@huawei.com/mbox/", "series": [ { "id": 11954, "url": "http://patches.dpdk.org/api/series/11954/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11954", "date": "2020-09-04T11:32:14", "name": "ethdev: change the queue ID type", "version": 2, "mbox": "http://patches.dpdk.org/series/11954/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/76563/comments/", "check": "warning", "checks": "http://patches.dpdk.org/api/patches/76563/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 30029A04C5;\n\tFri, 4 Sep 2020 13:35:08 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C729F1C113;\n\tFri, 4 Sep 2020 13:34:44 +0200 (CEST)", "from huawei.com (szxga06-in.huawei.com [45.249.212.32])\n by dpdk.org (Postfix) with ESMTP id 65B5A1C0CE\n for <dev@dpdk.org>; Fri, 4 Sep 2020 13:34:38 +0200 (CEST)", "from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.60])\n by Forcepoint Email with ESMTP id 2B0937448DF0317B388B;\n Fri, 4 Sep 2020 19:34:36 +0800 (CST)", "from localhost.localdomain (10.69.192.56) by\n DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id\n 14.3.487.0; Fri, 4 Sep 2020 19:34:31 +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": "Fri, 4 Sep 2020 19:32:13 +0800", "Message-ID": "<1599219135-53194-3-git-send-email-humin29@huawei.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1599219135-53194-1-git-send-email-humin29@huawei.com>", "References": "<1598961165-20832-2-git-send-email-humin29@huawei.com>\n <1599219135-53194-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 2/4] ethdev: change data type in TC rxq and TC\n\ttxq", "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 e073c0e..b4e10e2 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": [ "V2", "2/4" ] }{ "id": 76563, "url": "