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 2058145C0F; Tue, 29 Oct 2024 23:12:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E361542EE8; Tue, 29 Oct 2024 23:12:43 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2077.outbound.protection.outlook.com [40.107.237.77]) by mails.dpdk.org (Postfix) with ESMTP id A10114060F for ; Tue, 29 Oct 2024 23:12:41 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=x2NxP4vwALGEA9r3V7IvzyqAheQG+nZJ0VWh3hY3IIvKS0U9lJprWfjdbYFn+FhYFAAysZkeSnbemsufY2SbiSDUan4GEoSYkfYFrZnBjWm6es6qljodKw8tpXwROkLIhlxza0220l+DG3Qj1PTQxh5wk9lwXkduzQybGL3vEE6lSElHHSOYT3b+DF5HVarQGsyDbVZ5GX56uu/pvHJRE3GtzCMyFtvDowGkV006llorzmeZ+37q0ndM35M4NnUSFmUUe0WjPBJUbpqCnSeVjxc1Gf8aimcvjNR39mfQ3GbxojhEo36p0uum2cM3U10fJqSkcnkXbGdLpgRpHbWJNA== 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=yq/7wogObu+HiABTz5kohCSgDaJ+EUaLEzrxFBwx7U0=; b=T0FvxN+ljVqpDkgSxxlYMuqXuEXOPovg/pQd0Pn+dGrdRNgxFJ8Co+jDPX5R5Jk/dEo4SZCHyVMW2vNWAH8FiP4eunzvWBhAyXrX85YXzFCh9GFI+9MO0rdczaYLubQoEEfCUl62qiwcDlVrRGvtesFjc8k5WMbUaHAcg/SH5zGXxH0jpE7cyukH5llK7GvWWsNx6K97V9HBtBDLzH76Y7LfIcFUsljz+iOAmiGWwhznY+c0pSPcXMIpvtL/AVVikB55LtZE5GuwvZWadv8ZuGoF6SsYV9FmrJ4GUBigfS0LIGHxa/3+VBBSsGUqNkUyZfgnMhx+FENSmKp3QUxWNA== 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=yq/7wogObu+HiABTz5kohCSgDaJ+EUaLEzrxFBwx7U0=; b=djDvr8C9Dg58I78fLooEjstOznQIIi7Blnobc6JLdAZnojt62FxpwGtZpjlJ879foTML+aAm+qy5ZSsRMDhuvHzAFBqgGi2ixkA7daMtJFMjB12tbgXBRkUsGOjjM9XfZ8Admwwt8x+pOZ3C0VEwSd6wLnFkaeVhhRI6xSAmNuo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from SJ2PR12MB8830.namprd12.prod.outlook.com (2603:10b6:a03:4d0::9) by PH0PR12MB8174.namprd12.prod.outlook.com (2603:10b6:510:298::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.27; Tue, 29 Oct 2024 22:12:36 +0000 Received: from SJ2PR12MB8830.namprd12.prod.outlook.com ([fe80::c3eb:df02:eaa9:2055]) by SJ2PR12MB8830.namprd12.prod.outlook.com ([fe80::c3eb:df02:eaa9:2055%4]) with mapi id 15.20.8093.024; Tue, 29 Oct 2024 22:12:36 +0000 Message-ID: <2c97b03c-0f1f-4725-863a-f51f64b5f578@amd.com> Date: Tue, 29 Oct 2024 22:12:29 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RESEND v7 0/5] app/testpmd: support multiple process attach and detach port To: "lihuisong (C)" , thomas@monjalon.net, andrew.rybchenko@oktetlabs.ru, Stephen Hemminger Cc: dev@dpdk.org, fengchengwen@huawei.com, liuyonglong@huawei.com References: <20220825024425.10534-1-lihuisong@huawei.com> <20240929055241.29268-1-lihuisong@huawei.com> <542fb047-0950-01c9-56be-ef4d47ec7b5f@huawei.com> <26306692-6ce5-432f-ad7f-d13844c9e0b7@amd.com> 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 aXQgPG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dyA/2qVe cMh1CLUHXF1GlofpGbe1lj4KUJVse5g3qwV7i9VrseA8c4VIZewdIjkzAhmmbxl+8rM/LKBH dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P123CA0289.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:196::6) To SJ2PR12MB8830.namprd12.prod.outlook.com (2603:10b6:a03:4d0::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR12MB8830:EE_|PH0PR12MB8174:EE_ X-MS-Office365-Filtering-Correlation-Id: 84adfd1e-0f37-431d-9be3-08dcf866cb34 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?B?WmZ6cnVYcWNsWkNHenpXVnVmK2xtYktJa2l6eEp1N2tvU2RaRWJWa0NJWWlq?= =?utf-8?B?bVhZOUpEVk5YaFZVZnYzQlZLSkhPbU8yZDFacmpDT1NOMk1jM0RzaHI2SFUv?= =?utf-8?B?b3VXNnBaeE5UdmZHUlkvYVZ1aW1ZWU5zVnR4RHJZV3RsZUIrQ0pJN0pQQXd2?= =?utf-8?B?UXQvb2FnUGtuQms3cFNJRUtwWlpMVmFYMEduNld3QllTS2kwZ2YyR2Z0dTdy?= =?utf-8?B?L1dqK2MweXd4UUkwalVxQ1dyN0JLc2kyWEFUZzMwais5UXZuZ2l6bURrcE5X?= =?utf-8?B?YnMrSHQzby9TczFlU3BrWnI4VjhGejJjVUtZL3B1RExmb3lLZjVWZHZpbTlv?= =?utf-8?B?TWg4QTk0TnpFdjdTSmpKTkNmNlFWNzM3Z09BUzdFR3NhWmNWSlpaVlpvaVNu?= =?utf-8?B?W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xTE9yalM5ZEdlQWw3Y0RT?= =?utf-8?B?TS9VMUUvU1ZJYXVCbkNTSjVFZit1b2hlOVRBekJnVUdNaGp6ZTN4OTNpeEpt?= =?utf-8?B?eDFPcnZOUEpma0ZzVGNQODFyZUEzR2U5cUo1NmJ3YmlOSy81NklGSkcvYWhH?= =?utf-8?B?bVJMdkQrWFRIbktZbU1SVEN5R1V4N2I4ZU9aOFIrSXlrOVlVWU9jb0RtYncv?= =?utf-8?B?Ung1NnVJZzdjUGlBbk0vbitjK3lWZk5DSGZnTXcvMHV5VDZCU3p5VW9LR2xU?= =?utf-8?B?N0h3angwYWRrMEJYNjFHeEx0NHhyZ1hVZW1WQ3BiQldZbDFhL1NnTUYxb3lm?= =?utf-8?B?S01xU0Y1M3JMZUN0R1NzYnZEQ2M0dCtOVnVLV3VIenBKN1RiZ1pMMFFUY2V2?= =?utf-8?B?a09aRXdkRGFzM2pDVHFKbmJReTJJaExrdkI1Z240UjFnaUovQWN5bU9VZUpo?= =?utf-8?Q?4LjkZTOPupZlk8XOWeaMGr6rqGZQBRIkEmq6LHr?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ2PR12MB8830.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZmZ1R2U1YTFJSE9aczB6TzFUMlNNbEd5M1NrcVZNUzd5QVc3RkM3UHM4MjRw?= =?utf-8?B?MXRVZ3lUa0N6Tk8rTE8zKytqR1pLcHVDellzaTJxbUE4Z3hzWEZzc1ptMDhw?= =?utf-8?B?Tzl5RUxlODd4WXlkeml4N0RoelJTNGY0ajlNcEp1N1VBUjhGTFJaUDJhall0?= =?utf-8?B?V09XczVRUTVROVFvemNGYlJQbVVPaTRxV3lFcnYyUnhtN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2pxOXhON3UybllGS09nbFJxblRGZWxVOUNMVy83YWxzam4rMjB5aHBO?= =?utf-8?B?aHJ6Znh1SE5RbmlXWm9TY0NsTzJ5RXQrMVBBVmF1MHFtUW0yOFkvWUVad3Js?= =?utf-8?Q?G3vXcChBPG31qD9La5hGH4CPM?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 84adfd1e-0f37-431d-9be3-08dcf866cb34 X-MS-Exchange-CrossTenant-AuthSource: SJ2PR12MB8830.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2024 22:12:36.2132 (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: kUh4G6UqSs1vD+PK+SerGyQezzfR+KfTayByy3HJRYNaPd8c3zE/Nu+ycosCLn7l X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB8174 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/18/2024 3:48 AM, lihuisong (C) wrote: > Hi Ferruh, > > Thanks for your considering again. please see reply inline. > > 在 2024/10/18 9:04, Ferruh Yigit 写道: >> On 10/8/2024 3:32 AM, lihuisong (C) wrote: >>> Hi Thomas and Ferruh, >>> >>> We've discussed it on and off a few times, and we've reached some >>> consensus. >>> They've been going through more than 2 years😅 >>> Can you have a look at this series again? >>> If we really don't need it, I will drop it from my upstreaming list. >>> >> Hi Huisong, >> >> I was not really convinced with the patch series, but did not want to >> block it outright, sorry that this caused patch series stay around. >> >> As checked again, still feels like adding unnecessary complexity, and I >> am for rejecting this series. >> >> Overall target is to be able to support hotplug with primary/secondary >> process, and uses event handlers for this but this requires adding a new >> ethdev state to be able iterate over devices etc... >> Perhaps better way to support this without relying on event handlers. > Ignoring the modification of tesptmd is ok to me. > But we need to restrict testpmd not to support attach and detach port in > multiple process case. > Otherwise. these issues this series solved will be encountered. > > BTW, I want to say the patch [2/5] which introduced > RTE_ETH_DEV_ALLOCATED should be thought again. > Because it is an real issue in ethdev layer. This is also the fruit that > Thomas, you and I discussed before. > Please look at this patch again. > RTE_ETH_DEV_ALLOCATED is added to run RTE_ETH_FOREACH_DEV in the event handler, more specifically on the 'RTE_ETH_EVENT_NEW' event handler, right? Without testpmd event handler update, what is the reason/usecase for above ethdev change? Thomas, Andrew, Stephen, please feel free to chime in. > /Huisong >> >> >>> /Huisong >>> >>> >>> 在 2024/9/29 13:52, Huisong Li 写道: >>>> This patchset fix some bugs and support attaching and detaching port >>>> in primary and secondary. >>>> >>>> --- >>>>    -v7: fix conflicts >>>>    -v6: adjust rte_eth_dev_is_used position based on alphabetical order >>>>         in version.map >>>>    -v5: move 'ALLOCATED' state to the back of 'REMOVED' to avoid abi >>>> break. >>>>    -v4: fix a misspelling. >>>>    -v3: >>>>      #1 merge patch 1/6 and patch 2/6 into patch 1/5, and add >>>> modification >>>>         for other bus type. >>>>      #2 add a RTE_ETH_DEV_ALLOCATED state in rte_eth_dev_state to >>>> resolve >>>>         the probelm in patch 2/5. >>>>    -v2: resend due to CI unexplained failure. >>>> >>>> Huisong Li (5): >>>>     drivers/bus: restore driver assignment at front of probing >>>>     ethdev: fix skip valid port in probing callback >>>>     app/testpmd: check the validity of the port >>>>     app/testpmd: add attach and detach port for multiple process >>>>     app/testpmd: stop forwarding in new or destroy event >>>> >>>>    app/test-pmd/testpmd.c                   | 47 ++++++++++++++ >>>> +--------- >>>>    app/test-pmd/testpmd.h                   |  1 - >>>>    drivers/bus/auxiliary/auxiliary_common.c |  9 ++++- >>>>    drivers/bus/dpaa/dpaa_bus.c              |  9 ++++- >>>>    drivers/bus/fslmc/fslmc_bus.c            |  8 +++- >>>>    drivers/bus/ifpga/ifpga_bus.c            | 12 ++++-- >>>>    drivers/bus/pci/pci_common.c             |  9 ++++- >>>>    drivers/bus/vdev/vdev.c                  | 10 ++++- >>>>    drivers/bus/vmbus/vmbus_common.c         |  9 ++++- >>>>    drivers/net/bnxt/bnxt_ethdev.c           |  3 +- >>>>    drivers/net/bonding/bonding_testpmd.c    |  1 - >>>>    drivers/net/mlx5/mlx5.c                  |  2 +- >>>>    lib/ethdev/ethdev_driver.c               | 13 +++++-- >>>>    lib/ethdev/ethdev_driver.h               | 12 ++++++ >>>>    lib/ethdev/ethdev_pci.h                  |  2 +- >>>>    lib/ethdev/rte_class_eth.c               |  2 +- >>>>    lib/ethdev/rte_ethdev.c                  |  4 +- >>>>    lib/ethdev/rte_ethdev.h                  |  4 +- >>>>    lib/ethdev/version.map                   |  1 + >>>>    19 files changed, 114 insertions(+), 44 deletions(-) >>>> >> .