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 82E0E43CA0; Wed, 13 Mar 2024 17:07:03 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 72B2042E4C; Wed, 13 Mar 2024 17:07:03 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by mails.dpdk.org (Postfix) with ESMTP id 67C5B40A84; Wed, 13 Mar 2024 17:07:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710346022; x=1741882022; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=G8U1GRBo4bx1TPsEmK/hlu1KlSDXhcaZO+4vwTsR1As=; b=NZIb20RJ5uTL3D7QSBK31JSPEIjm9nY/ABT74O2RKB5VjlqkV5NA4AqB XPHvOBSXO+qbKAmVjdCrltBm7HzELMGBUmTSxG8ZRwDPA4sbCwoDD89zx aAr2iTtgM4xkbj1KI/jBXwi9ksBUTYhYKG/qkTexgRPQOnSZhrh4zvfuZ KqqqkKZQPr4uUZOr6Pwn7hfyIpGXCar7boybePPgOH1ktAv/EYrvm0shU 4TdsCJJFXi4cjhakz9q+G0fxA45kc9cUesTgfWZftLwfrQ2gWg4O3zZAL ro2Szl/RLdJ0M4eE82DwnKM8Iy0Ol23Hl9VikdDypavE2Bvjq+mePDTcP A==; X-IronPort-AV: E=McAfee;i="6600,9927,11011"; a="22574714" X-IronPort-AV: E=Sophos;i="6.07,122,1708416000"; d="scan'208";a="22574714" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Mar 2024 09:06:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,122,1708416000"; d="scan'208";a="11867234" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmviesa007.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 13 Mar 2024 09:06:58 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 13 Mar 2024 09:06:58 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 13 Mar 2024 09:06:57 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Wed, 13 Mar 2024 09:06:57 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.169) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Wed, 13 Mar 2024 09:06:57 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WNRTMiM+S/+aTafRlcP7+0sXiXZprMvd64qwbrIhqEkW1Oo4SI+QhLJRIOcRSevGBds3e9nfvu/MRV5ZSVZR3FkG/n+ZeFgnc+zNSaY5XDWxCQ9MyUPhlcT2gjCpogDDDVPmBmi19smTpufywB+XHH4wH71kqUMaXti7aPWkA/tcCAH76ETAZId+S6Hke5EplfQICG//x8qvudNgBcSEvtksbE2IjWS7acBwuhB0ns8vsFnS5Jnuucsq0car49HkraUDQ++HJIzpuDlUHV8NPCvP8gRvS205USrk+K9T/iC5HWF+aXWTeJK7kBoETPYqEdBNDxb3mpDCuf3mVZvH7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=USQz+zQOBVccLhzx8Icqn0sU9kHqccZ4bnbWUEdEiDY=; b=bruGulLHwruVnhvJjzoIv7qmIPTWfUXlEDRO/GgM/XSSd3RQSdngj9k+hrSFxI2XipDLNs5W30vyrsbHbewG3fm/1SuZK83Tz1HvPqbUvkFhLFnaUzazqRH/21L057XLyYReSZ8WMMR7Xm08TZnqEqLH+ROJMBTRtwsHliULnrnpeJFWVOVHi5u59A09w5nGWqiCndnqYeKTYPk/7xmKDvDtqyH104Ub4EgIzQL7OqMt+0FiIlbErZaqwKSrCV8xqb45gOf/jEjUfwrGJrNFnph7bAGfRbZnugQI6CjvZIiK2iexFd6BOT9HxG83xqqzPIEh5Mm4++A0/KdczOGfrw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) by SN7PR11MB6899.namprd11.prod.outlook.com (2603:10b6:806:2a7::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.17; Wed, 13 Mar 2024 16:06:48 +0000 Received: from DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::ab9d:3c81:51ea:7bb4]) by DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::ab9d:3c81:51ea:7bb4%3]) with mapi id 15.20.7386.015; Wed, 13 Mar 2024 16:06:48 +0000 Message-ID: <75af98e7-1ee3-495b-98f0-918765703152@intel.com> Date: Wed, 13 Mar 2024 17:06:46 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 4/5] eal: fix first time primary autodetect Content-Language: en-US To: Artemy Kovalyov , CC: Thomas Monjalon , References: <20231212042517.164353-2-artemyko@nvidia.com> <20240307070113.29580-1-artemyko@nvidia.com> <20240307070113.29580-5-artemyko@nvidia.com> From: "Burakov, Anatoly" In-Reply-To: <20240307070113.29580-5-artemyko@nvidia.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DUZPR01CA0267.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b9::10) To DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM4PR11MB6502:EE_|SN7PR11MB6899:EE_ X-MS-Office365-Filtering-Correlation-Id: 0448da88-7e9d-43ee-f421-08dc43779629 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WkWdRwcU8Vo6pniQKxWCras4Bn5mXGndCTt3+fPZQWXYphIXPeK2XQj3qZGcvCQtII6NNSyzvuWI/ODPquzDncXdUiyuTB4wI/lYkM+5EJynydX2C1uWYgKf+KpJwU1q1TJXCR13m/hsUnF+UbIYIDsVFVstT0QLZxugha0WczNrhQkWUUBPUq2GWajUD559nUUilwzzSWeAmPAW+MIMHqx3B4zdW3Y5KPTxNfiIdx/A1K40j93hnhGFTNDX8u7/ouUwjGoEa++T+kjOw32FVJ+51HLA+GkPLmUgX8MgUW+bAxrmSZcqRCXIQB+kuEKT7U9KrpWOs5UeWU78gdpbrPLt2AtmzZptVfaK02GMmx2DBDHN+1m8V3Gz6N1G+OdK4d8dMymHkWVqA90evy/OASq+Ob/3Gx5+yUzZYzK2gQ00qN/1T/HiFPw0sFilGDtyCAcPDtgR3i93eGsO3efuLzTDVba4REad/Oez6RU+ZhEctJFpl7Qh7M08nepTXt7PApF2LKhHKSod3Ct6Z90anxqnhPYxYIB22TlVnAUq3glY8ug7d7eI8unFFoQQdDRj2cVt12LSdSs8GzwtKGU6lkdJGRdKOrWLndz1FYXPxKSkh9VWdX2iCm9N9Fj/z6rG0TBWglYGsM9uN+RmuOSa28URq3ODs+zd+J6dZ4Wbv4I= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB6502.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(1800799015)(376005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?OVpFdllVajJmVVBpZmpNN0MzdVJ0aGVxRGU4cG54OGFWRGR0Rk1LMU5WT3Z3?= =?utf-8?B?aUlhc3A5T2FUZlVpWDEvQ0tsOEpmQTBJYXJ2T3J0U1BGU1Uzbm4ycE5yVjBq?= =?utf-8?B?d1NXdzNWQkVnODM3RCtpZUl6YXhUdmRVaDFaR052VExSQnZDNUhwQjVzdmRE?= =?utf-8?B?eWVjR3NOaTJJaWhvVzN3S1ZZK2FCUDlnakZJa01RcTJaWURaRGwvL000M3RC?= =?utf-8?B?R2R5VFUvSHhmTG9jbWpwV1lrVkVFZjlGOHJ6cmk5ck5KVS9tbjB0bDduN0RJ?= =?utf-8?B?d0hHTzhCZXBGaldwMVNaZHExa0JpUXVJejlWZ21rOUYrcDN4aHJ2dFFlcnho?= =?utf-8?B?dC9zTko4cmR3M2k3QkpKYlRuUnpGZUZOVjN4ODdOVi9NN0c1M28rWFVjb0p4?= =?utf-8?B?cDVWekNnMTc1UXNFNFBjcVdXQ2djTjFMd09TUVg5ckNDUlZIQWVCSmdxZFhG?= =?utf-8?B?a2svY0VzQn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?B?OGt0RmxqV0l4ajBNN0FWVmVnTzdEaExEOHpjdTNQaWVKdDMrWjZWdC9zWnBy?= =?utf-8?B?S3BzU0VPWlpXZ0d5dXZOYnFiK3RSdXV6cG1JaTJLeXVOdUZWdS84WHJ4THNn?= =?utf-8?B?Z00xUEdHcVJLNlVNQ3VKeUtiU0NoYlBmQ1UvZzZ1clR3YXJMZlJSd2NyRlR0?= =?utf-8?B?Uko4RndGeU5PYXF4ZVlySVROZU0ycStLTXcxdXJ4a3I2aExheU4vTzhTQ2or?= =?utf-8?B?czJBY29GQlBaYW1rS2sxY2Nub0ZkQTM1bXZqL2Y3TVpKeVdVTlBuVWdON1pN?= =?utf-8?B?TmNucWdRK0R3QUJkSldiU0s5R21KVGRjRXV5eHBXZXlTYWJ1UWJQNkhsSDJz?= =?utf-8?B?Q2hoa3JlaU9nT294bkVYY2FlYkRSM0F3RlYydEx2MnVjcU5EaCtoWVZvOEg5?= =?utf-8?B?SFVBakpvTHAyczQxbnAxUytuRzFQSlVDSTVIdGFTeEVvUGV2MEFPN2lxaS9y?= =?utf-8?B?ZGswNkE4SmdGTXJ5eVFMMnJsY2hXcVJpNzViTGdheElnSzhQd0xqMmlQYzIy?= =?utf-8?B?QldWY2x4MEcreDZrRjk3ZEdhWlNJVjlPanQxVlVhbXlKMEJEb3MvQ0puZ2pW?= =?utf-8?B?UjB2SVI2dVgrbFdwRm93NXBNUG5Tc1BRK0d1M2xJcElieWlFb0VXZHJQMkpJ?= =?utf-8?B?QXlXWHYvcWIzRDd3djNVNUNWZzRjNDJaYlFETlhBL2V0VzlZTzFuZUdyY3Jw?= =?utf-8?B?VVBtdVhQUnp0UUtDNHVFaVVyMXl6L3Z4U25NYUNpZllYV3F0bzNjL2JsdjEx?= =?utf-8?B?SkE9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 0448da88-7e9d-43ee-f421-08dc43779629 X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB6502.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Mar 2024 16:06:48.0356 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: EtmICqiy9VoGv4LCxSTLtrlh9hKxC0Kezy9waT92lq4UUnIthARrja43pfeXeKb5z/5192PEh01sOEj/UXCIUjgDmLEb+Kq83mBuEmbX/X4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB6899 X-OriginatorOrg: intel.com 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 3/7/2024 8:01 AM, Artemy Kovalyov wrote: > If the configuration file is absent, the autodetection function should > generate and secure it. Otherwise, multiple simultaneous openings could > erroneously identify themselves as primary instances. > > Fixes: af75078fece3 ("first public release") > Cc: stable@dpdk.org > > Signed-off-by: Artemy Kovalyov > --- Acked-by: Anatoly Burakov -- Thanks, Anatoly