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 3EFE94407D; Tue, 21 May 2024 00:19:56 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0E7A5402F2; Tue, 21 May 2024 00:19:56 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2052.outbound.protection.outlook.com [40.107.243.52]) by mails.dpdk.org (Postfix) with ESMTP id EE1814021E for ; Tue, 21 May 2024 00:19:54 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YuFxQlI4RXMEfR6yXLmxtvAdmnVCXnWx5M4JJJgEtG44dgD/6zzvqF/hh18qCsXnsbiFBBd+bf4B886znuvD4gIAyxlpnq2S5XfOoRucQOUsynPgJ4etyV29IbWY9yQKiQJKNV/BdZERb7eNxz5liIROtmNp+lD0GWMFwOHawvHHvpimLAIgAi/VlY/1QmjHw0GEGK9zM5yzBuLZZja//VbwyjL8vj/8zfNDOVbAiseFH+TiNqYQdYvN6aKaDi/TeuisQXqYZ2OM8aBMy8AUnIL5UfXA565FBZFt9voIl6CoEurRZYzqfSHa1JTbg81CQyqOtn1hbUjiMCtblylq3w== 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=V+bSD/1KInxj9NgOETILlrscRVMvTyzarm44BFd0PNo=; b=Y8aARF/SyZhsAiliVlgKXX5ueIOzp/GmIFw4llyPdh7VKzPLV1zHsOReR6qTlqYFnPcdLeOUZ0k/ATHkLRLQjruGvSj6opKPFjBsAMlP5hdf2qZ0Vs7rkYOla3/3pxKhdwWy9L1K3eG40d2VJXQROkrhUGsT3QOvlbBdr5FEvjuzfLKrufRS27dqRkH5e9E/agDcC8LK4LK4u7EmBcGjFLYrfcZCDvQ/9H0cZ98my0vPWSXY9B5r4KLjtKcM5xF/zoliNbhW5LbomeIm50VlNShrvuR5An5Jc6CeoQzVALCoB+nez/0vaI4U8KwggC2OL8zkTyC5TVl5VR5Xu20nKw== 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=V+bSD/1KInxj9NgOETILlrscRVMvTyzarm44BFd0PNo=; b=mHnpmbc53oscr3N3Zz6G0f79O6W4FW0KxLnjW6Ry2eOP1gmu4AUJ5vn/yRLJcIfgcMijWNdxaNKoXum1r8DrjRsZ3xcnRj+m31j0mLMOi7w8gpWWcnbwYnz6MJVpVSlyyfgLXVY/Aj9jYmCDZvprp+6wIsvpCAB6mREifTdpGTU= 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 MW6PR12MB8735.namprd12.prod.outlook.com (2603:10b6:303:245::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.36; Mon, 20 May 2024 22:19:51 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::282f:29d3:cac1:cde3]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::282f:29d3:cac1:cde3%7]) with mapi id 15.20.7587.035; Mon, 20 May 2024 22:19:51 +0000 Message-ID: <4c98caa6-7887-47bc-a41f-7cfb862e391f@amd.com> Date: Mon, 20 May 2024 23:19:47 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/8] refactor logic to support secondary process To: Chaoyong He , dev@dpdk.org Cc: oss-drivers@corigine.com References: <20240419031226.1191069-1-chaoyong.he@corigine.com> <20240419052349.1294696-1-chaoyong.he@corigine.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 aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJkdyEEBQkE3meNAAoJEFRTPtCK Km/6UdcP/0/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KuyO 8Zk= In-Reply-To: <20240419052349.1294696-1-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0469.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a2::25) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|MW6PR12MB8735:EE_ X-MS-Office365-Filtering-Correlation-Id: 83e528c4-0ec4-43e1-4142-08dc791af78e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|1800799015|366007; X-Microsoft-Antispam-Message-Info: =?utf-8?B?YzF0VGhQY1hqeWNQYVVZRWhZbDYyNVJFemlsQlFtK2FySjJEUmlvUDdaWTB2?= =?utf-8?B?bXYwSTdMQlNieXE1VHZQeFdoRWVtQXJiTlphdW56RHJwVlBUajFkNWd4eHJ0?= =?utf-8?B?SXBNQ2xnNFE3TnJmWUdQcXkrbVJzQjRFdUZ0eVNqUGFZV2M5TXhZLytSZFFN?= =?utf-8?B?QWZTL1JZWVVpNW5qRThjdHIxSzFKQStTZEM5VnFlQWl2VHdJQ2FWZ0tNR1N2?= =?utf-8?B?TGdFRjhzcGJkMlRXZ1hGY2FCUDh3dC83NFNBdGFDTkFVOEN3bGNSbHdES3Rs?= =?utf-8?B?clpGeWo1WWJUMFA0N1d4ZW5HRUFCY1Z1OVVEOElxVS9GL05BZzljZHZ0RjUy?= =?utf-8?B?M24rNHd4SGQwTzYyQ3pyWnRSaHpKSVZXWDdJbFh1cDBNZ1o2WjBNV0NWSHNZ?= =?utf-8?B?S0FwZzZGYVpMYzZKdk93dDdxdndNVWlzakNjeTkyRGNSRm5sRzVkTWhxdGQv?= =?utf-8?B?NVpVWmE4VWJZQ3c3c3FGdjJqbTFSVVBGQjFnYmhHUFBRYT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TU1CMlpHN2lRZGErL0tjRzBa?= =?utf-8?B?U3Y0eXZkSFljTjRQQ09GVzh4MC9nZFBQRlRzdUt3MWU1a1lTbmhGQTdyZkU5?= =?utf-8?B?WEpHbzR2REZSNm9vb3M5cktYSVBseW1hU1E0amVhZzN2UmZNL284YW5IeHdG?= =?utf-8?B?N0JUWDdBcnZJVGk4U2JXeHduUjhRQ0RYbXJEQ1pqeFFMTVFZUWRIQisrczB0?= =?utf-8?B?bmtJN0h4dmZSS0ZFckVla1dUdlYvalZOd0dHWUcvOWNFbUI1RzFMemtjak9Z?= =?utf-8?B?cktyS0xnR3BaRk5JQzJLSUh4R05SNlYzYVRTSXd5V29RbWo1bDhNK0tBPT0=?= 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)(376005)(1800799015)(366007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UnE3aFJtZmJoTXQ0WjhleGJnSjRuTGQwK2prMDdPVkxFZWticUhvaGpnNmhI?= =?utf-8?B?RHpvSmFyUFRWNVlSazlKZDdqWUhTRGx1Sll2OVQzKzhxbDB0dXV4cm9oUUVZ?= =?utf-8?B?RDRubURPdmt1R2o1STNZc08vQ1A5ckJsc0J5R1RRbi9qd1JOTUNpditHOHVG?= =?utf-8?B?SmtMNmIwREFwZUVnWVR0c1E4SmZCd0FWK01jcDdhbkx6ajllMU5tRStOd01J?= =?utf-8?B?MkhDT2RTR3JmY3FjVTZLL3pLQXFPUWZocThPMGFTVGwzWXhHU0xTQ0R3Y0FQ?= =?utf-8?B?dnorQVRubS8yeFBTcVlaOSt0NitYRENFZ0tHRUdwMW1KSWVSY1JUTEJxQjJ2?= =?utf-8?B?QTZnYVRkanlQV2FiRnhNanZ0Mzh1NkRjdGV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4-0ec4-43e1-4142-08dc791af78e X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 May 2024 22:19:51.0138 (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: uEA+iTAnM4e7pgRLpUGU/Oojv4zk9gP2CMD182psbJ3DA/ePCmdjlOMKUQsHk8XX X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW6PR12MB8735 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 4/19/2024 6:23 AM, Chaoyong He wrote: > Refactor data structure and related logic to make the secondary process > can work as expect. > Hi Chaoyong, Patchset looks good, but I have a question related to the motivation of moving so many structs to process private data? Normally ethdev is process private, and ethdev->data is shared. Primary configures the device and secondary learns shared data and uses it for datapath. There are cases, like file descriptors for same file can be different for different process and process private structure is used. In below patches, device private data level structs seems moved to the process private structure, is the intention both primary process and secondary process do the control path and configuration? If so, just a reminder that this is not intended usage of the multi-process support and many control APIs are not designed as thread-safe. Would you mind describing a little more about your use case that requires below process private data changes? > --- > v2: > * Solve the build problem. > --- > > Chaoyong He (8): > net/nfp: fix resource leak of secondary process > net/nfp: fix configuration BAR problem > net/nfp: adjust the data field of Rx/Tx queue > net/nfp: add the process private structure > net/nfp: move device info data field > net/nfp: unify CPP acquire method > net/nfp: remove ethernet device data field > net/nfp: unify port create and destroy interface > > drivers/net/nfp/flower/nfp_flower.c | 127 ++++---- > drivers/net/nfp/flower/nfp_flower.h | 11 +- > drivers/net/nfp/flower/nfp_flower_cmsg.c | 5 +- > drivers/net/nfp/flower/nfp_flower_cmsg.h | 3 +- > drivers/net/nfp/flower/nfp_flower_ctrl.c | 8 +- > drivers/net/nfp/flower/nfp_flower_flow.c | 16 +- > .../net/nfp/flower/nfp_flower_representor.c | 151 ++++++---- > .../net/nfp/flower/nfp_flower_representor.h | 4 +- > drivers/net/nfp/flower/nfp_flower_service.c | 32 +- > drivers/net/nfp/flower/nfp_flower_service.h | 10 +- > drivers/net/nfp/nfd3/nfp_nfd3_dp.c | 5 +- > drivers/net/nfp/nfdk/nfp_nfdk_dp.c | 5 +- > drivers/net/nfp/nfp_ethdev.c | 274 ++++++++++-------- > drivers/net/nfp/nfp_ethdev_vf.c | 18 +- > drivers/net/nfp/nfp_net_common.c | 116 ++++---- > drivers/net/nfp/nfp_net_common.h | 30 +- > drivers/net/nfp/nfp_net_flow.c | 20 +- > drivers/net/nfp/nfp_rxtx.c | 9 +- > drivers/net/nfp/nfp_rxtx.h | 69 ++--- > drivers/net/nfp/nfpcore/nfp6000_pcie.c | 34 +-- > 20 files changed, 524 insertions(+), 423 deletions(-) >