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 13A1143CA0; Wed, 13 Mar 2024 17:06:03 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0260842E4D; Wed, 13 Mar 2024 17:06:03 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) by mails.dpdk.org (Postfix) with ESMTP id 03B6542DD5; Wed, 13 Mar 2024 17:06:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710345961; x=1741881961; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=W9aBffJrteNbUtvD4CQrtXUTlLv5zZl5kCSUrd1uzik=; b=fV5pC6O7mSmKqovSgP+uUQHGhg4AIDC2n4gptgk7zN6fJu/SgFz74RkT 62KKuj5DR7rjD8vek5vTt+Jz6Tw5W7y/rSgxHydOkvh3Hef/iaLzsJnx6 uNbnjpHZSrG2ld7IZAorlOp850H69hLJUksYAVBlJLJaKCxkmbT+Bx0HL m/UJe+yK5XqKoWUqDBgVfYSmEb9U5jUcHRRgbWR7YWBbPU4I//arWOzjW yR6MigBwuXDBh2g1VHoLKlaDMgtKGshlAUKVpSgVjadcVzBVde9MNepa6 +OKa1udYF47TfbkaY82k89587+6+qsg04GswBNkGyl+0HutVbnPV7wAv1 w==; X-IronPort-AV: E=McAfee;i="6600,9927,11011"; a="5249015" X-IronPort-AV: E=Sophos;i="6.07,122,1708416000"; d="scan'208";a="5249015" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Mar 2024 09:05:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,122,1708416000"; d="scan'208";a="12001769" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orviesa009.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 13 Mar 2024 09:05:49 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx602.amr.corp.intel.com (10.18.126.82) 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:05:48 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) 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 via Frontend Transport; Wed, 13 Mar 2024 09:05:48 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.168) by edgegateway.intel.com (192.55.55.68) 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:05:48 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oS/WBL3Y5wTvQ+F+F6ynJ2gbVoiSs5KyMBgz9Bb0mYxq+m3IGBHgDkrECFtBuRiJU5MrMZi7GvIwzjZPNhdOqttpq1CnDYV+NQLRIRWzUd8nssreT2mC5JRiQ94e5fdqJS+f37TWrhlNs9NHwuDW11Vg9PcGVHE+MF8wyKoqHFe7iV6HDjkl4rLbtnhAh0x+1CiSJCQBNOTjGp+2O5fv/+5SASlYSfzYa102brKf6NdDcvwyyMmkuc7OSbvQ7dQkRjJZU1KlRpB6xd9//aahRcoKSdwEYM6UDRRIG+1ctn0hD2tQdeDTHuWwR87c54AOl3S2de9OpmiF3eAGYU2eVQ== 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=ITpIMViCruACas5O5YajTjzXTWOntp3k2zr8dYvJs4w=; b=oF4bWKtZaKM+RKI4gwZ+xGmZEvvfuf2G1nV/BvzN3NkBenwXunybueMYBzh7zmXHgzqJySwuDV2QaMcIjhII4wFNW/Z4JeU5TmcOrauix60jU3rkU/ysr5r4S3qJ6iOHEuViMEg0R6aG/n6espTx6VFYah6mv+8J9Ml+ZjkDXPnz9rMXR4twfAYyrtbJWrQRGyobNsNOssOD8Dm+huGcLa4dXyYZ5ajvV5WMJFE5Cy574e5n8FJBS1U1336TWBZtruURL55E2MzKmXRTfxurLQ/Cfe4eMJBnwrQCPkZi9eAtrGyGJWfTEiiUhPzi8cDoTtY9Us1L3aRuGMLNsHd0cw== 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:05:46 +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:05:46 +0000 Message-ID: <204210cb-e9b3-4569-8c8c-cdf0679c824d@intel.com> Date: Wed, 13 Mar 2024 17:05:45 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/5] eal: fix multiprocess hotplug race Content-Language: en-US To: Artemy Kovalyov , CC: Thomas Monjalon , , Qi Zhang References: <20231212042517.164353-2-artemyko@nvidia.com> <20240307070113.29580-1-artemyko@nvidia.com> <20240307070113.29580-3-artemyko@nvidia.com> From: "Burakov, Anatoly" In-Reply-To: <20240307070113.29580-3-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: d7101ad1-1f93-47c8-f066-08dc4377719f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: grP9YNByXxcl69+z87N9NO+HRIhWuMHn1aiIg3zSVnh0DWqDBvSG1t9OkMMS6IPK/2Xgn6w167JLVHGOaap40lY8d98e7ZLKK+INrsWJD2pVriqusDLZLVP7I6JCM907f3ERb/vO8To5YHuMB1EpXvpNXcpR97MCGJ+q1KDQsUjMuSR6aWFA+FoAaDnFxQAgWiCiv53mm8146nl4j+ULa0SfsttlQmFaSHumx7lBGUNa3duvWfdp3zWCxm7PXoxaZDiKqhcziTYu2YcebEAnO3bt8WBUpmRvMLMOysqkbRezUXIbFdx3IrFiUH8/Nsf6O+eQwZVx9yGKXTpnOANwCdAXZVd5w/QsLPUYZ4XBMJA48a/i9AsmvynxFSRntYCM+f5yDM6Fzbg1RtP5Dkq2yyMnI+Udszr68MRtTA5vOAt9G9F8xluLBSm8JQqFElteoK9PTRyZr+S1rtCUyxHqvdWaqAjAT8HyHxh/dE6iG+xB7Pz201AVorb4HhB0rnPE0gg6K2WbiabXbv1NVBcUId6fRhxYTDNpMsAh3+o8hPKEQ9UzpuUYbEcl8B1G2LO1ZxZc6HXszAquACkhPhH4vuAbB9I3JuM9iMc8qjaTOKDoJuqsvWq/SNTdh5QYG/18H9eOvT9clxME5+bNyZ2qYklrnaQVYqQzQElmzDeFMfQ= 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?dncyaW0vYUU2ZjIrY0hmQTVoZ2NITTZJNzVYMVlWUnBMOWNRVWdEWTZkVGVB?= =?utf-8?B?c0lpcEJwYlVKK1RjQ3I5bzhlTU5xYWlCRmpCVWdrdmxXY2JZbUcvQ1VUeStM?= =?utf-8?B?SU4zbDZzVm5GVzFwa0I2ZHN6RkgvY1MyejcvTlFmNzNsaDdleU5CelNvMUxW?= =?utf-8?B?cmhUYkJHSDYxcVNCOHN3NnAveTJwMGVCd1NWbkpoRWx0THF6SVY4WmphdlQ1?= =?utf-8?B?djNyaU1RWkJQZjhpbzgzaTZmeGd1ckdZZVNBZEladUhLdlZ2UnNkTUp3cEVW?= =?utf-8?B?VDlWN1ZuUlpvWk9leDU1OFBacW9lV0VtNzQrbG1rdDVTejd6bE5GR1BmRHc4?= =?utf-8?B?TlRCMXJrUUE4NjdodEhTWFg1Nm5XTER4aUNSeE5BN1ZORWNaRVNkaGpYaksx?= =?utf-8?B?M000MWk2R1B5cGlRREliK3NtZTZJYWtwQ3hMU3pKVGhPYXlNNnBvS01TdFhu?= =?utf-8?B?akdRbldNQUZTN3ZDMGk3dUg3R3p1ajVMdDZPNFZORkhQb0pCd1FDTmFJYUVh?= =?utf-8?B?LytwR2VES0thWUxwbnBDS3ZkMXlLM1QwbEFYUUFaMk5DMzk0UzB3cDhJUm13?= =?utf-8?B?QXl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TjU4?= =?utf-8?B?STQ3U0RtZm9PNDZTcjVZa3ROSWhpNkRhb2t6MEhTbHViVVRQcUFwVWFHL3RZ?= =?utf-8?B?QXRiMVRiSTFEL0FvRjdZaFdPMkpUWEhOWXlqU29YQ1I0MmdzNExZS1JKLzk3?= =?utf-8?B?a1kyeTlaQkptM3lteXB6amhWdHdmdmczS0t3cGRmWnZRdldrSERpSG9yMDVh?= =?utf-8?B?eTdSSUJiNDYxcmlSZlJkcVJWdXQwc2N1djB0eWl3VEdOT2FNakd0SjA5UmQx?= =?utf-8?B?ZUg3SERSYjU5Wm84OEN6VWhoZ29pK1RYaERhVWdBZE12SHcrbTNFNDhZRytO?= =?utf-8?B?YndjNU9ERTJOalJlckttaER2WGRxQlM1Z1RDWEZHMzFSa0tBSHBHZmhKcG5N?= =?utf-8?B?VEd3NEZoZW03RTNWZmRUUkcxdVBXbkFaR3VtL01UVnNpYUx1NzJsdzFreTBH?= =?utf-8?B?Mk96cWZraDY1WTJoRmVQd2ZoeHhlVmRQSHVWRUdWbVA3QllNZ2lRNkF4aXJ5?= =?utf-8?B?L3Y5NklxazNqb3JBL3EyOWFMN3ROakIwbGpzdkFQOFdaaFFtOHl4cVJXMTc1?= =?utf-8?B?WGpYVU8zL2NpSjNGZDVqK0JLY3lRNzdXR3R6QmZNdEV2enc4RGNjMW10V0tm?= =?utf-8?B?UlQ1U0FGSHBidzdnaXFaeHZKYmora2hiMi96RE9BejRBQ0d5TzQxS2dPQTds?= =?utf-8?B?eVE9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: d7101ad1-1f93-47c8-f066-08dc4377719f 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:05:46.8362 (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: yaBdhgsmoAsL4RsKajmfkI8ls1jTSvAAKyUoDnGoGGHITjgelj80sQhJAEUZ2Di6fh3VzXy5+E85ZiWQqikhi9efPZN4lcN34nUYPA/4ElE= 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: > There exists a time gap between the creation of the multiprocess channel > and the registration of request action handlers. Within this window, a > secondary process that receives an eal_dev_mp_request broadcast > notification might respond with ENOTSUP. This, in turn, causes the > rte_dev_probe() operation to fail in another secondary process. > To avoid this, disregarding ENOTSUP responses to attach notifications. > > Fixes: 244d5130719c ("eal: enable hotplug on multi-process") > Cc: stable@dpdk.org > > Signed-off-by: Artemy Kovalyov > --- Acked-by: Anatoly Burakov -- Thanks, Anatoly