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 A0D7D45C22; Fri, 1 Nov 2024 03:57:37 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 865CC43283; Fri, 1 Nov 2024 03:57:37 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2096.outbound.protection.outlook.com [40.107.236.96]) by mails.dpdk.org (Postfix) with ESMTP id 3076D40265 for ; Fri, 1 Nov 2024 03:57:36 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=G5HELuGlwb3k1LJTjDk2CQsJVlDkFXEorWl/Ga+4ia5y+2aKS0GY/iaaX8qrO8bDfqDRkF+vXT9qh2S+c/m5bCDwKwpd31f1mbk2qhOrpBgfQyKQeOsNEd/tJ6hNbJo6SZeoQeb/XyTv4xQE/9WxAm9cZo/mim6RLgPb6HQihz4IxPeqxuaPFEYqNeQc+fZYnf2yw/F+f3tOXuFMO9lufLKmiDPog3+YLBj2CB8hz94dNtTmPqn0WEEXkgSHtuM+VCfmlfXagpx2SucfIuyzVYyxNdGThAYkL30c5v8BKNzGLyQOC8YcGzm4Ic/7arT0lfMF5nBTJFyMM5rURgjIWw== 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=fLuMP/xscstkwZCmVNX/LoJgKpxFSKUOWJzejthJCuM=; b=ZaFubE0hWA9d9bTSQ2VxFKm1gwdCn03AMpmFzJeUj4MQ2oMruV2hQ5v/qksfukQX6uFpX14oB7hghSy7RfY6Pa2fwpBcN0YtQUYjzyW3N05vzhFcNGSohE/AhsJImILGoxAwkovW9TOd/FZxZForix3vq2RuRKCk1RRBdXwunlrCTuxfpK8fvFuS4p7vwC0nP2l5BLOO8EQnAgwb6TggAT/cfvrcIzIa1ox7BtYmcT9Y7G6MBPK8ih6LJu2tB2i4wYeDSz6ZquYbX5aiSlsVlheX2S5wejYLm03e+KrlOBmXErhdjORpUKQakcaqZb2x4ceH6FzC1sTajYpaF2V5GA== 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=fLuMP/xscstkwZCmVNX/LoJgKpxFSKUOWJzejthJCuM=; b=YAjxzANyh76qR0Af/Ak5iVg4ZS4lfq+XAeOwtp5pEBB8wPoD3GRvGr3tT96vf1iMGts/nO7ieTkfkuujMbW/FIypmlTMAUvHrs9VGyTNdXuijxxfoFtGSufHRxNQSK9Db95z+WYc8CeKVrQeyvqBb2lf+BlYABy8A0AaELMTr5s= 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 PH0PR13MB4891.namprd13.prod.outlook.com (2603:10b6:510:96::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.20; Fri, 1 Nov 2024 02:57:32 +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; Fri, 1 Nov 2024 02:57:31 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He Subject: [PATCH v3 0/4] NFP PMD enhancement Date: Fri, 1 Nov 2024 10:57:09 +0800 Message-ID: <20241101025713.290462-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.43.5 In-Reply-To: <20241030082759.209617-1-chaoyong.he@corigine.com> References: <20241030082759.209617-1-chaoyong.he@corigine.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: TP0P295CA0031.TWNP295.PROD.OUTLOOK.COM (2603:1096:910:4::12) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|PH0PR13MB4891:EE_ X-MS-Office365-Filtering-Correlation-Id: 165c5849-4e70-45c9-24f6-08dcfa20ed73 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?pbBsPsgM/TxtG7uRhl0j+QjHB4rDrOEk2d/0g2CT+vFtNdbpyA5uR+yD2C/7?= =?us-ascii?Q?NwjLHnewe1sUQDFG2OlvWrcIrTp9TZHI8WrH4d3IGG6JY+ZoGrYPItbCk7wq?= =?us-ascii?Q?bvrjVfwIYSYkIAL0rKCcIcr5mysIyhJeBuPlFDIBzA69EEmkys1av+j8ZAe6?= =?us-ascii?Q?dEAOLeTR/ItUB0vX3BMpVYXljT85RyNu3OYOu2MML61tQwLOXWz9NIAxnSKl?= =?us-ascii?Q?4cEqX0n3z5JtemzDJTce5TzpB/Dd/QZsuvq/kcm5+E2+eTjIB98OlSe+yWTg?= =?us-ascii?Q?Wml77T7BYmOVBfkD31NksTSlPgLePJ33nhZcb0Ysy/DOtptJXqIPzZBJ0w6g?= =?us-ascii?Q?jcNDTwzyN084YGBCdpVHlAaQeiogNCpW4k/HF3RJuZYfBZ77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fTgGPfL6lOEWiTX4vgIMbCWC54CGphSeGI6CtClbdoB1HX?= =?us-ascii?Q?qiq/3wmnZIdNG3GUBrLTVPEvHJuR2rj60gre3Fk1TlS18tIEIMxovL6DOBfP?= =?us-ascii?Q?cAlGNc4=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?ClOUmNqlo5n+k5/MhA3B+cLrAU9TGalbK5bf0AEGoHp30P2FMYygd4yKEFQ1?= =?us-ascii?Q?PaR1GaB/AlhYRNWDE7UX8+j3E9bU3sttY/r3Bpgyzpq6xyU2je19TMuqv7xX?= =?us-ascii?Q?Qt5pvAAWZoTX9dUIZ0r0B94E2PB/acbtfJIUZXXBLw8aObvZ+sDCskemKhbx?= =?us-ascii?Q?3ZRhurlDNgEOc+RwWkfJyZtOJvJ38YQ/PWYNuccyXYDX2lUobOtUJlY3tvU2?= =?us-ascii?Q?WcK2q6YR4bI0c5Z/RQSPf5r77LezdVUPcaimwJrvBlx8ubZ2xWSagdSPNeLd?= =?us-ascii?Q?TeUbe+THu9iZIwbGKn/CqG3tuw4B0MQvakx37v+rrTBNOJJ63LFKQwdGYywc?= =?us-ascii?Q?eCFba155uppvt+0hbyuefTon9fQX4Zw2TG7rCNq/ekbYIq7C5K02ziv0UV65?= =?us-ascii?Q?bhU1I/8KPWsvBWeXT81JpWbYvXS9ndmILvAwE+r7VWyw0d7+EpiKN77oR0ek?= =?us-ascii?Q?pNWuX6F/f9OXDkG95fK7R4hnzZBr4KOpvBtLgd5ptNpcyIA+hREZFX4aLPRT?= =?us-ascii?Q?amjSfS8Tf3sBEtUgQ3qRu97skFzMXLig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Vtpd8YCKdlf9V6yA2Aa+KMKHOemaVHDKuCbGu/gnlkmEnu2DC35?= =?us-ascii?Q?JXivFr7L9ZWIhhd7qjNQtbSitFlbJY66p1mdUVsDxI84obDNig86MBE+MgDu?= =?us-ascii?Q?3Z+sebToqepIhj2ANCghG49eA6LKLvahQTBcI15W5RsRQfDLIvG0U2sp3dHw?= =?us-ascii?Q?OA=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 165c5849-4e70-45c9-24f6-08dcfa20ed73 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2024 02:57:31.2616 (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: Qmy/q3Q8R/yRry4qzb2Hl6OwPbldJoowGhEuXehLrJA5CXL9wK1M6YDqqzv891dBD8n+yncb4SnWgHtcC2HeQ3rToV6K3uh7IEYbG/nLS0w= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR13MB4891 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. --- v3: * Adapt to the multiple PF firmware. 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