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 DA0FD45A02; Sun, 22 Sep 2024 23:28:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C6EEA4028E; Sun, 22 Sep 2024 23:28:24 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2074.outbound.protection.outlook.com [40.107.94.74]) by mails.dpdk.org (Postfix) with ESMTP id B01BE4027D for ; Sun, 22 Sep 2024 23:28:22 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=X/UKQ0CnfM5N2cKql2zgjfWCqStKxd6LRY3dfX+u/Dgnh37wNKmkJ384OOHdG5BxItB4C9Xim/PH/O95ZvDm5krgvjOa5vao6CrS99DGSEXj7TD+W2ToEZtQR2JuWfBxtDyBTrFYOobCZOjpBiZ+JQRjZTXVMt4GTYYyNnDH8oK1RUfqvsAc9hLTQHwGImCSwVx+8bR7zSziBpCSXPZcC2X7gn72BqnUfSNkVgwMYgriGC/ZZSlkiqc15lbRRdbrntXcOk0qVTjg8FMo0K8FLKiDlKRQQuaTSNfjm6zXrslcPMkz9joLFfnInN0/wMhvSncLXGMtoOXMDMwj8y5iMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=h+lIl18zAHasTo41lTyHWZv4vsiV7R9E4reu3Qgiip0=; b=dQq0HjMiBiAOAc2614yN4i+NpDnRNEIk/g188MOzBrobQ6S9TdKKHxNBYBTgaW2Q0hsnCjXJBdKtqAMJDs9UV7+1aVxocPw+v5uaMktG4EtnxbnOFrXSb3xLL7GkbOaMyE/1DJC1Spdyk1Uy2JPo3qoJcmwT70BBk/kAvB/7LOTORDK8nxtpguqEakZqUMiuvNCsxUX4kfdynhtZclN7WQbhSmwL2PK+vy+ibQG/cixExQy4jNBd7PQ5VVXxF8QOjyaHOF9Gi6ZQhMv9n1OJNRuUJ9+/Hzlc1t6BpfmhLrBKZPk7ZErab5lz1EbdTQUn8Gy4LufwRVoPYpUwFztU1A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=h+lIl18zAHasTo41lTyHWZv4vsiV7R9E4reu3Qgiip0=; b=w3SKLXkHr/XMcAWw23L8YDZp8i49X42onbMx/xUFu3UDHg2dwfMvQioiwyIhHMUHpRy4HmeK0Q1WBsJMFarA5lCO+NENfmXgG4spffiZRIGjXElxPAon237wCPeu9xPqVg2tO3agk3CFIJ78boQD5mO9c+EpwzqL6DG62yc1O50= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from SJ2PR12MB8830.namprd12.prod.outlook.com (2603:10b6:a03:4d0::9) by BL1PR12MB5804.namprd12.prod.outlook.com (2603:10b6:208:394::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.25; Sun, 22 Sep 2024 21:28:20 +0000 Received: from SJ2PR12MB8830.namprd12.prod.outlook.com ([fe80::c3eb:df02:eaa9:2055]) by SJ2PR12MB8830.namprd12.prod.outlook.com ([fe80::c3eb:df02:eaa9:2055%4]) with mapi id 15.20.7982.022; Sun, 22 Sep 2024 21:28:19 +0000 Message-ID: Date: Sun, 22 Sep 2024 22:28:12 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 2/8] ethdev: add telemetry cmd for registers To: Jie Hai , dev@dpdk.org, thomas@monjalon.net, andrew.rybchenko@oktetlabs.ru Cc: lihuisong@huawei.com, fengchengwen@huawei.com References: <20231214015650.3738578-1-haijie1@huawei.com> <20240914071320.1982-1-haijie1@huawei.com> <20240914071320.1982-3-haijie1@huawei.com> Content-Language: en-US From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYj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PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20240914071320.1982-3-haijie1@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P123CA0038.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600::26) To SN7PR12MB8818.namprd12.prod.outlook.com (2603:10b6:806:34b::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR12MB8830:EE_|BL1PR12MB5804:EE_ X-MS-Office365-Filtering-Correlation-Id: 5d1b6b26-af5b-46ea-bee4-08dcdb4d7a36 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?B?dS9URjFkYUp5czByWVlVZnJOTFRlc00vWms2Mmp4ZitmRmEyeVFLbDg1OXVO?= =?utf-8?B?TjFsTnR1Z3A2dzNXN1lWdGJiRlE2ejRXODRyZHZqWFl3WDAxNThBRXo4Z3Vo?= =?utf-8?B?a2RuRWNtdUlrcjRqTzgyeTNqc01Qd01JbnUzWk80VXNtSFVscEFQbVRCZUJm?= =?utf-8?B?WkZoZ09BYUFGSWxEaTg5ZjFLdDN6dHhtRGo3UGg3YTgrWThFZzFiTHYrQkw0?= =?utf-8?B?c0pXaVdSaSs1QS84My9LUUtIYXVNZ1U0QnBOb3RpZk4zZ3FmZEdDUVg0SW9I?= =?utf-8?B?UlhUM3VBSnd0UjNVVllBSmRzSE1zN0RvelJQQUtUeUNZbXdIZjhudThadkxt?= =?utf-8?B?QlRzK1lBeFVXQjBYMjVXTTVCS1hZOGZ3N3FYemtjc3hlQkdaOTdldUE0ZW52?= =?utf-8?B?SVJYZllrV3JUektTNkM1ckhPMlVhWURCd21iUDhmcGJHT1NEZGpaQ2JiTWZG?= =?utf-8?B?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S9vQXdkd1BQeDBU?= =?utf-8?B?eHU3OWZjbTRQUVJWaDY0SDZVUUFNZjRaSHcvdnJkS0hVbXRyRTRKaDdDdmgz?= =?utf-8?B?M3pMeVIwQU5lR3hNVDE1VGtNdklpcHNSWWp1TTArMVFhTUs4VmNxM3Zkbzdm?= =?utf-8?B?ckJNUVc3RER4R3hQTldIMEhkY0RkdUQzK2s5V0QzVHV5bEZvWkk2eGtmb3Rt?= =?utf-8?B?VXppTjhCY3Q2Y2RPTHllNC9sNmVuVzJEaHhvTUFDa2YrWTBqTitqWnpPMjlm?= =?utf-8?B?ZkV5TFM5SEViT3p3TnlOZEZVckcrMXBRSXZBeFpJajRuK01EVWxxM045ejZq?= =?utf-8?B?NGJJTFhWekpmTEoyZzVhRGg4c2J3UjhSbVIvaDQwZEFlNmkvQXVQUDJRPT0=?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ2PR12MB8830.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VzNLYkhIZHVWd3VDamFvcW05T1laY3A2TzhnQTYyUSsyT01YQ3R4aDZKUmh5?= =?utf-8?B?Z0lGY3VKY2JkUGxwUWpjUDFxOFE1b0gzMTRKVUs0ZTA5empoMyt1YnFkSGJl?= =?utf-8?B?Ymh3eE5GL1RlNGlibGpqUWR3NUw4T3BMM3lVaEdCUlBSQ2REVmJqUWVSNTJt?= =?utf-8?B?RXdmS3pwSkZXYjVVd2VhQUk0Z3BqTno1UEs2QTJUU1pOVUZkeDIrTGlNNWU5?= =?utf-8?B?b3VEQnlySGFJVVRVdlNVMTlNRkVmUFZWdk11NUZnM1EwREsvUkFmcWduUmY4?= =?utf-8?B?WEpFSHBBSEU2KytWK2k3Q3cxMTF3OVF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w3g+C6rrKhB3A4a9jt+e8?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5d1b6b26-af5b-46ea-bee4-08dcdb4d7a36 X-MS-Exchange-CrossTenant-AuthSource: SN7PR12MB8818.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Sep 2024 21:28:19.9054 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: RISYiHobx8kipE60dhiXDsm7NK0cnyV/yfAAr6Q0R21PWDlBUkf3lDXKgszci2Bo X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5804 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 9/14/2024 8:13 AM, Jie Hai wrote: > This patch adds a telemetry command for registers dump, > and supports obtaining the registers of a specified module. > > In one way, the number of registers that can be exported > is limited by the number of elements carried by dict and > container. In another way, the length of the string > exported by telemetry is limited by MAX_OUTPUT_LEN. > Therefore, when the number of registers to be exported > exceeds, some information will be lost. Warn on the former > case. > > An example usage is shown below: > --> /ethdev/regs,0,ring > { > "/ethdev/regs": { > "registers_length": 318, > "registers_width": 4, > "register_offset": "0x0", > "version": "0x1140011", > "group_0": { > "Q0_ring_rx_bd_num": "0x0", > "Q0_ring_rx_bd_len": "0x0", > ... > }, > "group_1": { > ... > }, > ... > } > > Signed-off-by: Jie Hai > Reviewed-by: Ferruh Yigit