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 0EF5A43CA0; Wed, 13 Mar 2024 16:58:47 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 17CEC42E2F; Wed, 13 Mar 2024 16:58:43 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2065.outbound.protection.outlook.com [40.107.243.65]) by mails.dpdk.org (Postfix) with ESMTP id 208F340A84 for ; Wed, 13 Mar 2024 16:58:40 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FywgWOCqcl5FSZvw3yuyCXgr9fntBYH/VZzI1sr+ESd+d60wVf2meDnyWTWwNM+bgnzTZmbP2G9bmv8PtVL9oHMK1F/JIhjGj1cvgPsfna+nemdErAmtslSg/zyHgpZ2HMeswxnbrpNH0VZDi2wHrZ2nOAM3cp4O5lUtv2b7/RavDo5vtcy0kUmALVeXKoXCk5LawK14OGImGHg3gJWZddfjYEm8zmugkhmcvO2OQ9A54ryk46wZ0ZNk4tZgwG3X6yBIPvNFviuoVBZFDcM1zTHVcE8eiwlKmOUwKadaThi6V0jmk5dAkGvx9SVj8IRJp7IiEmE82utV3Qh2N4IL6w== 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=j8Gn7N1d0v8o5ZgEfJGma4ixMYnjGZfvZJh4zRz61lc=; b=JK+U2UW9B2rZJzEBeaaoipDm92JnWcRh0FKoZpd9Jv4K4Yuxh/y9xrOD7Yv/F+5R9p/lsXa7qsLbeOrNNI+nJdjR8g67FYgaLWcsEHGQr4b/rpoHbTHdfzZaUa0jLJx8TzHmRNoMdkDLDmv0yTWpocasga1syJXOmprrxv4uipDat/AQ32mRqCsdwkc/dvPxcFzoM8aoDE+DIzwAe2j670l0z5pXVcaA/isV2dXd1Lw0rMyZ2krayAONgmbYfHndxFOFLGRJXqdcoi/+gZIQNmwnZUC/qMAkdLf0yARW6lzfUUz0Sg173eZ0UXS/vVtYRyXMva9WAKOoEwF0BFdF4Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=j8Gn7N1d0v8o5ZgEfJGma4ixMYnjGZfvZJh4zRz61lc=; b=KTYlbcQFq9a04cwYigZk6y5tiXgyPAEl4yhMhEVLcOf8o72pVnM6v0FdBCStaImU7a8oxVYwqgwDQKbKIUBs1Zp67Ohojo6moc06xAONES5RUl2oLQAcauR5YJetYMwzCgQOCXnZi01E/1qq8dA192OND0+ENsaZ9Pf6iNqtXWg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by SJ2PR12MB8135.namprd12.prod.outlook.com (2603:10b6:a03:4f3::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.19; Wed, 13 Mar 2024 15:58:37 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3ec7:6339:1c14:c529]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3ec7:6339:1c14:c529%5]) with mapi id 15.20.7362.035; Wed, 13 Mar 2024 15:58:37 +0000 Message-ID: <156b9a56-fc47-42a7-8f06-8ad2d95d21b3@amd.com> Date: Wed, 13 Mar 2024 15:58:36 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 15/31] net/ena/base: restructure interrupt handling Content-Language: en-US To: shaibran@amazon.com Cc: dev@dpdk.org References: <20240312180716.8515-1-shaibran@amazon.com> <20240312180716.8515-16-shaibran@amazon.com> From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJkdyEEBQkE3meNAAoJE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ZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20240312180716.8515-16-shaibran@amazon.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0054.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:152::23) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SJ2PR12MB8135:EE_ X-MS-Office365-Filtering-Correlation-Id: b28de91b-1678-4352-9059-08dc43767169 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: b8Jv6WCz6FSdZkwm0AatYOIk7s0vfusC5LKFnHYZTMQlFWL3TiRyPWXecMRdSgAv6qCoGbZ2fkd3FiXBXxsA4E7BSRSkSRNHwQ22197CYob/aJDzqPZi2m7A6vUauvrIivH2VEl4Nm2dXgLfuGcn9U7tsMk5EwZseAEDV+n/kEXzsvNPsz6Q7IaN4Y9jp7UlmSCiJceh92fIyrtBdYzzReDor/OZff7S0gKzcypB71+dK3eaHBE9ry1sSDa6GX53MYwoz2IF9DmhjgekmsOgyZftqeOwC0IpC8UVUKjyDVYc2WrMFWcL4QVLoxCGyrntlWvHjAqu2Tu8aMXQDaUu2ZjtMzoZHgekH2v9peXMWcLYPGcQOAEfS3QHvziLbpOW+PJBV3YHqXoCBKdZGFbL8pYd/E5GoITo4jIDNtpdH0MJR7hhcq2a3zATz2qVxxk3jjGYVEL2OGTjIkBskJW6d1fWYHHxA30LGHrdNVFdUC8ZtuXG9t2G8utStlxW0yN3bQjEMeVVr8zFS715KYPf6C1+JPMpgYzFfR8nJTAXqsZv7Pn2Nr8k/s9VAGji2Eh9MzITgN0zY3NuQJ1VtAS2cqqNmhI+S2T7jjFKE7dflTVGwujOpNBPkRK9iFID9+lTXxYaIztHdUugTpUps/Wi5IunCxhPEschZDEkymATiEo= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.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?OW5ESHBBbGtTb3duRGRKckVrekpEUFppcFE2eFhocnBjRkJ4S1VHRDZ5MFRX?= =?utf-8?B?M2FlQWdicjVpWHdxVDlXV2NNS2RMeUcvRXlXVjNsVUd2eEx2VXZQdHhKcTQv?= =?utf-8?B?WDZhSFBaTDVHbzE2UWdVZkROemJyNVo4OUtTYldUT0liSGRqWEFJUzJRZTRq?= =?utf-8?B?VFpZNVN0WXhmTVM1YWFVQ1pxR3FIeEcwYW00NS8rNmRXWmlRQ0JTQlM3THZ0?= =?utf-8?B?eVVxR0JOeHBBUi9seHZsZzJYNWlvOU95WjViM29YOUpqeTJmeVg4SFhiN2hm?= =?utf-8?B?TWNyZkVDU1p6RlZ6empjaHpiRjIzbjFYT2lNb2t4M0pIMmR1V256VlNUMnl3?= =?utf-8?B?MUJheHREVDZjSkJhQnhpaVJrUUNHWFlpTENZSEpYVWhQeCtDOFlTNE9EV3Bx?= =?utf-8?B?Y2YxRTFuRmFNT2NGYXBvUENQdlFKVWpTeHcxYVlPR2pnMkFQZG02cDRMMW8y?= =?utf-8?B?SGlvaUV0VFQ1bnY0STNrZmdXektyNHFHWDVBRm4velZZcnZKeXN2cDFZZll1?= =?utf-8?B?Unl5akxhTDFRdUxpTGdEc0RIa3ZlWndKKzllcWlhdjJqNm45S0UzZTdDYWtP?= =?utf-8?B?b3VQSWRsOGJQelhVSkpjaWc0a1BNYXlRMEo5SmtWMEZJQy9nd0V2VVY4MU9O?= =?utf-8?B?WDhaTVJRTHNPS3R5NU1DSm9pQkd3ZmdKSERLb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bHFXMjI3cUFnTTZIOFBrTk56dVNYaC9JTThLbTFhTzI2ZEpx?= =?utf-8?B?eUUrSldJa3k5ZGpPS3k4M0FBMTFNcmZoWlUwbVN6enhYNHkwK000TW83c25E?= =?utf-8?B?UjNzdjJKTUVhNzlLYTBCeHRoWlRENUZOSkJoeVdacmlwYWMzMGo0VzZxUWRm?= =?utf-8?B?QlBIT3RhQmw0K1dCSjlWRTlIMStHMGtpeUVwOUNHZUd0U2gwSHpxQXN1RG1T?= =?utf-8?B?TnA4UlZBcFBUQURuTDF3ZkZLRWM3NzAwWXpXUUpvTmphYkVrajFiUzJuelRQ?= =?utf-8?B?Wk1FTm84RXRGK1BzZzZPdEhOcDU2NzNNTHdoVGU5cm5QanUxOXN2UHg2Tm9L?= =?utf-8?B?RFJvd1duSEo0MDJ3NFV5Skw2M0NLWldGN3JEcXRUb3EzZHBkY2RWb1VtSk1z?= =?utf-8?B?dlM5eGgzaDJaQXpNT3pYTER2RHI1dEx5cUU0eWV1VWoxc1oyVld1MXFQNUtY?= =?utf-8?B?OUhLdGZWT2d5cEEvaGU2Z2d2NHBrWm5MWmlRZ2M4YXk1OUE0UVlDQit6SFBN?= =?utf-8?Q?quXwQDlhoV0oORfbzkp5K8jPf?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: b28de91b-1678-4352-9059-08dc43767169 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Mar 2024 15:58:37.0016 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: v1RWZB46KpPU8lph9PvejQ73dP7NUzAo7XUL6BtAjVme6LCRPW78djyElaaUQ1rU X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB8135 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/12/2024 6:07 PM, shaibran@amazon.com wrote: > From: Shai Brandes > > When invoking an admin command, in interrupt mode, if the interrupt > is received after timeout and also after the calling function finished > running, the response will be written into a memory that is no longer > valid. > > Signed-off-by: Shai Brandes > Reviewed-by: Amit Bernstein > Fixes: 99ecfbf845b3 ("ena: import communication layer") Cc: stable@dpdk.org