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 6AD42A00C2; Thu, 10 Feb 2022 13:37:52 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F3D09411AE; Thu, 10 Feb 2022 13:37:51 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 5A98F4013F for ; Thu, 10 Feb 2022 13:37:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644496670; x=1676032670; h=message-id:date:to:cc:references:from:subject: in-reply-to:content-transfer-encoding:mime-version; bh=e3h1pZdKmOhWzf9EiJhspYXg0ZS7uFC5QYRelA//XbI=; b=SVUWDaXgchxCaYONy1GYaxrdlOL+xGukC7w0+AR23EG6OCFj1mPN8RrP J9iLGytDg+IJKzUAYsTmNMhRC7HQNFF0WX0u6U7DRNPFny8xTOVBbDGSq qoVza1OP1X7WP72W+U0yBxnqRTWLGYTbODyWbg6y4uSSYS6bdGG7IHPW6 Y6f7KQmyNxrldSiHyAZ/qBrlydSWm5vXU7IRA+3phOTp+y5fKMAmZKPac wyZ1lCkoAQ9MWEjPcjxyC/k7VmVOk+XomSeVvDyX5ZBqSrir6FD2OtUas yj+5Sp0xqyOtNrwaPDNtzyrV6712ie++9iNExxn+98cRQZLagBIKaBYRC g==; X-IronPort-AV: E=McAfee;i="6200,9189,10253"; a="247064331" X-IronPort-AV: E=Sophos;i="5.88,358,1635231600"; d="scan'208";a="247064331" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2022 04:37:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,358,1635231600"; d="scan'208";a="541591301" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga008.jf.intel.com with ESMTP; 10 Feb 2022 04:37:48 -0800 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Thu, 10 Feb 2022 04:37:48 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Thu, 10 Feb 2022 04:37:48 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.101) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Thu, 10 Feb 2022 04:37:46 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JUo1dbYeTSXXDuksR3tcFeFDFR/Vrk+yQfNgRtjK1I2nBr5H/ANDj8nBCkH84Wxa/xIV0QWQQ/W7pF+xRqTXgHYYr7TQ95htiBFEUjuoU08gDwg5W5ii57BG6JkpEZY1JdCdUn5vtqODLGbQGbLeXVZcwXQJeY5AjsVEbONyso0Vm03NiUUCcM6IBfnshl//vPJXASjkmBlZGjP5fS9K3eQ2YclwczNX4zz22N4NTeqDtJ6Z/voyntkehjTj4175f4AG2OhWkuDTDtUAYYAuMfTu1Z/o0ppuR0CSwm/lLcpohauOaEKgBa83I0u6DXSjRn6MYBJHO8BWerPG1xWhZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vCrnpuI9IxCP5kI00CJIwCWn4Rd9h6iydIA07UX2jdI=; b=a8Akttzw7UYXczsfoHoUkhNzqfztOHeBAdPqPqJU1RWnc70bx6OxHcd7bR6NC9CWtaMu6BeX/6qxdWe/zIX819tzM52aCXQSs0jeERinPMY3+sKGKMDOHKhnghd+2Ev5R/AiNM7BQ1sUOdAFE9F/HK42b/4mFm9kR5FSFoZustVOugO1MPRlPxJU+638DtLFGE4urJxGboNjiw4Z7VM4/0ibtHs1DHFoiPkrDNqxFoh4hOwK/TAcGJjedm4a8pNTSu/rwfmcjPmt1u19E4f8CwMg088sxNN0snfSB5Vzeh8LAHsZNqemSH6aSWDsqf7Dd4yTZd2FTO6RwdmTdz5SmA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by CY4PR11MB1734.namprd11.prod.outlook.com (2603:10b6:903:125::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.17; Thu, 10 Feb 2022 12:37:44 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::98be:5506:5020:28a2]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::98be:5506:5020:28a2%4]) with mapi id 15.20.4975.011; Thu, 10 Feb 2022 12:37:44 +0000 Message-ID: <60e29397-888b-0132-25b9-e9d470be3a5d@intel.com> Date: Thu, 10 Feb 2022 12:37:39 +0000 Content-Language: en-US To: "Min Hu (Connor)" , CC: =?UTF-8?Q?Morten_Br=c3=b8rup?= , Ray Kinsella , Ajit Khaparde , Thomas Monjalon , Andrew Rybchenko , David Marchand References: <20220111115437.32855-1-humin29@huawei.com> <20220209012106.23404-1-humin29@huawei.com> From: Ferruh Yigit Subject: Re: [PATCH v3] ethdev: introduce dump API X-User: ferruhy In-Reply-To: <20220209012106.23404-1-humin29@huawei.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P265CA0013.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2ad::9) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8fae0f01-e588-4592-7fd1-08d9ec9222de X-MS-TrafficTypeDiagnostic: CY4PR11MB1734:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6wU4jCb0q0x9GAGE/fE+rH1sFH/N6YfQXjseHbLmxGCoOCZ5XqMWBr/H2iSeEIZQ3zPc2QJAErwmjrYi5XsBgPJbZtOPnLaoMpLwzMmUwBjAJE/avoUJ6j6RNj0weK06qRG5nhTOMeWO7oZUbm9RJB3CaU0HOGo1tV19f3Mw84JvUQlgvYin1kAMQEfMxTNRtOEivbtFb2pZzmujvXmeNUiwUnnaJwlEiHQuZG3v279hRbLTpN1zhYtO4s+PwVLrGOXM//dhjhdkOmpzBGWlrNtygcOKqtHgIGWkfGIxEJkMKHqluDoZxvddvjgXQOi6VSjBmJ20ALwzNelirWkel1CEF48wZd+Di8jIX370sVulvWcsSRl+ebsKrrzdzRXvY9sze/T6JkxdzCCAgQfhdE/DGdsQiWin4rxerAGxhpwqInPpVrgi+3clnukRcqzN6ASx3Hvlh4gR1seuTzdViBevuTyhewl1EXSC5+6bcpntT5X0V40eXWYRtdhKtazdnJcek7DXfnqFdNDyYDt5oqPOq4pyzZq8IqDSj0Ybd5/blBv+LONCnddmHoJn2W4laQu33WfMI8To8WfcGx4NV0qTpXz9b0iTCZ5VfWutSxUUSY2bWoSvWqGvuADtWIqo+JnXh1O5ki6EMfnVJluEd4FxXGjdYsF+SC491NuAzBRE+ipQfsNyBc7YjX8sqC4PyDyhQl25oM79U56QzuqzLQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(66574015)(2616005)(44832011)(508600001)(36756003)(2906002)(82960400001)(6486002)(31686004)(31696002)(53546011)(66556008)(5660300002)(186003)(86362001)(8936002)(66476007)(38100700002)(26005)(8676002)(4326008)(316002)(6512007)(6666004)(66946007)(83380400001)(54906003)(55236004)(6506007)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eVNVT2pIWHNYOXR3RHJMN015czdtUW11VUJiY2NoZUlDNE1HTmVKQTBUQUpz?= =?utf-8?B?N0N5bGNXOUE2c3pmZzVIVUVidHR4RUdGbVM5cVhwcGFhU2cycW1EZ2g2dkdu?= =?utf-8?B?RW9rdlQvcFRvTWFjWitydEd2K1dXRE55ODJpcUswSDhYTDdETDZaSmxwOE05?= =?utf-8?B?cmFBUUlWSG55cXd2V0hGaDVKR3lvS0hoNVlYZTNGbXQzeHNkaldBck5rbmFi?= =?utf-8?B?UGs5YnloT2dCak9scWpJK3JrUjExdGdmdzNlYzFSZXpqRmlxZFZ4dE01V05C?= =?utf-8?B?ZlBzTC91cXI5bWtYa21LU1ZRV2VYM3lqTmY3emY2aktHL29Vd2dkT0xvbXE4?= =?utf-8?B?TUpNa0JLSFpoMDJkQWM0V3hkeHA1eFhONmNOL1dvUjAyeHRBa3doaTlBcFdU?= =?utf-8?B?VTJSRFAyZVdsREhFeEZuMWpPN1E0OGM0c1NGeXE1VGRRM09STW9henJRVkQw?= =?utf-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: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Feb 2022 12:37:44.6210 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 1vKvPQW/YWWC1FmP3I8a85hnyJBNxFFAsPKAH4Xuexm+zgl8ouanXe1qDZ4zFWFdWyUsumJ3dwdFz5t1pSpfRQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1734 X-OriginatorOrg: intel.com 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 2/9/2022 1:21 AM, Min Hu (Connor) wrote: > Added the ethdev dump API which provides querying private info from ethdev. > There exists many private properties in different PMD drivers, 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) > Acked-by: Morten Brørup > Acked-by: Ray Kinsella > Acked-by: Ajit Khaparde > --- > v3: > * change 'ethdev' to 'device' > v2: > * fixed comments from Ferruh. > --- > doc/guides/rel_notes/release_22_03.rst | 7 +++++++ > lib/ethdev/ethdev_driver.h | 23 +++++++++++++++++++++++ > lib/ethdev/rte_ethdev.c | 17 +++++++++++++++++ > lib/ethdev/rte_ethdev.h | 20 ++++++++++++++++++++ > lib/ethdev/version.map | 3 +++ Btw, can you please confirm that there will be a PMD implementation in this release, (it can be after -rc1)? Because our policy requires at least one PMD implementation is implemented to accept a new API. (Thomas/David, please correct me if I remember the policy wrong)