Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/82742/?format=api
http://patches.dpdk.org/api/patches/82742/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1603973875-8431-7-git-send-email-oulijun@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": "<1603973875-8431-7-git-send-email-oulijun@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1603973875-8431-7-git-send-email-oulijun@huawei.com", "date": "2020-10-29T12:17:53", "name": "[v2,6/8] net/hns3: fix data type to release fake queue > 255", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "d9974346d02def043514da2844238d31b95b87d2", "submitter": { "id": 1675, "url": "http://patches.dpdk.org/api/people/1675/?format=api", "name": "Lijun Ou", "email": "oulijun@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/1603973875-8431-7-git-send-email-oulijun@huawei.com/mbox/", "series": [ { "id": 13459, "url": "http://patches.dpdk.org/api/series/13459/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13459", "date": "2020-10-29T12:17:47", "name": "hns3 misc updates", "version": 2, "mbox": "http://patches.dpdk.org/series/13459/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/82742/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/82742/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 8B6EDA04B5;\n\tThu, 29 Oct 2020 13:17:51 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id D4C27CAC8;\n\tThu, 29 Oct 2020 13:17:35 +0100 (CET)", "from szxga07-in.huawei.com (szxga07-in.huawei.com [45.249.212.35])\n by dpdk.org (Postfix) with ESMTP id D62BDCAC1\n for <dev@dpdk.org>; Thu, 29 Oct 2020 13:17:34 +0100 (CET)", "from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.58])\n by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4CMPb31dSfz70Xl\n for <dev@dpdk.org>; Thu, 29 Oct 2020 20:17:35 +0800 (CST)", "from localhost.localdomain (10.69.192.56) by\n DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id\n 14.3.487.0; Thu, 29 Oct 2020 20:17:22 +0800" ], "From": "Lijun Ou <oulijun@huawei.com>", "To": "<ferruh.yigit@intel.com>", "CC": "<dev@dpdk.org>, <linuxarm@huawei.com>", "Date": "Thu, 29 Oct 2020 20:17:53 +0800", "Message-ID": "<1603973875-8431-7-git-send-email-oulijun@huawei.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1603973875-8431-1-git-send-email-oulijun@huawei.com>", "References": "<1603970094-37384-1-git-send-email-oulijun@huawei.com>\n <1603973875-8431-1-git-send-email-oulijun@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 6/8] net/hns3: fix data type to release fake\n\tqueue > 255", "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, u8 type variable is used to control to release fake queues in\nhns3_fake_rx/tx_queue_config function. Although there is no case in which\nmore than 256 fake queues are created in hns3 network engine, it is\nunreasonable to compare u8 variable with u16 variable.\n\nFixes: a951c1ed3ab5 (\"net/hns3: support different numbers of Rx and Tx queues\")\nCc: stable@dpdk.org\n\nSigned-off-by: Huisong Li <lihuisong@huawei.com>\nSigned-off-by: Lijun Ou <oulijun@huawei.com>\n---\n drivers/net/hns3/hns3_rxtx.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/hns3/hns3_rxtx.c b/drivers/net/hns3/hns3_rxtx.c\nindex 3d5e465..3386453 100644\n--- a/drivers/net/hns3/hns3_rxtx.c\n+++ b/drivers/net/hns3/hns3_rxtx.c\n@@ -1378,7 +1378,7 @@ hns3_fake_rx_queue_config(struct hns3_hw *hw, uint16_t nb_queues)\n {\n \tuint16_t old_nb_queues = hw->fkq_data.nb_fake_rx_queues;\n \tvoid **rxq;\n-\tuint8_t i;\n+\tuint16_t i;\n \n \tif (hw->fkq_data.rx_queues == NULL && nb_queues != 0) {\n \t\t/* first time configuration */\n@@ -1425,7 +1425,7 @@ hns3_fake_tx_queue_config(struct hns3_hw *hw, uint16_t nb_queues)\n {\n \tuint16_t old_nb_queues = hw->fkq_data.nb_fake_tx_queues;\n \tvoid **txq;\n-\tuint8_t i;\n+\tuint16_t i;\n \n \tif (hw->fkq_data.tx_queues == NULL && nb_queues != 0) {\n \t\t/* first time configuration */\n", "prefixes": [ "v2", "6/8" ] }{ "id": 82742, "url": "