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 8280B42AE6; Fri, 12 May 2023 16:37:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 61A7B42FA0; Fri, 12 May 2023 16:37:51 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2089.outbound.protection.outlook.com [40.107.220.89]) by mails.dpdk.org (Postfix) with ESMTP id 18F8742D3E for ; Fri, 12 May 2023 16:37:50 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NAZkiRHnry8dFvfZbqGFPPKqxcJnR3EuQOrfBYcN3BhqnSuHgBXyBO1asAXYawa7vpE3WV0Pr/uejMa6v3Yf8zsa3JnI8b7yN3FB66bkdw9EhcV6TkE/UJ2HUObl72tDGPzwEEa5AXL46JtQR0Yo3QDCfJr4UB3oB7FWTjy3T7bYtcTiN+wyuyEpo5YN3oW8tyabGqTMhnCrPOxWtSuYmmfrGRI3NB11vZb0QAgn40pG2Q0LdL65VIGn5/xkz8sDswGwyyZlbYnkBMukNOKYgMfKtELk/JoLZNvNl4QhhSxxjRDtZcnhzaw8o0ixdiIDxPkZf+I5TLTiHDEHZ1iGfA== 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=/Zc/X3WD/b4JoC0dwujg06z0F2OZD4Agrdvmd5hVsGM=; b=CIKN+mwbJP/L4wjWn7Wwr/+3j44hQiTk2kViEiTDGKMjY3PRNna+gUG00IS39oPxPZO4kRp1+wuC4lSw2NYcS+HjHbti2lMcDKHGIkzuz6HOjbR8ofiadGNBvJ2iZSCVy0TSxQ1yQcyjgBOBRgW6kNnJFC6NwMKzonDf+y1bo1pkzGcu/u4/3vsw8IlGeBVEhEmPwRQDnAxPJ83MmT2rACd1nDkVRIw5OKnKwEBWLaohcMmsX9bKig7Fzdms9pJl+gE2dhDrQnC6Ali1EmmoJ6y5dTvkviYJUvG5YtBbNr1EyDtWLS14hW9uoNXl+B/nwKRIYvN1FcWpg5N8KXCcng== 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=/Zc/X3WD/b4JoC0dwujg06z0F2OZD4Agrdvmd5hVsGM=; b=xitVHXp8rvtIjI1Jtmk20PzU5DEu7eTHVIMaOtphLvZc0NO6xCH4F0AGbiUpfFI5Zk//c+WFGlasgCYBgIEMZ/C/gnPcCi4QPvI/E/BZJIz3/JS4Sh1VOjY1KWHpmRK3xIoLRgQasPj7/7m5xX6zux8VGQC+h5Bnwsgy65HdPoc= 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 PH8PR12MB6987.namprd12.prod.outlook.com (2603:10b6:510:1be::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.18; Fri, 12 May 2023 14:37:47 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::7957:641d:6aba:3f9a]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::7957:641d:6aba:3f9a%4]) with mapi id 15.20.6387.023; Fri, 12 May 2023 14:37:47 +0000 Message-ID: <2496c7db-0746-92a1-3392-b5ea218b1476@amd.com> Date: Fri, 12 May 2023 15:37:41 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Content-Language: en-US To: Chaoyong He , dev@dpdk.org Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com References: <20230410110015.2973660-1-chaoyong.he@corigine.com> From: Ferruh Yigit Subject: Re: [PATCH 00/13] Sync the kernel driver logic In-Reply-To: <20230410110015.2973660-1-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0205.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:318::19) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|PH8PR12MB6987:EE_ X-MS-Office365-Filtering-Correlation-Id: c6227d18-7373-41aa-1f00-08db52f67409 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ghsdJla23kt8XDcjx+ZJx8W/9PHmQULI/oKgEjgMWdkmOchNF7wqBGZnz1FfhZWj26Ypaxa37QtGGHaP9vB9KPX+4cE8ZWSjAu81iH1iHB3Q9guizORJSS8uyp+YhNwygevUXusY4gTSOx6RylRxH9v+t71Ro1R6P+BJ+cTN5MVVXUhC0BWSIBKI55oMslY9a6qN14a/LJcTqu1E1A5lPGZzpP5/Lt0QLfak5R3ToNWXmhoBneHWz1rSMpyUfYUY5OqAPBxYIO273Usnz+fOWWvmj0Kysfs8+rDmctIZkghd1vPsKp47vjrnhPlopUHt63bOX79BzYBnsR1sX40RAvZ7Mhy2qoulKjxhqoo2d1llgTdWj68yTAEoZs9xKnxlEYFbExLk7pd+AiJ0QbZBvc7snG/+UQxe4XhZfQnobgdBLtj5Hj7HpO8hTg8zCWFGAFxcWcR7vFsQPpdLX8zy7Ib2cCSj7g3NlxmOpLZyssQp2cI2F8zRKU2rPvEiJ+zpBe8cfii4+v114GCgjelrJrpi+KfSTSOQVJzMVTcg6+/yf3xN7lhbiNsVINpgrepwE0n6876SDgSSv4LGEhtgx8zn1W+k2ZBqSIH+tQW9j6FQyKL4JiJPRa6amYvDQZuxC2nU9CAjoca/QnAqyfpbig== 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:(13230028)(4636009)(346002)(366004)(396003)(39860400002)(376002)(136003)(451199021)(31686004)(38100700002)(31696002)(86362001)(36756003)(6486002)(8676002)(8936002)(478600001)(5660300002)(44832011)(26005)(53546011)(316002)(6512007)(2616005)(6666004)(2906002)(186003)(66476007)(41300700001)(66946007)(66556008)(4326008)(6506007)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?YzZodjZUWmVnVGxjSXNjSjZJYmxWZEY2RVpVZEUxb0NLeVBXaVVsU2JjdEdD?= =?utf-8?B?UGJibThyUTI2c2xEQTk0SDdOVjNmMjRiVHFkQThCTEdUZmlGd28vL1pKRjN6?= =?utf-8?B?S3ErUlljWTJuOG85Nmw1YlYrV3czNUlWcXh1RHAxeEduRFozUFlFL0ZuZzRE?= =?utf-8?B?TU85T0Z0M2JNYkVEM2VaQk1MbGdVN0Yyb1ZYTlAxMHNYaUY1SHlKTFM5K0s3?= =?utf-8?B?TDlHdjdtZE1zdW81OE5VaGkrNEhEcml3MzNGRHh5WTkvSW9JUjNUeHlYRUF4?= =?utf-8?B?c1RCV1ZXNlNCSVRDWDlGZnN5M2R0R3pqaTMzaXZVZkIrYVdJK3J1clVNM053?= =?utf-8?B?NWwxMmEwbzJUd0hNNmV3OFpEdC9zZUI2NVE5MEJkU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ossTenant-Network-Message-Id: c6227d18-7373-41aa-1f00-08db52f67409 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 May 2023 14:37:46.8454 (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: bKeV3b3R77lOdNQwJ/m2n/uNmvTce3Z0iJD1cK5gyGa6tP2GE1MwfblCFnjTTjkN X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB6987 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/10/2023 12:00 PM, Chaoyong He wrote: > The DPDK NFP PMD share the same underlying data structure and API with > the NFP kernel driver, because they use the same firmware. > > The DPDK NFP PMD only has a very initial version and not changed for a > long time, but the NFP kernel driver keeps evolve at the same time, so > the differece between them are keeping expand. > > This patch series try to sync the needed logics to narrow the gap. > > Chaoyong He (13): > net/nfp: define correct size for configuration BAR > net/nfp: move shared target logic to own source file > net/nfp: remove the redundant macro about CPP target > net/nfp: drop usage of return error helpers > net/nfp: use generic macros for array size and to set bits > net/nfp: remove dead code related to CPP > net/nfp: remove duplicated nffw defines > net/nfp: move NFD3 logic to own source file > net/nfp: adjust the coding style for NFD3 > net/nfp: rename macro name of NFD3 Tx descriptor > net/nfp: move NFDk logic to own source file > net/nfp: adjust the coding style for NFDk > net/nfp: modify the logic of some NFDk function Series applied to dpdk-next-net/main, thanks.