Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/61976/?format=api
https://patches.dpdk.org/api/patches/61976/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1572007025-43391-4-git-send-email-xavier.huwei@huawei.com/", "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": "<1572007025-43391-4-git-send-email-xavier.huwei@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1572007025-43391-4-git-send-email-xavier.huwei@huawei.com", "date": "2019-10-25T12:37:04", "name": "[v2,3/4] net/hns3: fix the return value when firmware timeout", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "0f07ff0125b0b9324841c075485bb983a1a54b5a", "submitter": { "id": 1405, "url": "https://patches.dpdk.org/api/people/1405/?format=api", "name": "Wei Hu (Xavier)", "email": "xavier.huwei@huawei.com" }, "delegate": { "id": 319, "url": "https://patches.dpdk.org/api/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/1572007025-43391-4-git-send-email-xavier.huwei@huawei.com/mbox/", "series": [ { "id": 7070, "url": "https://patches.dpdk.org/api/series/7070/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=7070", "date": "2019-10-25T12:37:04", "name": "some fixes for hns3 PMD driver", "version": 2, "mbox": "https://patches.dpdk.org/series/7070/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/61976/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/61976/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 5C94D1C11A;\n\tFri, 25 Oct 2019 14:36:39 +0200 (CEST)", "from huawei.com (szxga06-in.huawei.com [45.249.212.32])\n\tby dpdk.org (Postfix) with ESMTP id 205581C190\n\tfor <dev@dpdk.org>; Fri, 25 Oct 2019 14:36:37 +0200 (CEST)", "from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.58])\n\tby Forcepoint Email with ESMTP id 13C8635DF66930A3D34D;\n\tFri, 25 Oct 2019 20:36:36 +0800 (CST)", "from localhost.localdomain (10.69.192.56) by\n\tDGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP\n\tServer id 14.3.439.0; Fri, 25 Oct 2019 20:36:27 +0800" ], "From": "\"Wei Hu (Xavier)\" <xavier.huwei@huawei.com>", "To": "<dev@dpdk.org>", "CC": "<ferruh.yigit@intel.com>, <linuxarm@huawei.com>, <xavier_huwei@163.com>, \n\t<xavier.huwei@tom.com>, <forest.zhouchang@huawei.com>", "Date": "Fri, 25 Oct 2019 20:37:04 +0800", "Message-ID": "<1572007025-43391-4-git-send-email-xavier.huwei@huawei.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1572007025-43391-1-git-send-email-xavier.huwei@huawei.com>", "References": "<1572007025-43391-1-git-send-email-xavier.huwei@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 3/4] net/hns3: fix the return value when\n\tfirmware timeout", "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\t<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\t<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\nConfiguration commands are sent to firmware for processing.\nWhen firmware processing timeout, the corresponding error\ncode is returned. Considering that it is more reasonable to\nuse error code -ETIME for timeout error, the error code for\nprocessing timeout is changed from -EBADE to -ETIME.\n\nFixes: 737f30e1c3ab (\"net/hns3: support command interface with firmware\")\n\nSigned-off-by: Hongbo Zheng <zhenghongbo3@huawei.com>\nSigned-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>\n---\n drivers/net/hns3/hns3_cmd.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/hns3/hns3_cmd.c b/drivers/net/hns3/hns3_cmd.c\nindex 3eebfdd..58776c2 100644\n--- a/drivers/net/hns3/hns3_cmd.c\n+++ b/drivers/net/hns3/hns3_cmd.c\n@@ -359,7 +359,7 @@ static int hns3_cmd_poll_reply(struct hns3_hw *hw)\n \t\ttimeout++;\n \t} while (timeout < hw->cmq.tx_timeout);\n \thns3_err(hw, \"Wait for reply timeout\");\n-\treturn -EBADE;\n+\treturn -ETIME;\n }\n \n /*\n", "prefixes": [ "v2", "3/4" ] }{ "id": 61976, "url": "