From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id B4A2CA034D;
	Wed, 12 Jan 2022 13:06:09 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 30D18426FA;
	Wed, 12 Jan 2022 13:06:09 +0100 (CET)
Received: from mail-108-mta208.mxroute.com (mail-108-mta208.mxroute.com
 [136.175.108.208])
 by mails.dpdk.org (Postfix) with ESMTP id 15B7540040
 for <dev@dpdk.org>; Wed, 12 Jan 2022 13:06:07 +0100 (CET)
Received: from filter004.mxroute.com ([149.28.56.236] filter004.mxroute.com)
 (Authenticated sender: mN4UYu2MZsgR)
 by mail-108-mta208.mxroute.com (ZoneMTA) with ESMTPSA id
 17e4e2e486b000bdf2.001 for <dev@dpdk.org>
 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256);
 Wed, 12 Jan 2022 12:06:03 +0000
X-Zone-Loop: 504a5a7a2b8a52917d409e5ae99061b363b33de2dc11
X-Originating-IP: [149.28.56.236]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ashroe.eu; 
 s=x;
 h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:
 In-reply-to:Subject:Cc:To:From:References:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=VCE7L+QGln9qTB8e+C5yPHfr1DlBpOMeot8nyS7J/g8=; b=qnWGXeE4RRdDHu3pOPTZEO05UN
 g63F/CgrS0pse7FTy3TasA7T7JTCHgrryCjRIvaCMsw0eeGluinSxNcPLubr4fZp2q72iL35RKoya
 U3A1dlD/Ie3J6K5RR78kxs7RdK7zyyU5BUZTzDDF2WAPeyEd/B19YGPMRllHzTRAgZErKM6N/cnlS
 7fsrda+kCwFEqouN621nij0tnncbKhq9+RoBFV6EAlMZjTHyazNiXuBPUPQz+ZKsjh46OpJLPgkH2
 17AcgBuO6iv/OEvfcak+jc4Smo/U/WmdtB2SUBhUdToQk9Lh09FIxJ/M2rPSqu8/AmIP07kwz/FSH
 rZIibgpQ==;
References: <20220111115437.32855-1-humin29@huawei.com>
 <20220112111424.20594-1-humin29@huawei.com>
User-agent: mu4e 1.4.15; emacs 27.1
From: Ray Kinsella <mdr@ashroe.eu>
To: "Min Hu (Connor)" <humin29@huawei.com>
Cc: dev@dpdk.org, Morten =?utf-8?Q?Br=C3=B8rup?= <mb@smartsharesystems.com>,
 Thomas Monjalon <thomas@monjalon.net>, "Ferruh
 Yigit" <ferruh.yigit@intel.com>, Andrew Rybchenko
 <andrew.rybchenko@oktetlabs.ru>
Subject: Re: [RFC v3] ethdev: introduce ethdev dump API
In-reply-to: <20220112111424.20594-1-humin29@huawei.com>
Date: Wed, 12 Jan 2022 07:05:59 -0500
Message-ID: <87h7a9p3a0.fsf@mdr78.vserver.site>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-AuthUser: mdr@ashroe.eu
X-Zone-Spam-Resolution: no action
X-Zone-Spam-Status: No, score=-0.1, required=15, tests=[ARC_NA=0,
 URIBL_BLOCKED=0, FROM_HAS_DN=0, TO_DN_SOME=0, MIME_GOOD=-0.1,
 FROM_EQ_ENVFROM=0, MIME_TRACE=0, RCVD_COUNT_ZERO=0, RCPT_COUNT_FIVE=0,
 NEURAL_SPAM=0]
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


Min Hu (Connor) <humin29@huawei.com> writes:

> Added the ethdev dump API which provides functions for query private info
> from device. There exists many private properties in different PMD driver=
s,
> such as adapter state, Rx/Tx func algorithm in hns3 PMD. The information =
of
> these properties is important for debug. As the information is private,
> the new API is introduced.
>
> Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
> Acked-by: Morten Br=C3=83=C5=BErup <mb@smartsharesystems.com>
> ---
> v3:
> * fix comment.
> * add rte_eth_dev_priv_dump to version.map file.
>
> v2:
> * fix dump API name
> * adjust description in doc.
> ---
>  doc/guides/rel_notes/release_22_03.rst |  7 +++++++
>  lib/ethdev/ethdev_driver.h             | 17 +++++++++++++++++
>  lib/ethdev/rte_ethdev.c                | 15 +++++++++++++++
>  lib/ethdev/rte_ethdev.h                | 16 ++++++++++++++++
>  lib/ethdev/version.map                 |  3 +++
>  5 files changed, 58 insertions(+)
>

Acked-by: Ray Kinsella <mdr@ashroe.eu>