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 BEDC0A034C; Tue, 18 Jan 2022 16:35:05 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B12594273F; Tue, 18 Jan 2022 16:35:05 +0100 (CET) Received: from mail-il1-f179.google.com (mail-il1-f179.google.com [209.85.166.179]) by mails.dpdk.org (Postfix) with ESMTP id 8793842734 for ; Tue, 18 Jan 2022 16:35:04 +0100 (CET) Received: by mail-il1-f179.google.com with SMTP id e8so17866834ilm.13 for ; Tue, 18 Jan 2022 07:35:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=mvvQpv4kmvE/fjryOEeVc7I9FMzH19at1Ijzy0e8sWA=; b=iH/CHDqI3r2rK4vJ7jiLgfKlpD/GBsCuHh0iQjDdkkLXS3zCl+DOSjXSWF34Fs206g RGVAJVdZvBp+5aVriE6YLtrWmddQ6lWHJpjgQTE5ZoZE/2VjYFuIEC/lBLx7kiY66x69 7+ndT2kGalD8DhOhqe/ITfM49s/eIZHuuyzcc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=mvvQpv4kmvE/fjryOEeVc7I9FMzH19at1Ijzy0e8sWA=; b=LfbemEQfFG+a5hpaaMBmNfOz3AZ6Asp0oRcJwRmbAGmV7g9tNLg/y7mn1l6mwy4ovV ojGs9dCw9sbJqbBa12Va5rJi4czmPCty74n6ynaGtFg8MwH87k0+d1/kL5Ck22Pt1S3I 48+J864kTF8ptC+3M6BOD4PwaYpa3urEaWzJoQl2rK3R7TiBiHrPrqKBVVJiCxk4G7Pd 4tPGNGced4CG6hrLjQ68dlX+yjI23rjmUVzocWXvByMUzCMzqo628NxmvGouUxU9OTIT brOnnMK2x+7OK0HiTkTXF8jRjwm+ubkhvCColGwHUpTW/88OCT0cwYRskiAKps8zm8iS oYDw== X-Gm-Message-State: AOAM531H/VK92PMZnF496bx8VDRG5gM9N6UGpljlOUR2y6GCNoGoRGv7 1Bz/ekSlDVvOjiw+PWABWneD5/VTkmCIvcAhmXjkDA== X-Google-Smtp-Source: ABdhPJzf2IjQOOyixYRoc/t5/nfFCPuOa53EBjuC65tlJq+5rYv4CN6A2Yo/t7LPnRSQE+HxU65AOTBSDdcx9DcagM4= X-Received: by 2002:a05:6e02:1b8d:: with SMTP id h13mr14579331ili.26.1642520103892; Tue, 18 Jan 2022 07:35:03 -0800 (PST) MIME-Version: 1.0 References: <20220111115437.32855-1-humin29@huawei.com> <20220112111424.20594-1-humin29@huawei.com> <87h7a9p3a0.fsf@mdr78.vserver.site> In-Reply-To: <87h7a9p3a0.fsf@mdr78.vserver.site> From: Ajit Khaparde Date: Tue, 18 Jan 2022 07:34:47 -0800 Message-ID: Subject: Re: [RFC v3] ethdev: introduce ethdev dump API To: Ray Kinsella Cc: "Min Hu (Connor)" , dpdk-dev , =?UTF-8?Q?Morten_Br=C3=B8rup?= , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Wed, Jan 12, 2022 at 4:06 AM Ray Kinsella wrote: > > > Min Hu (Connor) writes: > > > Added the ethdev dump API which provides functions for query private in= fo > > from device. There exists many private properties in different PMD driv= ers, > > such as adapter state, Rx/Tx func algorithm in hns3 PMD. The informatio= n of > > these properties is important for debug. As the information is private, > > the new API is introduced. > > > > Signed-off-by: Min Hu (Connor) > > Acked-by: Morten Br=C3=83=C5=BErup > > --- > > 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 Acked-by: Ajit Khaparde