Cover Detail
Show a cover letter.
GET /api/covers/660/?format=api
http://patches.dpdk.org/api/covers/660/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/20240220105823.570841-1-haijie1@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": "<20240220105823.570841-1-haijie1@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20240220105823.570841-1-haijie1@huawei.com", "date": "2024-02-20T10:58:16", "name": "[v3,0/7] support dump reigser names and filter them", "submitter": { "id": 2935, "url": "http://patches.dpdk.org/api/people/2935/?format=api", "name": "Jie Hai", "email": "haijie1@huawei.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/cover/20240220105823.570841-1-haijie1@huawei.com/mbox/", "series": [ { "id": 31148, "url": "http://patches.dpdk.org/api/series/31148/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31148", "date": "2024-02-20T10:58:16", "name": "support dump reigser names and filter them", "version": 3, "mbox": "http://patches.dpdk.org/series/31148/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/660/comments/", "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 99C9C43B53;\n\tTue, 20 Feb 2024 12:02:38 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6C2E7402D1;\n\tTue, 20 Feb 2024 12:02:38 +0100 (CET)", "from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190])\n by mails.dpdk.org (Postfix) with ESMTP id 5A0C6402D1\n for <dev@dpdk.org>; Tue, 20 Feb 2024 12:02:37 +0100 (CET)", "from mail.maildlp.com (unknown [172.19.163.44])\n by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4TfGfy26F5z1xp53;\n Tue, 20 Feb 2024 19:01:14 +0800 (CST)", "from kwepemd100004.china.huawei.com (unknown [7.221.188.31])\n by mail.maildlp.com (Postfix) with ESMTPS id CD130140118;\n Tue, 20 Feb 2024 19:02:35 +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_128_GCM_SHA256) id\n 15.2.1258.28; Tue, 20 Feb 2024 19:02:35 +0800" ], "From": "Jie Hai <haijie1@huawei.com>", "To": "<dev@dpdk.org>", "CC": "<lihuisong@huawei.com>, <fengchengwen@huawei.com>,\n <liuyonglong@huawei.com>, <huangdengdui@huawei.com>, <ferruh.yigit@amd.com>", "Subject": "[PATCH v3 0/7] support dump reigser names and filter them", "Date": "Tue, 20 Feb 2024 18:58:16 +0800", "Message-ID": "<20240220105823.570841-1-haijie1@huawei.com>", "X-Mailer": "git-send-email 2.30.0", "In-Reply-To": "<20231214015650.3738578-1-haijie1@huawei.com>", "References": "<20231214015650.3738578-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": "dggems706-chm.china.huawei.com (10.3.19.183) 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": "The registers can be dumped through the API rte_eth_dev_get_reg_info.\nHowever, only register values are exported, which is inconvenient\nfor users to interpret. Therefore, an extension of the structure\n\"rte_dev_reg_info\" and a new API rte_eth_dev_get_reg_info_ext\nis added to support the capability of exporting the name of the\ncorresponding register and filtering by names.\n\nThe hns3 driver and telemetry are examples for that.\n\n--\nv3:\n1. fix mispellings.\n2. use snprintf instead of sprintf.\n3. add more comment on rte_eth_dev_get_reg_info_ext.\n4. add __rte_experimental.\n5. add version map.\n\nv2:\n1. fix compile error.\n2. add new API to support it instead of the old one.\n3. split patches on hns3 driver.\n\nJie Hai (7):\n ethdev: support report register names and filter\n ethdev: add telemetry cmd for registers\n net/hns3: fix dump counter of registers\n net/hns3: remove dump format of registers\n net/hns3: add names for registers\n net/hns3: support filter directly accessed registers\n net/hns3: support filter dump of registers\n\n doc/guides/rel_notes/release_24_03.rst | 9 +\n drivers/net/hns3/hns3_regs.c | 1359 +++++++++++++++++++++---\n lib/ethdev/rte_dev_info.h | 11 +\n lib/ethdev/rte_ethdev.c | 36 +\n lib/ethdev/rte_ethdev.h | 28 +\n lib/ethdev/rte_ethdev_telemetry.c | 126 +++\n lib/ethdev/version.map | 1 +\n 7 files changed, 1397 insertions(+), 173 deletions(-)" }{ "id": 660, "url": "