From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9BFCBA0544; Sat, 28 May 2022 04:21:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4C71240E78; Sat, 28 May 2022 04:21:17 +0200 (CEST) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by mails.dpdk.org (Postfix) with ESMTP id 29DAC40DDB for ; Sat, 28 May 2022 04:21:16 +0200 (CEST) Received: from kwepemi500012.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4L954C4CvrzjX1F for ; Sat, 28 May 2022 10:20:27 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by kwepemi500012.china.huawei.com (7.221.188.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Sat, 28 May 2022 10:21:13 +0800 From: "Min Hu (Connor)" To: CC: "Min Hu (Connor)" Subject: [PATCH v2 0/4] support HW Rx/Tx descriptor dump Date: Sat, 28 May 2022 10:19:53 +0800 Message-ID: <20220528021957.53988-1-humin29@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220527023351.40577-1-humin29@huawei.com> References: <20220527023351.40577-1-humin29@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemi500012.china.huawei.com (7.221.188.12) X-CFilter-Loop: Reflected X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This patch set support HW Rx/Tx descriptor dump by using procinfo tool. Min Hu (Connor) (4): ethdev: introduce ethdev HW desc dump PI net/hns3: rename hns3 dump files net/hns3: support Rx/Tx bd dump app/procinfo: support descriptor dump app/proc-info/main.c | 81 +++++++++++++++++++ doc/guides/rel_notes/release_22_07.rst | 6 ++ .../hns3/{hns3_ethdev_dump.c => hns3_dump.c} | 66 ++++++++++++++- drivers/net/hns3/hns3_dump.h | 17 ++++ drivers/net/hns3/hns3_ethdev.c | 3 + drivers/net/hns3/hns3_ethdev.h | 1 - drivers/net/hns3/hns3_ethdev_vf.c | 3 + drivers/net/hns3/meson.build | 2 +- lib/ethdev/ethdev_driver.h | 42 ++++++++++ lib/ethdev/rte_ethdev.c | 44 ++++++++++ lib/ethdev/rte_ethdev.h | 44 ++++++++++ lib/ethdev/version.map | 2 + 12 files changed, 308 insertions(+), 3 deletions(-) rename drivers/net/hns3/{hns3_ethdev_dump.c => hns3_dump.c} (93%) create mode 100644 drivers/net/hns3/hns3_dump.h --- v2: * add 'const' for ethdev. -- 2.33.0