Message ID | 20221006120514.28830-1-liudongdong3@huawei.com (mailing list archive) |
---|---|
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]) by inbox.dpdk.org (Postfix) with ESMTP id 0FA6EA00C2; Thu, 6 Oct 2022 14:07:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C7E6F42C3C; Thu, 6 Oct 2022 14:07:04 +0200 (CEST) Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by mails.dpdk.org (Postfix) with ESMTP id 7CEE142B70 for <dev@dpdk.org>; Thu, 6 Oct 2022 14:07:03 +0200 (CEST) Received: from kwepemi500017.china.huawei.com (unknown [172.30.72.54]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4Mjqql46whzJmxT; Thu, 6 Oct 2022 20:04:35 +0800 (CST) Received: from localhost.localdomain (10.28.79.22) by kwepemi500017.china.huawei.com (7.221.188.110) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 6 Oct 2022 20:07:00 +0800 From: Dongdong Liu <liudongdong3@huawei.com> To: <dev@dpdk.org>, <thomas@monjalon.net>, <ferruh.yigit@amd.com>, <andrew.rybchenko@oktetlabs.ru>, <stephen@networkplumber.org>, <mdr@ashroe.eu>, <reshma.pattan@intel.com> CC: Dongdong Liu <liudongdong3@huawei.com> Subject: [PATCH v5 0/3] support ethdev Rx/Tx descriptor dump Date: Thu, 6 Oct 2022 20:05:11 +0800 Message-ID: <20221006120514.28830-1-liudongdong3@huawei.com> X-Mailer: git-send-email 2.22.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.28.79.22] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemi500017.china.huawei.com (7.221.188.110) X-CFilter-Loop: Reflected 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>, <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>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
support ethdev Rx/Tx descriptor dump
|
|
Message
Dongdong Liu
Oct. 6, 2022, 12:05 p.m. UTC
Support ethdev Rx/Tx descriptor dump by using procinfo tool. Thanks to Ferruh, Andrew and Reshma help to review the patchset. NOTE: October 1st to October 7th is China's National Day holiday. I don't have a test environment available at the moment. I will test this patchset on October 8th. Current compile is ok. v4->v5: - Rename the Rx/Tx descriptor dump API and provide 'offset' parameter. - Refactor procinfo dump descriptor code as Reshma suggested. v3->v4: - Modify the desc dump API to dump specified number of descriptors. - Modify the hn3 pmd implementation and procinfo part Dongdong Liu (3): ethdev: introduce ethdev desc dump API net/hns3: support Rx/Tx bd dump app/procinfo: support descriptor dump app/proc-info/main.c | 80 +++++++++++++++++++++++ doc/guides/rel_notes/release_22_11.rst | 6 ++ drivers/net/hns3/hns3_dump.c | 88 ++++++++++++++++++++++++++ drivers/net/hns3/hns3_dump.h | 5 ++ drivers/net/hns3/hns3_ethdev.c | 2 + drivers/net/hns3/hns3_ethdev_vf.c | 2 + lib/ethdev/ethdev_driver.h | 53 ++++++++++++++++ lib/ethdev/rte_ethdev.c | 52 +++++++++++++++ lib/ethdev/rte_ethdev.h | 55 ++++++++++++++++ lib/ethdev/version.map | 2 + 10 files changed, 345 insertions(+) -- 2.22.0
Comments
On 10/6/2022 1:05 PM, Dongdong Liu wrote: > Support ethdev Rx/Tx descriptor dump by using procinfo tool. > > Thanks to Ferruh, Andrew and Reshma help to review the patchset. > > NOTE: > October 1st to October 7th is China's National Day holiday. > I don't have a test environment available at the moment. > I will test this patchset on October 8th. Current compile is ok. > > v4->v5: > - Rename the Rx/Tx descriptor dump API and provide 'offset' parameter. > - Refactor procinfo dump descriptor code as Reshma suggested. > > v3->v4: > - Modify the desc dump API to dump specified number of descriptors. > - Modify the hn3 pmd implementation and procinfo part > > Dongdong Liu (3): > ethdev: introduce ethdev desc dump API > net/hns3: support Rx/Tx bd dump > app/procinfo: support descriptor dump > I will wait review from Reshma for procinfo, but will merge rest to make them available for -rc1, procinfo can get after -rc1, Except from procinfo patch, 3/3, Series applied to dpdk-next-net/main, thanks. Release notes and .map file order updated while merging.
On 2022/10/7 0:42, Ferruh Yigit wrote: > On 10/6/2022 1:05 PM, Dongdong Liu wrote: >> Support ethdev Rx/Tx descriptor dump by using procinfo tool. >> >> Thanks to Ferruh, Andrew and Reshma help to review the patchset. >> >> NOTE: >> October 1st to October 7th is China's National Day holiday. >> I don't have a test environment available at the moment. >> I will test this patchset on October 8th. Current compile is ok. I have tested the patchset and it works ok. >> >> v4->v5: >> - Rename the Rx/Tx descriptor dump API and provide 'offset' parameter. >> - Refactor procinfo dump descriptor code as Reshma suggested. >> >> v3->v4: >> - Modify the desc dump API to dump specified number of descriptors. >> - Modify the hn3 pmd implementation and procinfo part >> >> Dongdong Liu (3): >> ethdev: introduce ethdev desc dump API >> net/hns3: support Rx/Tx bd dump >> app/procinfo: support descriptor dump >> > > I will wait review from Reshma for procinfo, but will merge rest to make > them available for -rc1, procinfo can get after -rc1, > > Except from procinfo patch, 3/3, > Series applied to dpdk-next-net/main, thanks. > > > Release notes and .map file order updated while merging. Thanks for the work. I have sent out the below patchset for the procinfo. [PATCH v9 0/8] app/procinfo: add some extended features https://patches.dpdk.org/project/dpdk/list/?series=25048 [v9,7/8] app/procinfo: support descriptor dump https://patches.dpdk.org/project/dpdk/patch/20221008105353.18195-8-liudongdong3@huawei.com/ Thanks, Dongdong. > > . >