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 B498F45C01; Tue, 29 Oct 2024 09:27:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 875C84014F; Tue, 29 Oct 2024 09:27:40 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2042.outbound.protection.outlook.com [40.107.93.42]) by mails.dpdk.org (Postfix) with ESMTP id B45F640144 for ; Tue, 29 Oct 2024 09:27:38 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tCfjE6SgqeOuidmnBy/c9r6JCFNwXxl/iY/5V/RYqaFWagT52MJ9SlWC2EIJPNaP1d9w2i6yr7LH135gr/IEGzxoGOtrSk4r80VpbGRIkX+GTUHZdptokDWvbPi+vaMoAQ/H6UFM0BVTMO6yYu2snpqP6YrKrzWTlanFETqKdS+VFJ6JYmojCKlU9h2505YqYtK2gHB8ZKHOACbrkK3sV7N/GYYwyF+QgsPDoMMBshLs/S+Ef9VXZUMNMe0szgqB2dNwTbIuNRMwmGG7lcQmHxTVKTZ6OxwShyLUUtgQicsowYPo39iCboOar/7tzB60VuQzZw2hpx+sETNpSChqGA== 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=+d4VOLrGi6E7FNUOQF4ZDNZqzFDCA9KGNVsLmpUZNOA=; b=GLtVc9J30ol6srSvPZ/Zz3MkVtwYXOxwPqgRqUnBaPCb8eB2n4OVPFjVZfQ36dIpxPX4r/LiiOPJYxt0eCXBqF5Ix1HxiIleJrv3RoS/l2scCjfH35resuEufktp91Sgk+sUjUotgTrvF8Ld7DWeBUi+dyuhgrSm/dMmSD8NR49O33RsJWkc7OZTita+ubp+7LVeKbsD016RFZEVfvA67ffZNy9xs2ZOKg7GvcCYITX786GjLccOkTOw49uc8rK0Hk3uCUCi+ZUcCOcO3rfGqXkZ0zl6JrJQV/MUZjYTyrnmnk9+whuuhuLN+dfR+FCP5jSXfHxO28dN3p3shum+ng== 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=+d4VOLrGi6E7FNUOQF4ZDNZqzFDCA9KGNVsLmpUZNOA=; b=pGLAjqK2yiglwDr8VNHmXjWWoDJX10OUZBrHKynhrm7vB8wFSlLQCpppcnD7ZGM2XglmWDPkUAtkUijttp6j4rN8nYFSEFxzn9kMx4mITYMjYFECbGNIoJuukXG3X1h3wYRs1o/Cjy2i7OnJ561g/RB7mkoBATnnC6AUpeXUn03TL2DMzZPv4Ap3oSsG2UjEJLx2nUueV+AsAyMSZe39IDYKGd0HWGokBmkkqZ0z4+H4sJXA88IhRTfbvjJHRsJmq1PJ3NgNhNq7tthjSNgdFvMe3eVeUNKr11KRhTdhUYtLbtUg8r8k2Z5Btmnb34ms15U76w5fyBoI1otf5CdtlA== 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:27:35 +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:27:35 +0000 Message-ID: Date: Tue, 29 Oct 2024 16:27:25 +0800 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V2 3/7] net/mlx5: add new devargs to control probe optimization 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, Rongwei Liu References: <20241016083818.662020-8-gavinl@nvidia.com> <20241028091822.860660-1-gavinl@nvidia.com> <20241028091822.860660-4-gavinl@nvidia.com> <20241028084732.10774614@hermes.local> Content-Language: en-US From: "Minggang(Gavin) Li" In-Reply-To: <20241028084732.10774614@hermes.local> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: KL1PR01CA0009.apcprd01.prod.exchangelabs.com (2603:1096:820::21) 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: 91e36d32-c8a5-4925-ddc9-08dcf7f38a5e 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?TmFZOVp0eW5FRWM5QzdVWm9YMjlBWFM0V3p4ZzdZNU1DNlRISlU5TE1xU3Zo?= =?utf-8?B?eHFHS3VZQnQ1WDN4R3cyMGN3L0kva1Q1WTNmZzAzcmpIUXFHeUZpM0paUDJP?= =?utf-8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drcmtQ?= =?utf-8?B?Q3djeGJJN0VNNU5OVm00OWlvcVhQWk53VkRibHplK2hFRTFaOXR4UEV2TnBq?= =?utf-8?B?K0lITTN5aHAvMjdVYmM5OTh4M1M3NmlsWDMxUUQwS1VBcUhVTm4ycXptMStK?= =?utf-8?B?TW9oc3M3SitidHdXWnhZOXF4Z1VDVkM2RXhiZlNncGp0cGUwb3RXMVlMZ1c5?= =?utf-8?B?QlNxbXFsWUhwRVNnOFdsR3BjcGhqMnlsNDFzckQ1STU5NTZibW5yRUxKU2xm?= =?utf-8?B?eXgzMjJLTFQzNEhIaEp1TXc0ZUdVTGJhUzk3amxOaWViNmVFZWVzZVNqY3Vs?= =?utf-8?B?OTlVTGFmZ1FNbS9zS3NoQUFlT1NxeSthWGwvSEtuUTBOTG85aEJDdk42NS9J?= =?utf-8?B?TFE0eVd3QlluU3BkNnRtcjlyMmJZa3BNNnBDaXZ0bTNVTEhhQ3RSTjRscHFq?= =?utf-8?B?L09JcjBDeWcwSTlUdFNwQjNudngzamQ1VVpxUERpd0F2WXBZS2RZT0c4ck9L?= =?utf-8?B?bi9sdkh4Z0RRNDhPYzBSMUtWclVZUnE2ayt5Qzg3VlpkNzZKTGdTWFFWVDdu?= =?utf-8?B?MTRqWDV6UnV2UVhsZCt4czRRbTlsY2NaUi85NFJCd3BhRXBKZDJwYUhrdXJ0?= =?utf-8?B?aWZZSnpKMm1VcmczamIxWmhCdXZ2WlZuQllNUEZpcmorRkNNVVpJVm5ySTln?= =?utf-8?B?WmFldUNYYlp6bTdSaVYyV05zR2V1Q1JTdVJnWEQyVmh1QmRsMXU1bkFUaWxM?= =?utf-8?Q?QM1iJX6I7J+gWWPU1V6FusjstSU55nj1xovTQr4?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:IA0PR12MB8376.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(376014)(366016); DIR:OUT;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WFjR2hFNFh0ZWRH?= =?utf-8?B?ZkxhUGErb205akFRN1pEb1VUNnhtdys5SGNPYXdHbjlsb3AzZURSd0xFbWNQ?= =?utf-8?B?N0QvTGxKdjBsTDdWZkppbFJaTkhZZW5CeTBFTW4wSHJZRWR2OGZmd2JrUVpx?= =?utf-8?B?VmJMTUF1N25kRG5DVHpoSXV3OGNlYStpb2FhR0JyUS93QmVMcXdJazV2RGU0?= =?utf-8?B?YUc4SVRLSHBkeXowS3BiOG1zZFNiK0tmUE9FQks5eFRNT0JVcnl4eEdzMkhM?= =?utf-8?B?L2s2akVZUlRaemMxOUsxVjhPWWF1TnZNdmNKd09ocDVYQTNYRnFRNXpWcXJ3?= =?utf-8?B?eFNPa29OdDFkcHpGZnFGQVdGaFBaMlJsOEw5OTdEYS9EekxRa1hsRFdqcjRs?= =?utf-8?Q?hLwnhKf4J2G7tRXVp6hXpa0hm?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 91e36d32-c8a5-4925-ddc9-08dcf7f38a5e 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:27:35.4130 (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: zT8qw7Or31LsFX0ZM1MLGERodzu0lhbhGfR9H2c6l1KJ4f7I2rXjRoKj69Ztk+X596oe+JJ3sBezu8o9AOFkUw== 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:47 PM, Stephen Hemminger wrote: > On Mon, 28 Oct 2024 11:18:18 +0200 > "Minggang Li(Gavin)" wrote: > >> +- ``probe_opt_en`` parameter [int] >> + >> + A non-zero value optimizes the probe process, especially for large scale. >> + PMD will hold the IB device information internally and reuse it. >> + >> + By default, the PMD will set this value to 0. >> + > Is there ever a case where this should not be used? > > It would be better to just detect and use it if available. > This driver does not need more options... The new mechanism, which is required by few users, so we would not break production and with the option we encourage to use new way only those who actually needs. Once we see the new way is reliable - we will change the default value.