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 3003C45C01; Tue, 29 Oct 2024 09:31:37 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1664E4014F; Tue, 29 Oct 2024 09:31:37 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2061.outbound.protection.outlook.com [40.107.94.61]) by mails.dpdk.org (Postfix) with ESMTP id BB0E540144 for ; Tue, 29 Oct 2024 09:31:35 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=YR68BqJQGREXnGnFejCLvFbLB1vsQYQ4kTfChrmyKRpawBwXklGYylpC4Lz1tTkN6dMwmC8mhC7CyzI5z0nc2ndJ/2pCBHxHgkKKqrePwRiGVVYNH3KjxfTHA7DGOvBUln6EpBMXGaPnacnaGSh6k5ZjX51JG8JLLHPE4b9wTemAp7nDyx9bvnhmPjK3ZJ6URgz9OFGHJ3AraZyEInzTlPnN7ZOkbwO8g5G88TeMjxLf9hlJr3lVmIp0oYIfNqd/ZKPsEtnPZJ3LlJlw1XLZEoISCIN48iZLvpyz8gxtccihkMmqeKfQvdShFtaW6JmwFMb7xdYmfEpPyToXiAIWgQ== 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=10Hp8ZRP7myCh550AG5Mhc2wnsBG+sDA98cJcCy3sJI=; b=exKrHfcawu01erw/izM6VgAnPUlNzf32LooLNKW2fH4lnG/Hy4K2cRbJdkm7o7MZu06Onu+zZaUtmWzy4QOEX1+0srgIwTILr1s+e6ugiGi0B69uy6IRgriVsFTVC5cXTgSrLdUcNLLqmu4zpYChZKU8VbExrh10okiLrw/c5cNBGCHLUmh70hyCsM7QsiFlNH7G3qRoQ6Y1mrqaXppljD+Dg0c//s7o/GDAem6bY7avhRJucIo/P6ZHyNk2rui4wKfcr2iAEA+6WpE7Dt9qE/R4H9WiRzTpUVYdl/FYpNXFjZ3+MCctq9ytNH9Yerr5czcfhkCbR0Cdevr5FWHR1w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=10Hp8ZRP7myCh550AG5Mhc2wnsBG+sDA98cJcCy3sJI=; b=XSv/9goeROR7O7Bb606QvwpiNgPEevJ+PRyVd06pDXOPwCX/WJjAs5ZSj3W9/d5sM3ZTzuO+UN4x5nSl84c387IRmKqbF5wV0PE49EwIkS8/icObcTRFrZDQD/VMvkWjJgOjOb+yY8ubFZmXdR5mTP/f2nvo0DiQpHA05r4onEY3/dBysKtdLjEagww+j23akZVCwDrBP7HvirTEP4ZvR4nJlqH7zLzx+6TfmaJwh2quYze1Ht04P9klwXu1oD4l/jbdhdWevOCX2iGxxcYpVq7f8AsGh2GB3MgVqjcjEScyhebsURH9548BRoF9R3svWqG0qyMAEuUEVEFj/XDQGw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from IA0PR12MB8376.namprd12.prod.outlook.com (2603:10b6:208:40b::9) by DS7PR12MB5742.namprd12.prod.outlook.com (2603:10b6:8:71::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.21; Tue, 29 Oct 2024 08:31:32 +0000 Received: from IA0PR12MB8376.namprd12.prod.outlook.com ([fe80::4c58:7502:cc8d:8c7e]) by IA0PR12MB8376.namprd12.prod.outlook.com ([fe80::4c58:7502:cc8d:8c7e%4]) with mapi id 15.20.8093.023; Tue, 29 Oct 2024 08:31:32 +0000 Message-ID: <5ce8217f-1041-43e7-a31c-066cbccca87f@nvidia.com> Date: Tue, 29 Oct 2024 16:31:24 +0800 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V2 7/7] mlx5: add backward compatibility for RDMA monitor To: Stephen Hemminger Cc: viacheslavo@nvidia.com, matan@nvidia.com, orika@nvidia.com, thomas@monjalon.net, Dariusz Sosnowski , Bing Zhao , Suanming Mou , dev@dpdk.org, rasland@nvidia.com References: <20241016083818.662020-8-gavinl@nvidia.com> <20241028091822.860660-1-gavinl@nvidia.com> <20241028091822.860660-8-gavinl@nvidia.com> <20241028084908.7b64b22d@hermes.local> Content-Language: en-US From: "Minggang(Gavin) Li" In-Reply-To: <20241028084908.7b64b22d@hermes.local> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: TPYP295CA0045.TWNP295.PROD.OUTLOOK.COM (2603:1096:7d0:7::6) To IA0PR12MB8376.namprd12.prod.outlook.com (2603:10b6:208:40b::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA0PR12MB8376:EE_|DS7PR12MB5742:EE_ X-MS-Office365-Filtering-Correlation-Id: 924d9c0c-ae80-4299-b056-08dcf7f417e1 X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?B?blAxZ2Fwd2tDbVk5b1RtaWZZYnIycDhMZUh1NFAwWC82MlQyaG1EMVZiRjJW?= =?utf-8?B?ek5Cc2M5OXRUZnZsMlRWVXozMzE0WVhjUkI4W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prd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(376014)(366016); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?elROZk5ZcEdRUzFpZ2lQRU93cy9HbSt6ckpDeko5dkFSUU9Qd0RXMDlWK2pK?= =?utf-8?B?SHg1RExvT21QNjZyL0Y3KytJQis1MXdnQ1RLMmFrc1ZrbzRwTEJUQks3QlFU?= =?utf-8?B?Ti9uZTRKeFVGWHQ4UGxpU2h6OGVBU0ltcEE1cGNFVHliZ1ExTEhjMVh5Vzhx?= =?utf-8?B?Mk85cGtqRVh3dkZzK0FGVER1Y2J6cUtteUF3SWhzcEJGbWI3SU5ORWxBVHVn?= =?utf-8?B?bExWcWVuYTZRUHNLU3lzZ0VrYXlHNWEzNWtrU3FaV3BlNFBWNk1UMEwrUjky?= =?utf-8?B?K01mVUsvYVhISUw4Z0J1bmhlNFB2UW90bEcwSWtMbDVGOEpxbmYxUU9SNm05?= =?utf-8?B?cldWVisyNEN3ZVFqU0ZNZU1wRzk4alp2cmlKN2lDakExUE0zNjNRRm0rendm?= =?utf-8?B?OXduNlJtNnNEOG9oUWZibFJoYnQ5K25XV0lzcDVwMTRiRmpUeUVrc1E4K3Z5?= =?utf-8?B?Y3ExeWVWcTU0Q3liMmpsNDQySklnUkFJb1lxWkdsM1ZzRGltMW1OcDhhdy9J?= =?utf-8?B?SEhyQVRKT05oSHZ1R0w3RU91NTdvY0M1RTRpY0lxeEZqUmVnTlhsVFk5djNO?= =?utf-8?B?aWx0UlREUUdFdnFoLzRIVVRnREtQYVUzajJ6SHhNMFhld3gyazRCYmJVN3cw?= =?utf-8?B?Y3R4eGpoa1lUajRuZjNMd0UwRi9Sc2dzUjU0RlJ5YmRFVWs1V21aN1RwdlRs?= =?utf-8?B?Qk9xNTFBdHBkME1lU3BTUG1mYXdQQ01vdUtaTVFaSDFRQWNKTEVkc1RoSDVj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0NINUd0TEVoazFyMkMvSnVB?= =?utf-8?B?R2kydEtBbk5uRG5aZG0yK1c4MXo0aUdicDRoaEVrWXByaEZTRlFYNkZwaEN0?= =?utf-8?B?NkxFK3BDRzErc2QvUEt5Y0RQZGM1dWpFT1o0KzJSSmliNzhNTElWY0k4dmxO?= =?utf-8?B?WU5JOWNOTzhZamp2U1VTUmJnWnRKNGpqZXRwYTExVGE1YUFlK3d6dVRGMU9a?= =?utf-8?B?cEdodUNsM2Q4dG1FcU9hQ3c5YWpmbVZUTTE2czhkbG0yU29iM24xZ1BzV1BC?= =?utf-8?B?dGR1dGNoMUY4UkJnTFk1Rk93OW9DWjBZcHRkL1VqRWJlYklyZW9kd0p6dEJ0?= =?utf-8?B?cWowODloNjNvU1UwRW1IMDdnenU4M29qNENrRThiMDNvZER3dWNwMjZ6U0xN?= =?utf-8?B?aWRDNk9URXRzbFFvOHZvdDZWMGw0M2FHcWtKR0dVYlRlS1U5MmwwY3hQMGxH?= =?utf-8?Q?OvPP4rNgl1xOcFFgOOsCH9jyk?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 924d9c0c-ae80-4299-b056-08dcf7f417e1 X-MS-Exchange-CrossTenant-AuthSource: IA0PR12MB8376.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2024 08:31:32.5731 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: DgCB2RMlzt8lv6X1J2RJ0xG/CXxjxwtmc+O0fniR5gJupMktdrbrdidxQsnUDKduzluJSTc5GlM4Sl9IG3UwTA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB5742 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/28/2024 11:49 PM, Stephen Hemminger wrote: > On Mon, 28 Oct 2024 11:18:22 +0200 > "Minggang Li(Gavin)" wrote: > >> +* **Updated NVIDIA mlx5 driver.** >> + >> + Optimized port probe in large scale. >> + In previous release, it would take long time to probe one VF/SF if >> + hundreds of VF/SF were created in the system. With this newly introduced >> + feature optimization, the time to probe a VF/SF will be reduced greatly in >> + large scale, eg hundreds of VF/SFs. This feature is controlled through the >> + ``probe_opt_en`` device argument. Setting it to a non-zero value indicates >> + the application will enable this functionality when probing a device. This >> + feature relies on a feature of RDMA driver to be release in incoming >> + upstream kernel 6.13 or the equivalent in OFED 24.10, ie. RDMA monitor. >> + For further information on the devargs limitation, see >> + "doc/guides/nics/mlx5.rst". > Too wordy. Many filler words and phrases. > > And no clear description of when to use and when not to use. ACK