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 E7F3645598; Fri, 5 Jul 2024 13:29:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D3D8E40FDE; Fri, 5 Jul 2024 13:29:07 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2042.outbound.protection.outlook.com [40.107.244.42]) by mails.dpdk.org (Postfix) with ESMTP id DA938402BE for ; Fri, 5 Jul 2024 13:29:05 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G0XVbBNoenQ6nLGRTteq0vpcl7IN5TBmmrnIwB1+Fm1AeoRsU3Jfd9Ufp5pwt8R/WM0830H1L7mfvP9ww3Vbe8qRdvD4wGrMa9PLTm2hGCFSw+EooQsn08V8L6iss6ETXufnYQyji0lPyhYG0T3r4hFTcWGYuudVjQ/cuS1LqGEpq04+ouAzb4H5ebSFh6lABbKzcMR9xWq4LogqdAbzmJbE8ZnBN2mSWhDWlPZ+6h2Vr2QBnAujwTQht5rghcwEF1UFhikBKOWtM6qUOJ2fA3HU4YyG/d6uOHgmJD5vqVB+aqVeqD8rI5WcqLB5R6gU/VW90ceVO1ZtwRkTSZYmTw== 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=y4Of13Tp8W0NFevQkKxK6AboArQW3/xAuKkCr+6d42U=; b=TqphUNmJd9NXMXWtsEH332RxDR7QHGI/+oSIRTRiwXCNqylUTc/2v/AdPRFpTkjbcI5MJwgIC9fwxmG5LujwdZm+eds5e8Q34bCIJpshvIpG9YA1/xaXls8exxbeGpPeLvGOwIsn4bh/Dw2d+7qDSkcMhFwohlQTG45SMansS0Ext/PVdoDjyh5qGV/3TeSpkUYb1g7eBzzncP0QkpO6W9mNkR7TX2xGZRqvon97cersSON3ZXHoPrTRh3oZwcfITt7ESpLe0CmNZuK1KmwKO38C9bY2Lybzmy0auKbVBIzAyfT1BRCxnyU8FMvfn4y7PwhMdXv+Fply0utv8F4ejA== 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=y4Of13Tp8W0NFevQkKxK6AboArQW3/xAuKkCr+6d42U=; b=e477cFQ9zCdgDbvjJwegT75sSDqknO961VleeCjPkQ8awvFqA5asUabPJbuVy4+yTBQSnbUR5XU7oyealFF8p1JDgktq4CmYP9tLvAKPPu+gKzWSR2mI45d43cZu6vgC+wky7JmScgPfxiVcBkO9yxQUracbs800+r07yJfkEnI= 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 PH7PR12MB6884.namprd12.prod.outlook.com (2603:10b6:510:1ba::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.29; Fri, 5 Jul 2024 11:29:03 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd%4]) with mapi id 15.20.7741.017; Fri, 5 Jul 2024 11:29:03 +0000 Message-ID: Date: Fri, 5 Jul 2024 12:28:59 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] app/testpmd: support retrying device stop To: Stephen Hemminger , Maayan Kashani Cc: dev@dpdk.org, dsosnowski@nvidia.com, rasland@nvidia.com, Aman Singh , Yuying Zhang References: <20240602103035.197205-1-mkashani@nvidia.com> <20240603100931.5195595b@hermes.local> Content-Language: en-US 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/6BQJkdyEEBQkE3meNAAoJEFRTPtCK Km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dK+DLHqNxKuyO 8Zk= In-Reply-To: <20240603100931.5195595b@hermes.local> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0373.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18e::18) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|PH7PR12MB6884:EE_ X-MS-Office365-Filtering-Correlation-Id: 0bac683b-edc6-4ae7-2b8b-08dc9ce5ac64 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|366016|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?B?QVBCa0xYenNOczdLNTRxTG0zaDJsdThRekl0cXRDV3UwZGVySzRLNXpnK3dT?= =?utf-8?B?OUpUNDRzbEY5UDdDMldleHhsSmdoRHFJeXQzZUNOTGVwOFJ0YjFUcUtVL3VJ?= =?utf-8?B?RnNncCs2T2pJRVVKRlNzaHdiT295b294bE9TZ2x5UXZqYXEzbmxOVVFBQytz?= =?utf-8?B?YkV6YTEyN00rYTNsQ0FJNTZLbVVQV1NBL0ZnNktoLzJ6YmREN2NUVk5ncFN4?= =?utf-8?B?b1MvOHFsM012VzFHQkdJMXNoY2dxM0llbGdvOExqenRMT1dZNzhjM1lPakhJ?= =?utf-8?B?R3NjSG56U3VaNFVqUFdFc1BTbWo1bnlaSWZHMVdWZjAzTUtFRVNBUE5GTW16?= =?utf-8?B?L3VrN1lMdVFaaFQ2VFZlYWVPYXpmalVlQXZ4VnhNeUxyUXVjQkxZT1VYcUEy?= =?utf-8?B?UnhNcm1mTHV6Mmc2T29aNjJMZzN3RE1ydnZGQ1dhSjFXZVNYd3UwNXR6dXBP?= =?utf-8?B?eXFNWWF0cHpMdG1LUW5iMXVKZzdvdWJsdy9YdXFYQUtYbmNqUE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FQ3a0VEalBZak5PUkZoenZaRWpRenFKc2t3ME9Ia1pZd2Nk?= =?utf-8?B?N2lBM1dhaTM4djdIWVBBT1ByNWdZTnMyZlFMVTZPYUR6TVc4RHZmcFNKbkl4?= =?utf-8?B?d1B5ZkZIbjFKOGF2RGVDYis0alkyMWJUdGY4MEtOWjcxZGdiaUZsMlVRcXpl?= =?utf-8?B?azZGRnVYZ2xXMFRRenpqeUhGR2xXZ21MMFVyWVNaelNGVDhnQTBJcHdWZXEw?= =?utf-8?B?T0xGVmhrYTNHNUYxTkN4N0pDSWN0TWdjRDlIRzN6SGNnak95cE9ibGFXcTVv?= =?utf-8?B?N1FrRkttT0hqUVdFdWNrNkduK282dHRDTi9rNjgrMS8wZFZQZlFKaUM4cWZa?= =?utf-8?B?OG5yV3I3SXgzMHBxZENMMTc3L0UwclZtem9QVWZqQzdsNE1TU2trc1d4UWdS?= =?utf-8?B?T3dOM2NKQjFYQllZWmZnQT09?= 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:(13230040)(376014)(366016)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Uy9EU2YyMlFBczRTdEp5djdtWkYzemZwa2orOFNMeStVeVZSbVVaMHcxYTZK?= =?utf-8?B?NXNhSHVQZG54YXo1WnFSRHo3dDZDcjFkeitrdWxEaFZMa25wVGlWdjJwZkdX?= =?utf-8?B?V1ozWDhkdUpaQ0swWmZoeW01SXdpdGlJSU93TjROY2dBb01NU1Izbi9xY0ZR?= =?utf-8?B?YlpyMTg3MmRVbmhuQnJuVWRYRzRDL3RSRUxJcmxNdXRuc1pHRkhqaUlGZDVL?= =?utf-8?B?NkRpdEhmTXhGZ29iMVRLRGo3c0NzZ3hock5Ja1pIaUlCcmx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zA4WTFVQk91TkVMcVUzeFZ5d2NmVlY4TUhK?= =?utf-8?Q?m1bzW+kG0C/fmPYNa1PCV620Z?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0bac683b-edc6-4ae7-2b8b-08dc9ce5ac64 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2024 11:29:03.4387 (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: 3ZckoP7BfQjfzf5nPHzZxvZfeIKPEKLGnvrNyk2yNYEW1rudsKN7PvxYrSRtCCAe X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB6884 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 6/3/2024 6:09 PM, Stephen Hemminger wrote: > On Sun, 2 Jun 2024 13:30:35 +0300 > Maayan Kashani wrote: > >> From: Dariusz Sosnowski >> >> In some cases rte_eth_dev_stop() can fail with EBUSY error code meaning >> that port cannot be stopped, because of other resources referencing this >> port and port must be stopped again after these resources are freed. >> >> This patch adds handling of EBUSY error code on port stop to testpmd. >> >> Signed-off-by: Dariusz Sosnowski > > What causes EBUSY. Seems like a driver bug or a test scenario problem. > You can't expect every DPDK application to retry. > 'rte_eth_dev_stop()' returning EBUSY anticipates this kind of usage already. But I also agree we should avoid propagating driver issues to the application, that is why it is better to clarify motivation of this patch, why specific driver returns EBUSY on stop.