Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/138075/?format=api
https://patches.dpdk.org/api/patches/138075/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20240307030247.599394-4-haijie1@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": "<20240307030247.599394-4-haijie1@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20240307030247.599394-4-haijie1@huawei.com", "date": "2024-03-07T03:02:43", "name": "[v5,3/7] net/hns3: fix dump counter of registers", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "66c331e7caa11b2f586616c47e8a9557150bcf26", "submitter": { "id": 2935, "url": "https://patches.dpdk.org/api/people/2935/?format=api", "name": "Jie Hai", "email": "haijie1@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/20240307030247.599394-4-haijie1@huawei.com/mbox/", "series": [ { "id": 31410, "url": "https://patches.dpdk.org/api/series/31410/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=31410", "date": "2024-03-07T03:02:40", "name": "support dump reigser names and filter them", "version": 5, "mbox": "https://patches.dpdk.org/series/31410/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/138075/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/138075/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 (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 2E67543B5E;\n\tThu, 7 Mar 2024 04:07:26 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 1EC1642E5B;\n\tThu, 7 Mar 2024 04:07:11 +0100 (CET)", "from szxga06-in.huawei.com (szxga06-in.huawei.com [45.249.212.32])\n by mails.dpdk.org (Postfix) with ESMTP id C9BCC42D87\n for <dev@dpdk.org>; Thu, 7 Mar 2024 04:07:05 +0100 (CET)", "from mail.maildlp.com (unknown [172.19.88.214])\n by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4TqvMg4Vrwz27g4P\n for <dev@dpdk.org>; Thu, 7 Mar 2024 11:06:23 +0800 (CST)", "from kwepemd100004.china.huawei.com (unknown [7.221.188.31])\n by mail.maildlp.com (Postfix) with ESMTPS id 2371C1A016C\n for <dev@dpdk.org>; Thu, 7 Mar 2024 11:07:04 +0800 (CST)", "from localhost.localdomain (10.67.165.2) by\n kwepemd100004.china.huawei.com (7.221.188.31) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.2.1258.28; Thu, 7 Mar 2024 11:07:03 +0800" ], "From": "Jie Hai <haijie1@huawei.com>", "To": "<dev@dpdk.org>, Yisen Zhuang <yisen.zhuang@huawei.com>, Chengchang Tang\n <tangchengchang@huawei.com>, Lijun Ou <oulijun@huawei.com>, Chunsong Feng\n <fengchunsong@huawei.com>, \"Wei Hu (Xavier)\" <xavier.huwei@huawei.com>, \"Min\n Hu (Connor)\" <humin29@huawei.com>, Ferruh Yigit <ferruh.yigit@intel.com>,\n Huisong Li <lihuisong@huawei.com>", "CC": "<fengchengwen@huawei.com>, <haijie1@huawei.com>", "Subject": "[PATCH v5 3/7] net/hns3: fix dump counter of registers", "Date": "Thu, 7 Mar 2024 11:02:43 +0800", "Message-ID": "<20240307030247.599394-4-haijie1@huawei.com>", "X-Mailer": "git-send-email 2.30.0", "In-Reply-To": "<20240307030247.599394-1-haijie1@huawei.com>", "References": "<20231214015650.3738578-1-haijie1@huawei.com>\n <20240307030247.599394-1-haijie1@huawei.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Originating-IP": "[10.67.165.2]", "X-ClientProxiedBy": "dggems701-chm.china.huawei.com (10.3.19.178) To\n kwepemd100004.china.huawei.com (7.221.188.31)", "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" }, "content": "Since the driver dumps the queue interrupt registers according\nto the intr_tqps_num, the counter should be the same.\n\nFixes: acb3260fac5c (\"net/hns3: fix dump register out of range\")\nFixes: 936eda25e8da (\"net/hns3: support dump register\")\n\nSigned-off-by: Jie Hai <haijie1@huawei.com>\nCc: stable@dpdk.org\n---\n drivers/net/hns3/hns3_regs.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/hns3/hns3_regs.c b/drivers/net/hns3/hns3_regs.c\nindex be1be6a89c94..d77170481a3d 100644\n--- a/drivers/net/hns3/hns3_regs.c\n+++ b/drivers/net/hns3/hns3_regs.c\n@@ -135,7 +135,7 @@ hns3_get_regs_length(struct hns3_hw *hw, uint32_t *length)\n \ttqp_intr_lines = sizeof(tqp_intr_reg_addrs) / REG_LEN_PER_LINE + 1;\n \n \tlen = (cmdq_lines + common_lines + ring_lines * hw->tqps_num +\n-\t tqp_intr_lines * hw->num_msi) * REG_NUM_PER_LINE;\n+\t tqp_intr_lines * hw->intr_tqps_num) * REG_NUM_PER_LINE;\n \n \tif (!hns->is_vf) {\n \t\tret = hns3_get_regs_num(hw, ®s_num_32_bit, ®s_num_64_bit);\n", "prefixes": [ "v5", "3/7" ] }{ "id": 138075, "url": "