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 5EBCF43263; Wed, 1 Nov 2023 19:33:20 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0591140282; Wed, 1 Nov 2023 19:33:20 +0100 (CET) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2067.outbound.protection.outlook.com [40.107.102.67]) by mails.dpdk.org (Postfix) with ESMTP id B0DC9400EF for ; Wed, 1 Nov 2023 19:33:18 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ne1elMF+442bZH74EqF7Oodh/KPhIYaYc73gVJJqoKsGsx7QI/rJ5fBz8P/BiMm9PhF+XFDjos3bS1RFKYplCpc4zf3VpUb2HnWhXtN7Bs96Muc9IUd1fA8E2gLhuD6qR0XbYc3bga8IeZRhw/2j0eiJajjReaDlv3uJaBCgro4cA1Owpw+CFPSHB6UPhj8OAyewoUz+EwiwmMoBX5S9i3duthsAErdVn7yfoAh3kipUIqpEXR9uAON0rACnIuldmUWBRtC3D8SGJukDJx4lLkFWEfmjQYNSdPUuK1+B9yM7/NFQlVV+BSYgOV9GJDv7loGxHVbqLgixNXOSMvRr+w== 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=cuUYyDcZ954NjvnDWLMSM98jXxQxZuPj2w7WwqaczgM=; b=ThOLv6a+/8yjkkgt+rNMqSI5v0D7cm6J4gxCAdrxvrEHpQwANAQh5q8cgRh4i9QDquMusWlULd4jlggYKwV+ySc/8f5d5TAY5tV1C227AYCTm1f88/DrnfS085qyT1/YLJHWWzx5gCEjqjesyJmGeMENs4d33i7rhnVzP2x798jl+Gc/gA6vA63jydDpnRcf4TnDbX/cK7dtSOQoUnasL2wL+dL6oMCw4bQpaKhu4yUOU4zltInJBo2uxnI0++qwm3MSRmUzpJFAIAgHgx9JLMzxz2jtiW56PgYtSXNzEe6HLyUX2UAg3vPWurDGsmhMdaOv2FdzONVbraerDnZqAw== 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=cuUYyDcZ954NjvnDWLMSM98jXxQxZuPj2w7WwqaczgM=; b=da9cSMff5Nr9X+tLEpW88u7Akuhv7JDM+k/n9QsMWVRV5GWKn6XDoJOZi3Tugw7cGhqBj2Fw7/NXG7rxd/RJiJkTKJItbT4+i/zvANYxwKy5Dapqx76RkntRQXWcvWw67U4A/zaTaO0BAAdtEIgo9T+ZT97n5tfEzEn8SLZ0M14= 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 CH0PR12MB8531.namprd12.prod.outlook.com (2603:10b6:610:181::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19; Wed, 1 Nov 2023 18:33:15 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::2569:edb2:670f:816f]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::2569:edb2:670f:816f%6]) with mapi id 15.20.6954.019; Wed, 1 Nov 2023 18:33:15 +0000 Message-ID: Date: Wed, 1 Nov 2023 18:33:08 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 00/11] Clean up NFP PMD Content-Language: en-US To: Chaoyong He , dev@dpdk.org Cc: oss-drivers@corigine.com References: <20231028061558.1842855-1-chaoyong.he@corigine.com> <20231028065315.1937188-1-chaoyong.he@corigine.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/6BQJkdyEEBQkE3meNAAoJEFRTPtCK Km/6UdcP/0/kEp49aIUhkRnQfmKmNVpcBEs4NqceNCWTQl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oyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR0P281CA0239.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b2::10) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|CH0PR12MB8531:EE_ X-MS-Office365-Filtering-Correlation-Id: 1823040c-d3e2-4614-3424-08dbdb09028d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vl1gfRMZ3zy8iammNeMHM4pkxqB/jrggtbHzXbUtGaHNl1A7vUgLP35JXq+YzguaAokCNPCDF8kq0WFY/BIAzFfxD+hyEcye2dyBkGDP8LbGbeoSwBLD+iM20v3naLvdoogQm5dJjIcBY5kzx8uVZ0Qnc57cjsTW9jhbc0tAkQGQ2DsQMn3+9O5JICJRRa+wbhqya0Y+fhjkY8L7g4wmMibqfwN++s2bcIdo13/guS/tYNzPwHBIMbnUsNdforjP+hh/WRZqJQHZlhaEqNWp2RSbMhJ9AsLvABVxhIZggOWVAxW7YKYrN1qtxbbjUGsQe2LBdv5Uv7zHFwkErJpekyXaYpHzAdX0vuPJzRI5M9i4cxBJ4vZthCcY9tDFzbnnIBZZnp9bxZkWhPe0brHK8tDiTsiJGY/8DMupvh7CaOn6YGZPb66MSFv7MJulb5d8+WkR+oZQmsS8ij75H4wb9vBq0sw45rXQTXpe7njSZEixKIHCvO79fGr28IF3Xb35/73SWwOi0V017u3PH0F2c38JrwnCRloyQWvfeGoIxQjDB2Cixz1N/ZNAilGRODl0u5UC890lgD1zPtMNxK9HVpWxwQdG1Q54rSZxfyz2PB+IYaqsQSzIXgpaKGfnLZNRPAOZ1uwpp/TyIemSl2M/R5d/pfG8O0ayni5rzk427NEidA3B5zfgB1KgmseLCVz1 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)(396003)(376002)(366004)(346002)(39860400002)(136003)(230273577357003)(230173577357003)(230922051799003)(186009)(1800799009)(64100799003)(451199024)(38100700002)(8676002)(8936002)(4326008)(44832011)(316002)(31686004)(26005)(6506007)(6486002)(41300700001)(4744005)(6666004)(478600001)(6512007)(5660300002)(83380400001)(2906002)(2616005)(53546011)(66946007)(66476007)(66556008)(86362001)(36756003)(31696002)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UVRsUTNTUXpYakZUc3VSekZaQVJjQkxZY0RKYm9ISkw1TC9zbDRrcExWU2xw?= =?utf-8?B?RGRabUNXQUpLRHNOZHZzbGlIQUxjTnl3WEZua1ltTU1BbVY2MlRYd0JWbnpU?= =?utf-8?B?dWUwcnJ2U01zY3hOZ3kvRXMwanlCWVh0bTJDOTNiNXdKRWYwRUl0bzVWMk8z?= =?utf-8?B?TjZnUmpxL0k5bmxpRE1XNlRtcldlWnJDRE9WRU9CQ21GUE11cW5XalNyYjd4?= =?utf-8?B?VitIS2VpOU9hT2x0a3hiMFd6SFVGc2pJQWhidXRBci9Welp0UldHYWpSTFRr?= =?utf-8?B?WlB5cTRiQW5qMjVubXRzaG1SN0U5TEtJSE1Pcmpua3NhaVhzVldqTGFHMWxN?= =?utf-8?B?MHdyU1hVYTZzLzFWN2dZOFBBRit0d1RIdFB6OVpmbFBscHpwRVExQ2t5Nm9u?= =?utf-8?B?MW0zODU4VWUyU0ZjT0RoTzMzWStwSVFHaXRtQlhralQyM3RuL2QrUFI5MG85?= =?utf-8?B?QVlCYTFwVXZxN0p2cDNOSE5HNkdDMC9HbDlaU0JDc1RObkd5TGJTNnlyTnBk?= =?utf-8?B?Q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wWXFR?= =?utf-8?B?eDVOaGF6Yng5UVQvM09CNFN5bFMrQTVDR04vNzRTdVBPQTJ0cExKSXhWejJo?= =?utf-8?B?Nm9lMGw0dzExb1hGRzdqYnJ1Y2hmaWpGZWlkS2JvbnVEcXlsZHd5a21ISWlW?= =?utf-8?B?THg1WHBwTzM2QWovOEwyVkVIRC9zTDcyM1p4MEw0TnUxMFJRYzFybU1wU0Fj?= =?utf-8?B?U2N2TFNrc2dxUWdTSUhkQlNVTUV1aFUwZ2hSeUFDdEFSL3cyL0lYQ1ByTXdM?= =?utf-8?B?cDMvcTNnTFZYMXBmUkxxZmlsYUoyTTVUdm45S1lOeWUrempJejN3eEU5TzVF?= =?utf-8?B?MGQvUzAyNTZZdEdkK0tUYlhmK3FQRWg5aEpwSE5sUm1kNFJ2azhqUkwva25r?= =?utf-8?B?QnI2TjJoT3pYN2VLakpuM3E0eUcxUTRmUTVhSGRZZnhWcWdSOEJUYmN5Q3Zh?= =?utf-8?B?SER4VlhSVFFzRWpsdWRtUmZoei95UHBDN2EzSWtHVzA2d2NCVVdVNFVPREw0?= =?utf-8?B?RW5DaXdqOWVjYnJCc2VKRE45NDNyWm5tbUIvdHN3V3g0L05IMEtIdHZqNlJR?= =?utf-8?B?RW1DL1ZKQUxCZGU2WUxET1UrdW0xR0NFMlVRY1IwZVZKNk9OSzVKenFIYzRu?= =?utf-8?B?UzhtRk15WXRpY0hxc1Blb2tuYWdnYlZWMEIxWkh6TlJvVWZjeENkSXBVaVVm?= =?utf-8?Q?sq28AKyZFynZKiLLjzB70MHti?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1823040c-d3e2-4614-3424-08dbdb09028d X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2023 18:33:14.9193 (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: taQxjLE7Fsnq1HZEtlJHMaogxY525FnQc8mv7aXN6N1mZIpNBtxUebWRNllG/nbI X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB8531 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/28/2023 7:53 AM, Chaoyong He wrote: > This patch series clean up the NFP PMD, by: > - Using the DPDK macro and API to replace the user defined ones. > - Remove the unneeded macro and logic. > - Remove the duplicated logic. > > --- > v2: > * Fix the compile error. > * Fix one check script warning. > --- > > Chaoyong He (11): > net/nfp: use the suitable helper macro > net/nfp: remove the unneeded call of underlying API > net/nfp: remove the unneeded check of process type > net/nfp: remove the unneeded data abstraction > net/nfp: remove the redundancy macro > net/nfp: remove redundancy logic of init control BAR > net/nfp: use the DPDK defined function > net/nfp: replace hard coded value > net/nfp: unify the PMD name with macro > net/nfp: extract a helper function > net/nfp: remove the redundancy logic of representor port > 'struct nfp_net_adapter' removed in 4/11. Series applied to dpdk-next-net/main, thanks.