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 6379545C11; Wed, 30 Oct 2024 09:28:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 47B1A4335C; Wed, 30 Oct 2024 09:28:25 +0100 (CET) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2094.outbound.protection.outlook.com [40.107.102.94]) by mails.dpdk.org (Postfix) with ESMTP id A620B43359 for ; Wed, 30 Oct 2024 09:28:23 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ybaleCXDWcxmcxMpukLBXXKIC1qIW9dAslUOfVpqSb85mIH+jkcd11FJdWoOnI/KLJAtDEIlw8NKD/9fVGb7gQ+IWAScEvEp8ql0U4VCFpyXLj4znmziogHDVwKpJGq2YeqX1sab9DniMQDoUxOlUWjOxTulE69giQHOW933ARgXKY4+FAcht64kKwz3qWn9VLsTTsdOwOOEx7qlxoY2CEgRwfYy5Me27fUiJZcqEQQ9FoH4o+dYFIkE8vR3/FaygIi+7iOpZxBR98i/5k0axdVeBv0++CY0bsf5Wm4P3FLKN+5QnyXFX+HATtS2bggcRsgKKN1BphAu2/yZmWrv8A== 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=SBsoLCQPIo1ltzzsI8wywgBC7EGa+h9M/r5B3S3WO7E=; b=UTehywgygr8DmFFt/vIftlOMSruIewpWzkMxHMyeq9lNpoYb7mpqmRYKTdGwTOPDpiTzWsyb4IbxQKuBX5fcOyy/Kq7f8Wrjaq0UZ+rRxe6KMfhshoQtqTzSCI+IIrp2eNYJ/hQWRPqrCz1ZdADZ9ANMgd4woQFEWiqodEkIhczAEEL+FsWyt03ZvJ3cuaBJmPw55OKS7u56AVfHe2TQDy+f9dUymSSaUjoCcY1oHvfXgvXdpYrtpYzqTyvsFViyEud2CGnLu2YIW4AZVUtIM8WDqy7QSvI/Kssm4Gu4h4BHrga6yreZHPprN5gSyQXh0614rQcq71uzNY+GxChGmQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SBsoLCQPIo1ltzzsI8wywgBC7EGa+h9M/r5B3S3WO7E=; b=gWKoqnRYeIlcZajKrRu2mIxWHxfpblHvusLkCxe5jMZsTW/ZVNijfVVp4W7gH2miPdKAE2jfWXGAXG+fJxJU5OE6E+SO5NooB0jzrzEhbOqOuzLilgbuBV79F116hNJtPqUomhfWOqeDjzX/JlucATTT+JnL9qJra7LX/CZOaMw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by LV8PR13MB6775.namprd13.prod.outlook.com (2603:10b6:408:233::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.20; Wed, 30 Oct 2024 08:28:17 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::b900:5f05:766f:833]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::b900:5f05:766f:833%5]) with mapi id 15.20.8093.027; Wed, 30 Oct 2024 08:28:17 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He Subject: [PATCH 0/4] NFP PMD enhancement Date: Wed, 30 Oct 2024 16:27:55 +0800 Message-ID: <20241030082759.209617-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.43.5 In-Reply-To: <20241030081910.209308-1-chaoyong.he@corigine.com> References: <20241030081910.209308-1-chaoyong.he@corigine.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR02CA0120.apcprd02.prod.outlook.com (2603:1096:4:92::36) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|LV8PR13MB6775:EE_ X-MS-Office365-Filtering-Correlation-Id: 163f0952-e61f-4e75-1ad0-08dcf8bccde3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|366016|52116014|376014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?RzI34ppOIjYBDC5Z6SdxFYVbYTqdcaxOv/h4njgDlmczg1zNrITDxpZLGqLJ?= =?us-ascii?Q?qo9UMN9TnnT+lfNiPkpbtnmOvgh4zfH9Pj/pH+Sbfl9Fz0LqWlfsguMMZoNj?= =?us-ascii?Q?mtRrKOnMjiTLEnegNJLZf6Rka2+lpcvCBGgqQJ7Fl3ToatYBh2nnfbERrt2P?= =?us-ascii?Q?71vBrMz5WCzsVObtqE2g/6QbEWcExzKdyaef7hfynGMxPAK6l0Hii1CPcMm1?= =?us-ascii?Q?5dPxgF8mb/UjsRb6g17XWQfDM4nujzhrQ5o3yMWjDYnklF2Pzkg4oZzt2wYZ?= =?us-ascii?Q?91Mf3AG0FRiUMUMKOGcAr8/ibltr1/F+nG7kY1pX9P3tPRJ2sNqWqYdrqKK4?= =?us-ascii?Q?U1cKT/8EgZhMsumX9wudbYGuamE+T+i2c3Je6ELRtZ0FuQN/GcqbD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HTA8uJJCqQmQeYX6hEy724eXQrvLDWYkrBpKCYG5Yi0I7uxZ9ZWsAV?= =?us-ascii?Q?AL+lbjKz6FKSxJ5q8FVep1ljhxuSl53NCfk+7fwTPlGeUTcaQpqx9QuhsrW3?= =?us-ascii?Q?E4ph/0E=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(52116014)(376014)(1800799024)(38350700014); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?TCOxrr914sNdWEsMlQVvwih7dQ0XjWcKmip9vHM7Vfxq6REIqYmbVkqu9rr4?= =?us-ascii?Q?TzCtjfJFEJMeFVapgxRLfuvj8bc8O11QZbhU/JkCeWbXHzknqA6nFNTNNqHT?= =?us-ascii?Q?+JlJTQKLpTm3n68YJ7Chkn1qYfUM6/ucKDpPvRZOrP3B/9ksOQ529+W/64Oa?= =?us-ascii?Q?3ktrD79+guDpwD38T/warj3f0u7gMTR3DulspAS5fG/jRfsvsap6HxUfx4Tq?= =?us-ascii?Q?DvJjoRcBbkIJZ8gULmumkxL/ZddGtZ1z7epjsPAxQX8OGMkyEXER6NtrOJbL?= =?us-ascii?Q?q8FV44yvcnVh6d4CPm6SWDAzD1eA/SLBIv+QfNTrT6OMXyLXU5Y/6aFOA/LP?= =?us-ascii?Q?yJvRz+rqrsyxjmtDU/cQm2oSuZgJxm+APhQ+VPQTwcPL277UDkhLHJDJdVoH?= =?us-ascii?Q?4TuDh6i/wbskDRIQXqSyMUBKUKPdCakep93HKSZ7CrwL5a4pxd/y0c7FMiaK?= =?us-ascii?Q?z5sQF7khkDmaCaAFoMv13hBxCxV1aDovJTQXIHKN5OZiXzjhuVY9L6oLYMPV?= =?us-ascii?Q?bQi9Idl/sRzpwo9rFVs0jjwpmlJxtlyYBKM4ku9e8Gb2y/9yTxPVjTNyKqux?= =?us-ascii?Q?vVGsOm9yMlT4onU0bTLz9ZUcEdiAPEHz1VSSFv650pWMXglPpbpLzt46EWZE?= =?us-ascii?Q?90mwtijyHWTznWgg2M39Pg5vNzU71uegGk3/CJxrFh/BhbQUjm/K0b1RXZUb?= =?us-ascii?Q?xXImF9/c2JV6qXYDc/rDJuonPkjQDlTQbkIaxuntrYp/e/Iu4Zv4nCX45LgN?= =?us-ascii?Q?wsDIgfQ2vbmaaXXnxI8uyuk2zc5tfZ0rx29uVL5A9xUoDslxPjcCZ0JfzN4t?= =?us-ascii?Q?tMkLDG4JmDjCMP1lqVHezJx2E6NRTRM+K0DkrU8p4mSw+P6dOWMDx6B618hB?= =?us-ascii?Q?6sq2Krml7vOnk+wTkuFl+5KBllveTivSaJvPGPzchSQY4TCTCClhlfM40XKE?= =?us-ascii?Q?wqTytu+e/LbvqVbPTts3EiOzLMEiQCRBdkCUZaG8vEJECQveMflzynjLUrNg?= =?us-ascii?Q?gUvs2r22eIGcPF8BDExgKq9WKtizOAnGybqVO64nbMr8trijJAR/ALbNz0y/?= =?us-ascii?Q?63QFczEeFNRRqN8GtyhK6TyJ8ANR4+K3a3m7isS/VJ8fIk0+++jq1Jfl4sgb?= =?us-ascii?Q?p1ucc19ll+kEUftD0yxvjxkZGkEj6gXwNFhJT5LfJUukXJH59Obl9J9vvvWt?= =?us-ascii?Q?a43Qcb4PVsIAlha++D83qK/nHGXeWI9/C44c6KJKUIRx/Io2d3BE6dps8ovM?= =?us-ascii?Q?kismeHQBqoG2Twmef6I58/ew4eezgvGu/AAek2dbRbVmA/2KWWYkA/Uu8otg?= =?us-ascii?Q?SG2XITxMxelThqTz0FQyIGBICk+AlB8HCTlE+oXPRoGtGkwz6JYlsnZ10vwv?= =?us-ascii?Q?e38FTDZQScEEwRebmmYXggscVWd8FdTwfDa1nECwtXfY03goaoe3XL8FLtwH?= =?us-ascii?Q?fVixnCivTg9wFTvK9+lyX+3zjB4wkhyX3JFtafuwuIS90EwlT5Sy7jWmNfw5?= =?us-ascii?Q?1IT+lbcuBlZItlwm4dK8vcD2n6eSBUovXpNoQaOAQ+SvqyAbLYtaXMpdN/hm?= =?us-ascii?Q?qztXipW07yL0MyLOzkpKWh5NR9NGPUwQg7Em9VZDDIeWscen6F07mPfUdhlO?= =?us-ascii?Q?xA=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 163f0952-e61f-4e75-1ad0-08dcf8bccde3 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Oct 2024 08:28:17.4737 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 9I1X33KHVvrydisSdKPwDzoojpf3WlRIw8NVe3yXk/fBWZsi+WfF3TAhYADEu6BOIcTUTlHUq8Ztd1vUt+AdNJpa2ojxOlR47GpdujorajU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR13MB6775 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 This patch series fix one problem imported by mistake and add support of two new APIs. --- v2: * add one missing commit. --- Chaoyong He (4): net/nfp: fix port index problem net/nfp: extract function to check physical reprsentor net/nfp: add support for EEPROM functions net/nfp: add support for port identify .../net/nfp/flower/nfp_flower_representor.c | 128 +++++++- .../net/nfp/flower/nfp_flower_representor.h | 1 + drivers/net/nfp/nfp_ethdev.c | 7 + drivers/net/nfp/nfp_net_common.c | 288 ++++++++++++++++++ drivers/net/nfp/nfp_net_common.h | 8 + drivers/net/nfp/nfpcore/nfp_nsp.c | 96 ++++++ drivers/net/nfp/nfpcore/nfp_nsp.h | 10 + drivers/net/nfp/nfpcore/nfp_nsp_eth.c | 36 +++ 8 files changed, 568 insertions(+), 6 deletions(-) -- 2.43.5