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 E9E2F45ACC; Sun, 6 Oct 2024 22:51:23 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C669D4042E; Sun, 6 Oct 2024 22:51:23 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2083.outbound.protection.outlook.com [40.107.93.83]) by mails.dpdk.org (Postfix) with ESMTP id 38E6E40268 for ; Sun, 6 Oct 2024 22:51:22 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=B10vdRM+/doN36gCjw1XGrllJo/LAzfGaJiDAs8rAUipXutGZYerv9nkK2zqLrIrOHSilgyP4lo8pRtxSHYLUDWqePMmbed8asTXwSIsK7fAivlNGSn0qQIWCsYKZo4ULiSQM+0iZ5E0BUnu+WANxY6Xf8k0LmPZ0YrHJ4c+ItLZCihSIvTVZjnR3WZLAJv1brjm++xs02GlEuitA+thJB3TY/1Xvj3D7PBYlOWeHUocz9N4bUc4nsspnhDrUk0HSes/81mG4crjyKoiXlLv1qc1T8KpJXWNc0u/4/Cxn0IgH2scjHKX0iG6Mnfqd6vIfwt8oWpaZImPDZfEozgE1Q== 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=nnNNMvfFg+qQjFvzEgdJ4E2TQ4v5xQr0loZJuo3plEQ=; b=Tn7+ljAHwqi5NVaTErbEyvYnESULMieVAwQe5wTwWvLw4ZxWsyQHzFIuD+UTDtd0FR5gJUD1GVwSy0BKn65wku9AYSlJq/hFje57PzNMFM5ajsFAdc/tBanP9LHceVBPLHInZRE8wWqL2KXqBr2d8F2perPnmKpkZTXQ9zSvcMjKa8htLZVGIyOaJ14aydoVfR8OJs8E/kSrMzw0dP+iGZ5dBYOzIU86+YNkgKoOoC2/2iskWfsbP29q7SVeJA66Z57Yx8uPiPGwj3vqkFZ4S2lUiIAT+irwKzwV1kTXOOnISvilYXCUBT82vPdsI+aBUd+mBV1pYHzqIkh6Cv2sqQ== 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=nnNNMvfFg+qQjFvzEgdJ4E2TQ4v5xQr0loZJuo3plEQ=; b=P00UEg4JhACXgt//BHI9H17i2m0ftzF9YpqHMFoaXeVeFVpZCSMEjVb4Gjk2WOYrmnG8OR+Ri9WfYJ7p/Let/RABc2Nn40pW97C2CsgwD+/qblPJv2f3kMFZfld7eZBRBX5R2r3NI8wgK+XUEcGJ3XfRwQdc65VW1h3WVVNg9Tc= 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 SJ0PR12MB6710.namprd12.prod.outlook.com (2603:10b6:a03:44c::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.22; Sun, 6 Oct 2024 20:51:19 +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.8026.020; Sun, 6 Oct 2024 20:51:18 +0000 Message-ID: <419d9a04-e733-44ab-b183-96ac7777d5b4@amd.com> Date: Sun, 6 Oct 2024 21:51:11 +0100 User-Agent: Mozilla Thunderbird Subject: Re: Per queue stats To: Stephen Hemminger Cc: Bruce Richardson , dev , Thomas Monjalon References: <20240904154206.13438-1-stephen@networkplumber.org> <31c8133f-fb10-4e2a-9b25-8a6f7557d87f@amd.com> <20241003192612.3c5055dd@hermes.local> <2782da8e-1de0-467c-8139-874184c470d2@amd.com> <20241004134056.25d9e361@hermes.local> 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 aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwUL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VrseA8c4VIZewdIjkzAhmmbxl+8rM/LKBH dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20241004134056.25d9e361@hermes.local> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0315.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:197::14) To SJ2PR12MB8830.namprd12.prod.outlook.com (2603:10b6:a03:4d0::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR12MB8830:EE_|SJ0PR12MB6710:EE_ X-MS-Office365-Filtering-Correlation-Id: cafe82d8-b31c-4fe6-73e4-08dce648a082 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?THVBSy9MbElHKy9TOG41RWowc1RaTlpGT2tQWVZuaGJSSXV3QlRuUEs4eWxL?= =?utf-8?B?bUZvLzJEZ1VUYTljR1Y4MVRBMUVUbkEzOGVYMGNsd014eTN3Z3hhSUsxMnVL?= =?utf-8?B?eDJCc2gxeUhQZy8wN204WElVOVNCWGtZc1RrYng0OW5RMzNtd3dqTktMeEll?= =?utf-8?B?UDh3YjBaM0IzSXdqUXZSRmMxKytjV3BIandNTTRvdlZUYWMybDBhYzVlNWZB?= =?utf-8?B?eDBRc01lVlE5dW1IOURRZWxvRGJLMGU5U0VEY0swZ0I1U01VUXZCUXVlRGU0?= =?utf-8?B?VWdLcFBXeTNHUlNjZ0RNUDh4T0VFQmZZRlRZUlJsQ3NTRk5PUmpSSlJCMXFr?= =?utf-8?B?YzRpV0RiSllaSXNXUmt2UEU3RGNINXdPWS9PRXdHVTVxcVRIeWNZb05QN1pS?= =?utf-8?B?OStqRjJxSGdRaUVySGVGRWVhdUNpTXJoQ2l1e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1bmhOVENpU2xyZkw4RzNVaks5QmMyNzhWSktWbkNTTDFEZWc1VWxD?= =?utf-8?B?eC9JaDQ3MFFBaW9NWHV6ejJudmg4WGJ1YVBjQzY5QVcxbXI3RSt3VmlVK1M3?= =?utf-8?B?cm5XVUhQVWVrbmlCY0ZzM3VwSEtTT0xYR0FEekxPZUNJRElFWWFiY1IwNCtp?= =?utf-8?B?aFhZZm1TSktobEx5Uzg0a1NsbDhySVNYOVcrdHNFYzZ4S2Q0OXNoN1l6U1Ba?= =?utf-8?B?dE5TL1JhQXJVWjV1UGlSa0tPUXVuY0tyTjJROUFoTGFRVWV4ajNqZVpma040?= =?utf-8?B?dHN6ajhESTZvYmNDZk1qWm9tM2Z2RS9FUFdnSDJPZUFtb1hyVkUxb1RvdGpv?= =?utf-8?B?K3piWkVxK2tQQWg4Qi9BOXZCLzlrYWp6UThVbHVBcUw0bHRBT2p6OC93PT0=?= 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)(1800799024)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TXg2Tmdmak5GdVJjTDlVc2MyRVNQWlgxalVEdE84N0tSVDBrRW5CcTNzTisy?= =?utf-8?B?c2dSMnhKZlZmR01uOG5STDgzNU5zSlBPVy96eGF0aGY2TFR0cDJtQ1V2ekdq?= =?utf-8?B?cFFnN2NBSzViWHExSlk5UmRld2RyanN6VVZVTTBESWNKQlNmOGVEd1N6d2c1?= =?utf-8?B?U1Qzb0pQQVQwS21pZi85TStUdFdoZEdIckNQYXBXZ0tCVUR4L0lQWGZSSlNt?= =?utf-8?B?L3g3dHhPdFZxM2JnTHMyek81WDB5ZGlaY1hyKy9zMTVSWTZNdUFBNzNFekRq?= =?utf-8?B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aG5tUm14TDhmaWU1dWpaYkQx?= =?utf-8?Q?cfVVVN1/JRLvUZF4ZoI9TIoFP?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: cafe82d8-b31c-4fe6-73e4-08dce648a082 X-MS-Exchange-CrossTenant-AuthSource: SJ2PR12MB8830.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Oct 2024 20:51:18.5648 (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: 6MQ57/l5aXpqtyM7yrKcP65jFmVKOjbwKCqRsOCUovP8dCHofTDVaSGJTxpJAeLz X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB6710 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 10/4/2024 9:40 PM, Stephen Hemminger wrote: > ... >>>>> The stats queue mapping was a feature that was hinted at being removed. >>>>> It only exists because of HW limitations on Intel ixgbe NIC and SW >>>>> limitations from RTE_ETHDEV_QUEUE_STAT_CNTRS. >>>>> >>>> >>>> >>>> We have a plan to remove 'RTE_ETHDEV_QUEUE_STAT_CNTRS', by moving queue >>>> stats to xstats. >>>> >>>> But ixgbe limitation is there. >>>> >>>>> Perhaps there should be a generic SW emulation for this the mapping? >>>>> >>>> >>>> Ack, cc'ed Bruce. >>>> But I am not sure ROI of the effort at this stage. >>> >>> Not sure what the specific ask for me is here. :-) Overall, I think moving >>> queue stats to xstats is the best way to go. >>> >> >> cc'ed because of "generic SW emulation" comment. >> >> I was thinking if this mapping can be done transparent to the user by >> driver mapping queue <-> stats_register before reading stats, but @Bruce >> let me know this won't work because the stats tracking only happens >> after the mapping. >> >> @Stephen, do you have something specific in your mind for SW emulation >> for mapping? > > Probably not worth doing mapping tables for SW drivers. > > My preference would be something like: > 1. Introduce new API's rte_ethdev_get_queue_stats() and rte_ethdev_reset_queue_stats(). > with callbacks in ethdev ops. > if driver does not support this, then do a shim in ethdev that uses old stats fields. > 2. Mark the stats mapping API's as deprecated and always return error. > Making special case for ixgbe at this point really is not worth maintaining. > 3. After all drivers converted over, drop the fields in ethdev stats for queues. > And fix the examples, etc. Yes this would be a big API change. > > Would take a year to get done (ie 25.11). > The problem with existing a API, 'rte_eth_stats_get()', is it has queue stats fixed sized array which limits us also for some cases causes unnecessary memory consumption. Our solution for now is move queue stats to xstats, as it is flexible this solves the problem, but as you said in other thread xstats is free form and may be hard for the application to use it. One option is we can add some more data to the xstats, to help application to consume it easier, like number of queues just before the queue stats and define queue stats formatting syntax. But if we will go with API option, instead of adding new queue stats ('rte_ethdev_get_queue_stats()'), we can update the existing 'rte_eth_stats_get()' to return dynamic number of queue stats. And we need to find someone to own this task. Above is for queue stats, it does not solve the mapping issue, as we need it for a few drivers and we already have the APIs, I am for just keeping them as it is, they are not causing any burden to us.