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 7C6CB45C11; Wed, 30 Oct 2024 09:26:05 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 66D084332E; Wed, 30 Oct 2024 09:26:05 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2069.outbound.protection.outlook.com [40.107.237.69]) by mails.dpdk.org (Postfix) with ESMTP id 5B41943322 for ; Wed, 30 Oct 2024 09:26:03 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=xRYyBtvVxkTCDRXJ/sCQ1wBNKJ8aZbBym1aPWWwQpnQikd46InzxgBfhMWVsDLW8fQhCDnIrFuQdR1TVfaU++ajwU3kciJEKvCrWySNQ/7qX1ro0TNhJfPF4akILMN0a+eRCVBFEarxhOZqDgq8CisW4KTtqeo79oyx3pGYkbnKHyFgR5ntSdHOcOWOeimsv+kpiicArtw0ZisayPk4lGYfj5RHJMygHhsguIZ6/GaLkV7JAvotrJGL3W43o/kIPrAzzq2v/49eoABmQt61Mfakky8bpHBNIca1yZ8Tuj/O6BjS0MSzsIucR337knUASCHbgI1tVUq6mWd2tA4GEyA== 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=LrEJXKEvOdgAsTE8/BRDrqbN94tGi6QONRpx94En0bs=; b=qh3KDjOghNmIWqaYvHyp9kYbmFk+LCYY2fsxN8iZUkfKoYnVW8YYrDa1/eFR/8JKtma+jOiJgfoQUTF5OHb6u5WiFA/YGgxm5AUFl4aqugoTSZxKr51EwJ2GZ4VixJEPi7iijkLp2pwQu4Q3JjXjJ9qQH51WTeamHJWicZ/OBKezXz8CfBg5cYBFjN12MDzgLiTBpplzamkVObymzzCYuq94vM4mFSWl8JkhfC/yEutSFLRyRJFeXu97jH4wboM+GqXO0KI7KnYJQdnuh3c0nv87Va0C1OHO2xNPz7unyKLo12330GZ6GYE5kKZXumnYJVCf9FDdXOY4iE2bGzA4iw== 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=LrEJXKEvOdgAsTE8/BRDrqbN94tGi6QONRpx94En0bs=; b=A2W8g6XiAvojvbQV5cHDVjM+7Etd9gNQxYouGcvkf/gKUpf2ImOFkhSqBQ3xNZX7IudKypfg+3xTrOVZs0LJb2I12q+A9V8Ut0mYGOgVxeM8uni4ytK3BxON/EMOtQy9PFrxJdV9/7Bq1fmqVpiE+PS2YedvwyDX0y+52ieu2+tJEUa0PlX9uPFyUp/PbD8RgUJNTVOs3mF//pxkwgw6Fdr9pDEdEAC0V9kcg7pw32q8vT7obn99e6nIpsp9beEeYKNX7NQRWTM6Bn1vwlCH3YnnPrDqfpUAlWPJh2prLDHtZR8JcgJDI0W1vhGIFTz4DfLA4poJVDXMQtq/0TSemQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from CH3PR12MB8353.namprd12.prod.outlook.com (2603:10b6:610:12c::19) by CY8PR12MB7515.namprd12.prod.outlook.com (2603:10b6:930:93::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.25; Wed, 30 Oct 2024 08:25:56 +0000 Received: from CH3PR12MB8353.namprd12.prod.outlook.com ([fe80::f0e3:caa7:7eee:8e6d]) by CH3PR12MB8353.namprd12.prod.outlook.com ([fe80::f0e3:caa7:7eee:8e6d%7]) with mapi id 15.20.8093.023; Wed, 30 Oct 2024 08:25:56 +0000 Message-ID: <88012c32-57cc-442e-96b5-fcbf304383b2@nvidia.com> Date: Wed, 30 Oct 2024 16:25:46 +0800 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V3 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: <20241028091822.860660-8-gavinl@nvidia.com> <20241029134256.874767-1-gavinl@nvidia.com> <20241029134256.874767-8-gavinl@nvidia.com> <20241029092609.6052056f@hermes.local> Content-Language: en-US From: "Minggang(Gavin) Li" In-Reply-To: <20241029092609.6052056f@hermes.local> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SI2PR01CA0033.apcprd01.prod.exchangelabs.com (2603:1096:4:192::23) To CH3PR12MB8353.namprd12.prod.outlook.com (2603:10b6:610:12c::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PR12MB8353:EE_|CY8PR12MB7515:EE_ X-MS-Office365-Filtering-Correlation-Id: 33b3debd-d5ba-4faf-3a33-08dcf8bc79a3 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|366016|1800799024|376014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?ZVhyekZXMzNHQUowSHdhOStxRUdHcXZLL28xQXI1aWltdWV3S3ZWam9TQ0d6?= =?utf-8?B?T1lhclJLNDhiQnBBUy9WaWt1dEtYYk9EMEZLT2szNmVBd1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; 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?NitDU0hsVWErQmJVa2JLTlQ3RWhCNkxuR05wQ3FpYVRNOEtDYU5hOGVJa1F5?= =?utf-8?B?ajJMTXdsc0pLT3cvR2JYUnFKUFBBT1JwWEliaWtEa3EzNnVCdDFHSkZhS3Vk?= =?utf-8?B?QzIyaGt1NWRIcjRqdlVQbnFTZXpwdDdqVUphY1Y3RjRNa0w0bnViaUpPNHdK?= =?utf-8?B?TE5mL294VHg1WFZuQmQ2ZUV3L1ZXeEpzd0t3cXFxODY4aEdUcDlOcEhMS3FM?= =?utf-8?B?cVNDTWpzZWQwZlVHbXhTVUI5TFZQRHJUemlRaExaTGFzVWxBZGZJeUU0bDMw?= =?utf-8?B?bFBQd1JlTWkrMUNRc0oyZzlYUnZ5eDgrTFRyVERKdUJyNTlHTkEzZ0RSK1hT?= =?utf-8?B?KzVLNUp0U3pLcEZQMks3L0tqTFE1NWNmWnRrOHR2S0wvN3dqZ3J4ZWFEU0NB?= =?utf-8?B?Nk5vTGFtazhNaWtFOEZielE3czczN1hVWEdxRmp5Ujc4RWtreHNBTUoxWFhL?= =?utf-8?B?by9YaUdvVlVoSmN2RFZ6b093eEhvWTJDWU9JR1RRQk14UG1wS2R2NDRDdmwv?= =?utf-8?B?eGhKWElTRTJpT0RhSzBRQmJvcFdsZE1wSTJqSnk2a0s2ZDYxbjZneWwvTnNF?= =?utf-8?B?cjdjMG4yZ0NiQkU4cFduemxaTytBcEZiak5ScFd4S2dkZ3hDY2REQWFpcTky?= =?utf-8?B?YTBDdHNoSjk4TkxyNkhnT2VGNWxCb29mRE5FUnRNRG1xM200ZDBmcGNpZG9k?= =?utf-8?B?VDVRVFZnYkg4TWxSbkwrNlNUNFBVVWx2QWcvNXk3TGJOSmdOeUplbFRRbm9Z?= =?utf-8?B?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= =?utf-8?B?Umx3Mm1FaEYxRjUyY3laRWFGZjY4a0xwdWhZaUxtbEswK1NlREcvbGJ6cCtM?= =?utf-8?B?NzdCMzk4czU4cUtrcXhrNjY4czdPZk1JRDhRRklxTzZwczlsckttajRsZ0Q3?= =?utf-8?B?NVpJc040VzBOb3NvVVIwM28zdmZxVXdpbnVZT0ZpekNKTS9paHlmQTAxOFd5?= =?utf-8?B?ai9Sd0tDMWdtSFJNM2VnVDBWUThoelkrSHZIdUxXS1YySUl1UGsyVUFmQUly?= =?utf-8?B?WWlVUUVrQzBnYmh3ZFJFL0Urdmh3U08wakZ3Nm0yeUUzTHVnWTk3WnZLY1Yx?= =?utf-8?B?T05xSktUckJTS2tvTTkveWp2NHBxOXBqbFpVc1c1RjVlREFVUEltMWlZNTda?= =?utf-8?B?U2pZVHlRWVcyNXZEZkZFbWxEN3BLenNRd3hSL2tUay8rVVphcGZHYStCYTk1?= =?utf-8?Q?V7XsT+rZBCX9odYN9i54OcTFa?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 33b3debd-d5ba-4faf-3a33-08dcf8bc79a3 X-MS-Exchange-CrossTenant-AuthSource: CH3PR12MB8353.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Oct 2024 08:25:56.1630 (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: H06iO0Ec+TEBpRbCJXjbJZ2vA6OktjgmPbwLhbBffDAMxDRs8q8TrGokmKfcjWxwkIqcHUbGZmrgZw5Dt8NESA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB7515 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/30/2024 12:26 AM, Stephen Hemminger wrote: > On Tue, 29 Oct 2024 15:42:56 +0200 > "Minggang Li(Gavin)" wrote: > >> >> +* **Updated NVIDIA mlx5 driver.** >> + >> + Optimized port probe in large scale. >> + This feature enhances the efficiency of probing VF/SFs on a large scale >> + by significantly reducing the probing time. To activate this feature, >> + set ``probe_opt_en`` to a non-zero value during device probing. It >> + leverages a capability from the RDMA driver, expected to be released in >> + the upcoming kernel version 6.13 or its equivalent in OFED 24.10, >> + specifically the RDMA monitor. For additional details on the limitations >> + of devargs, refer to "doc/guides/nics/mlx5.rst". >> + >> + If there are lots of VFs/SFs to be probed by the application, eg, 300 >> + VFs/SFs, the option should be enabled to save probing time. > IMHO the kernel parts have to be available in a released kernel version. > Otherwise the kernel API/ABI is not stable and there is a possibility of user confusion. > > This needs to stay in "awaiting upstream" state until kernel is released Sorry, it's a typo. The dependent kernel is 6.12 which is in RC. Do you think we should wait for it to be released to push the patch to DPDK upstream?