Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/86006/?format=api
https://patches.dpdk.org/api/patches/86006/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1609904792-63280-7-git-send-email-oulijun@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": "<1609904792-63280-7-git-send-email-oulijun@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1609904792-63280-7-git-send-email-oulijun@huawei.com", "date": "2021-01-06T03:46:32", "name": "[v2,6/6] net/hns3: remove unnecessary memset", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "68f7b0cea8eb25beea5ffde40875b2ebdbc88ed6", "submitter": { "id": 1675, "url": "https://patches.dpdk.org/api/people/1675/?format=api", "name": "Lijun Ou", "email": "oulijun@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/1609904792-63280-7-git-send-email-oulijun@huawei.com/mbox/", "series": [ { "id": 14544, "url": "https://patches.dpdk.org/api/series/14544/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14544", "date": "2021-01-06T03:46:26", "name": "some bugfixes for hns3", "version": 2, "mbox": "https://patches.dpdk.org/series/14544/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/86006/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/86006/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 mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 43B4FA09FF;\n\tWed, 6 Jan 2021 04:47:03 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D1C05160895;\n\tWed, 6 Jan 2021 04:46:54 +0100 (CET)", "from szxga07-in.huawei.com (szxga07-in.huawei.com [45.249.212.35])\n by mails.dpdk.org (Postfix) with ESMTP id EB4C416088A\n for <dev@dpdk.org>; Wed, 6 Jan 2021 04:46:51 +0100 (CET)", "from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.59])\n by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4D9Zyr05NJz78pn\n for <dev@dpdk.org>; Wed, 6 Jan 2021 11:45:56 +0800 (CST)", "from localhost.localdomain (10.69.192.56) by\n DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id\n 14.3.498.0; Wed, 6 Jan 2021 11:46:46 +0800" ], "From": "Lijun Ou <oulijun@huawei.com>", "To": "<ferruh.yigit@intel.com>", "CC": "<dev@dpdk.org>", "Date": "Wed, 6 Jan 2021 11:46:32 +0800", "Message-ID": "<1609904792-63280-7-git-send-email-oulijun@huawei.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1609904792-63280-1-git-send-email-oulijun@huawei.com>", "References": "<1607846585-2381-1-git-send-email-oulijun@huawei.com>\n <1609904792-63280-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/6] net/hns3: remove unnecessary memset", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "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": "The hns3_cmd_desc has memset when setup and the memset\nfor req is unnecessary.\n\nSigned-off-by: Lijun Ou <oulijun@huawei.com>\n---\n drivers/net/hns3/hns3_rss.c | 5 -----\n 1 file changed, 5 deletions(-)", "diff": "diff --git a/drivers/net/hns3/hns3_rss.c b/drivers/net/hns3/hns3_rss.c\nindex e2f0468..b5df374 100644\n--- a/drivers/net/hns3/hns3_rss.c\n+++ b/drivers/net/hns3/hns3_rss.c\n@@ -633,16 +633,11 @@ hns3_set_rss_tc_mode(struct hns3_hw *hw)\n static void\n hns3_rss_tuple_uninit(struct hns3_hw *hw)\n {\n-\tstruct hns3_rss_input_tuple_cmd *req;\n \tstruct hns3_cmd_desc desc;\n \tint ret;\n \n \thns3_cmd_setup_basic_desc(&desc, HNS3_OPC_RSS_INPUT_TUPLE, false);\n \n-\treq = (struct hns3_rss_input_tuple_cmd *)desc.data;\n-\n-\tmemset(req, 0, sizeof(struct hns3_rss_tuple_cfg));\n-\n \tret = hns3_cmd_send(hw, &desc, 1);\n \tif (ret) {\n \t\thns3_err(hw, \"RSS uninit tuple failed %d\", ret);\n", "prefixes": [ "v2", "6/6" ] }{ "id": 86006, "url": "