Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/56468/?format=api
http://patches.dpdk.org/api/patches/56468/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1563249568-35436-1-git-send-email-xuanziyang2@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": "<1563249568-35436-1-git-send-email-xuanziyang2@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1563249568-35436-1-git-send-email-xuanziyang2@huawei.com", "date": "2019-07-16T03:59:28", "name": "[v1,1/1] net/hinic: solve lgtm errors reporting", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "a70ed1dc51614cd0a0619a82109541880d41d3e3", "submitter": { "id": 1321, "url": "http://patches.dpdk.org/api/people/1321/?format=api", "name": "Ziyang Xuan", "email": "xuanziyang2@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/1563249568-35436-1-git-send-email-xuanziyang2@huawei.com/mbox/", "series": [ { "id": 5508, "url": "http://patches.dpdk.org/api/series/5508/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5508", "date": "2019-07-16T03:59:28", "name": "[v1,1/1] net/hinic: solve lgtm errors reporting", "version": 1, "mbox": "http://patches.dpdk.org/series/5508/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/56468/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/56468/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 C6AF92C18;\n\tTue, 16 Jul 2019 05:46:30 +0200 (CEST)", "from huawei.com (szxga06-in.huawei.com [45.249.212.32])\n\tby dpdk.org (Postfix) with ESMTP id 70B962BF5\n\tfor <dev@dpdk.org>; Tue, 16 Jul 2019 05:46:29 +0200 (CEST)", "from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.60])\n\tby Forcepoint Email with ESMTP id C3AEC9E5E771BDB03D95\n\tfor <dev@dpdk.org>; Tue, 16 Jul 2019 11:46:26 +0800 (CST)", "from tester.localdomain (10.175.119.39) by\n\tDGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP\n\tServer id 14.3.439.0; Tue, 16 Jul 2019 11:46:19 +0800" ], "From": "Ziyang Xuan <xuanziyang2@huawei.com>", "To": "<dev@dpdk.org>", "CC": "<ferruh.yigit@intel.com>, <cloud.wangxiaoyun@huawei.com>,\n\t<wulike1@huawei.com>, <shahar.belkar@huawei.com>,\n\t<luoxianjun@huawei.com>, \n\t<tanya.brokhman@huawei.com>, Ziyang Xuan <xuanziyang2@huawei.com>", "Date": "Tue, 16 Jul 2019 11:59:28 +0800", "Message-ID": "<1563249568-35436-1-git-send-email-xuanziyang2@huawei.com>", "X-Mailer": "git-send-email 1.8.3.1", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Originating-IP": "[10.175.119.39]", "X-CFilter-Loop": "Reflected", "Subject": "[dpdk-dev] [PATCH v1 1/1] net/hinic: solve lgtm errors reporting", "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": "There are some implicit downcast errors in TX offload\ninformation parsing. This patch is to solve these errors.\n\nSigned-off-by: Ziyang Xuan <xuanziyang2@huawei.com>\n---\n drivers/net/hinic/hinic_pmd_tx.h | 7 ++++---\n 1 file changed, 4 insertions(+), 3 deletions(-)", "diff": "diff --git a/drivers/net/hinic/hinic_pmd_tx.h b/drivers/net/hinic/hinic_pmd_tx.h\nindex 8b361cf..8a3df27 100644\n--- a/drivers/net/hinic/hinic_pmd_tx.h\n+++ b/drivers/net/hinic/hinic_pmd_tx.h\n@@ -29,19 +29,20 @@ enum sq_wqe_type {\n struct hinic_tx_offload_info {\n \tu8 outer_l2_len;\n \tu8 outer_l3_type;\n-\tu8 outer_l3_len;\n+\tu16 outer_l3_len;\n \n \tu8 inner_l2_len;\n \tu8 inner_l3_type;\n-\tu8 inner_l3_len;\n+\tu16 inner_l3_len;\n \n \tu8 tunnel_length;\n \tu8 tunnel_type;\n \tu8 inner_l4_type;\n \tu8 inner_l4_len;\n \n-\tu8 payload_offset;\n+\tu16 payload_offset;\n \tu8 inner_l4_tcp_udp;\n+\tu8 rsvd0;\n };\n \n /* tx sge info */\n", "prefixes": [ "v1", "1/1" ] }{ "id": 56468, "url": "