Message ID | 20220601074930.10313-1-humin29@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 AFBE7A0548; Wed, 1 Jun 2022 09:50:51 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9688040A87; Wed, 1 Jun 2022 09:50:51 +0200 (CEST) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by mails.dpdk.org (Postfix) with ESMTP id CDA3440689 for <dev@dpdk.org>; Wed, 1 Jun 2022 09:50:50 +0200 (CEST) Received: from kwepemi500012.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4LChBZ2B9bzjXGR for <dev@dpdk.org>; Wed, 1 Jun 2022 15:49:58 +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; Wed, 1 Jun 2022 15:50:48 +0800 From: "Min Hu (Connor)" <humin29@huawei.com> To: <dev@dpdk.org> Subject: [PATCH v3 0/4] support HW Rx/Tx descriptor dump Date: Wed, 1 Jun 2022 15:49:26 +0800 Message-ID: <20220601074930.10313-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: dggems701-chm.china.huawei.com (10.3.19.178) 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 <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 HW Rx/Tx descriptor dump
|
|
Message
humin (Q)
June 1, 2022, 7:49 a.m. UTC
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 | 7 ++ .../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, 309 insertions(+), 3 deletions(-) rename drivers/net/hns3/{hns3_ethdev_dump.c => hns3_dump.c} (93%) create mode 100644 drivers/net/hns3/hns3_dump.h --- v3: * fix desc id handling. v2: * add 'const' for ethdev.
Comments
Again, please, add maintainers using --cc-cmd or --to-cmd to patches. Also, don't forget to keep in Cc participants of the discussion. On 6/1/22 10:49, Min Hu (Connor) wrote: > 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 | 7 ++ > .../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, 309 insertions(+), 3 deletions(-) > rename drivers/net/hns3/{hns3_ethdev_dump.c => hns3_dump.c} (93%) > create mode 100644 drivers/net/hns3/hns3_dump.h > --- > v3: > * fix desc id handling. > > v2: > * add 'const' for ethdev.
Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> writes: > Again, please, add maintainers using --cc-cmd or --to-cmd to patches. > Also, don't forget to keep in Cc participants of the discussion. And you can add my Acked-by to 1/4. > On 6/1/22 10:49, Min Hu (Connor) wrote: >> 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 | 7 ++ >> .../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, 309 insertions(+), 3 deletions(-) >> rename drivers/net/hns3/{hns3_ethdev_dump.c => hns3_dump.c} (93%) >> create mode 100644 drivers/net/hns3/hns3_dump.h >> --- >> v3: >> * fix desc id handling. >> v2: >> * add 'const' for ethdev.
On 6/1/22 21:26, Andrew Rybchenko wrote: > Again, please, add maintainers using --cc-cmd or --to-cmd to patches. > Also, don't forget to keep in Cc participants of the discussion. > > On 6/1/22 10:49, Min Hu (Connor) wrote: >> This patch set support HW Rx/Tx descriptor dump by using procinfo tool. One more thing. I'd remove HW from the description. Format is undefined and driver can log any kind of information related to particular descriptor. Just highlight that the dupmp format is vendor-specific. >> >> 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 | 7 ++ >> .../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, 309 insertions(+), 3 deletions(-) >> rename drivers/net/hns3/{hns3_ethdev_dump.c => hns3_dump.c} (93%) >> create mode 100644 drivers/net/hns3/hns3_dump.h >> --- >> v3: >> * fix desc id handling. >> >> v2: >> * add 'const' for ethdev. >
Hi Andrew On 2022/6/2 2:26, Andrew Rybchenko wrote: > Again, please, add maintainers using --cc-cmd or --to-cmd to patches. > Also, don't forget to keep in Cc participants of the discussion. Thanks for remind this, will do. Thanks, Dongdong > > On 6/1/22 10:49, Min Hu (Connor) wrote: >> 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 | 7 ++ >> .../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, 309 insertions(+), 3 deletions(-) >> rename drivers/net/hns3/{hns3_ethdev_dump.c => hns3_dump.c} (93%) >> create mode 100644 drivers/net/hns3/hns3_dump.h >> --- >> v3: >> * fix desc id handling. >> >> v2: >> * add 'const' for ethdev. > > . >
On 2022/6/2 2:48, Ray Kinsella wrote: > > Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> writes: > >> Again, please, add maintainers using --cc-cmd or --to-cmd to patches. >> Also, don't forget to keep in Cc participants of the discussion. > > And you can add my Acked-by to 1/4. will do, Thanks, Dongdong > >> On 6/1/22 10:49, Min Hu (Connor) wrote: >>> 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 | 7 ++ >>> .../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, 309 insertions(+), 3 deletions(-) >>> rename drivers/net/hns3/{hns3_ethdev_dump.c => hns3_dump.c} (93%) >>> create mode 100644 drivers/net/hns3/hns3_dump.h >>> --- >>> v3: >>> * fix desc id handling. >>> v2: >>> * add 'const' for ethdev. > >