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 A89CD45C2A; Mon, 4 Nov 2024 02:35:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9A04A4021F; Mon, 4 Nov 2024 02:35:20 +0100 (CET) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2103.outbound.protection.outlook.com [40.107.101.103]) by mails.dpdk.org (Postfix) with ESMTP id 0838E4014F for ; Mon, 4 Nov 2024 02:35:19 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rPy3KWsBPC2YbYxisv/UtNWq2j4ogpgd2MhG1bU+eEez+ozQ6nUbiiPHgNx4fvblb+jAi5busmWPJzs1h66zMqlRiPjVTkDJ/Lm++8ttjgWgFXenrwxrE+UpFu09IV6ZmlQvPNnz8RgV5YFo1uEdhYhtceyoFPRsYnSYyMtQ7BcbI4yx8ZrrgcaG5+CkKq7FQhXCqq2GXGMGe9YOBdtsTUlsYwTHRakndwEL0szK59puEptuPPbaabdcW4qvZPqr6WevdsTVUtWu0yYQoqHoGxciCLV44etHhk2Wi5CziYs4lzqZSggaG3gRdjoVdj5mAxFqaLemL2602bBpL5rJlQ== 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=+SR8Ot2zPQ218xGZYJ1g3Xd/iYE9i0jbzUkM+pKrAP0=; b=uT5hOAsQu6SXLJBD8gmr+G16pSIURxJPQ5KPHZl3/hg1ODBhIBnyxV7utQyoUWNh9qYJSL8o9IBaxcYlTfxEbB6UoWMFsUxp5SOm1qMW7CHmLyIG6Nk6VX2mTD/phWXOGzZn0Gga265tBGUKniNMCiGvairDhqhSMej9A/1/OXZiCSEh6QCFA42cMRbXmqvLt6G9KSOHHxmFGQzaQddkitXIQ9q3mc9Ufeiz+lxqFiVkLLvcQlafha1GocRaHusik+PCoW61DDsFXuhyUBIhie2LjKeGsLG8raCidOsFlF+yzcDG+Ukh1XCTJZzHOI/7t5RT0GWlKdmxki+JAxYnGg== 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=+SR8Ot2zPQ218xGZYJ1g3Xd/iYE9i0jbzUkM+pKrAP0=; b=Ydf2jSwKgrnIBICPdYW+Kzj575OdUnW5poWOWBTaZ+O7jDlh7OSV933N7oDCxr92StvxL5JNhA+b40lunxTgUqisFAN+w8kx/Dws8dZ9p0PTsp4aeXJR0yDB1OwqqhpUKk2/kCgFYgIbWeksqE8u7auh5RKNDjPva/w9Mgy6EFQ= 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 SN7PR13MB6158.namprd13.prod.outlook.com (2603:10b6:806:323::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.30; Mon, 4 Nov 2024 01:35:16 +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.8114.028; Mon, 4 Nov 2024 01:35:15 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He Subject: [PATCH v4 0/4] NFP PMD enhancement Date: Mon, 4 Nov 2024 09:34:38 +0800 Message-ID: <20241104013442.308780-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.43.5 In-Reply-To: <20241101025713.290462-1-chaoyong.he@corigine.com> References: <20241101025713.290462-1-chaoyong.he@corigine.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR06CA0009.apcprd06.prod.outlook.com (2603:1096:4:186::17) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|SN7PR13MB6158:EE_ X-MS-Office365-Filtering-Correlation-Id: 7669060b-dfae-48a0-7129-08dcfc70eee6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|366016|52116014|376014|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?6ysgsAh1cPIuKmthj2gDZB4STLF9h4MlONy8ihi2ud7gGqSXr/a3UPxas36A?= =?us-ascii?Q?ILNNmA3eIcASSb7XPM4jEFl6DT7ArvEnTc79vRxlKzTlOyt2r2bfQ4ZaLtFM?= =?us-ascii?Q?yrxUvKQzzPqxVHMFveBwmFigFioBbojisszkw5uqfG3d1w+yR4zBvK+Lts0J?= =?us-ascii?Q?rnTY9PJpr7ug/dmzpgSDp6m3ruqycLLFGNVv7qwVCrcku+NaIXtvu81Hl58n?= =?us-ascii?Q?ZAilpqY7i27dmG449rg7YtwIGq7siIpHB4kQCUBFB/sJlaLfi02u3V/ufDlo?= =?us-ascii?Q?IW4wkiPpiwWMok3RabXPpVeCn2lwKbWTsvG+DeiE67fSTqRoowB8mmxcmrb+?= =?us-ascii?Q?xnkhonLj4PIxV2Dd3G39a7K5hmggcdYkHunazMoRNY5u67vHs61Okdzdkk5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2mcCaMwPpMP+M5oYPxiOjr5SoNSJub+QLHjkoJfi8TM?= =?us-ascii?Q?zEdN05midWOpBBxfncoQ3XdBwuAoYp6WAQK1hFKpEJ49UPl21qLctLU/9SHT?= =?us-ascii?Q?HbvpGrI=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)(1800799024)(366016)(52116014)(376014)(38350700014); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?kaCcvf/9UJ877wlGJrTZcs3mdRmM7xM9IqMkJmbrXfc1e/vz02u7Xktuf4vz?= =?us-ascii?Q?djH04EM6sbGxqiO8GKA6NFNM8YkfBS4Cj4nTBnhIZXofIHHvm3VIVwBtDypk?= =?us-ascii?Q?sdS6tWhaIkfhSP1TEm+BCPd349wKkIqwbtVnl713ea0jb0sGiHxDEfX9/L7W?= =?us-ascii?Q?CTR3+cifmlBvzrZSafHy3VWKX89MbimrUvp3CrbAM56Qc0RteW/jpuZBMbjF?= =?us-ascii?Q?zGgKcLWqe+fvocpf+KSpwyqadGUviXlQewRKYSaeDzpG5kxZ1LSMmk5a8vBA?= =?us-ascii?Q?n8h36ux9Lm4r4LZXxMDe4XSSqyYjlenyNeK0wttdugWa30Wn4HTd6IM7tG7O?= =?us-ascii?Q?1OIqmeQJI6i4KCDpVa+S2Z+qCMUQQECwhBbGD6Wc93S/2r/pkJkZbJUP+u7N?= =?us-ascii?Q?7epWy4HpyjpvmbgsjSYF0IWql7v9ZPMXbEN1Ebil+5hnH78/Pe8y2KwyJRwU?= =?us-ascii?Q?JjtoHkPBDneOBM6f0O2Th+x/SzwxLimVjwNCKW8S/rXg5d3a3WcuA+J18E4L?= =?us-ascii?Q?iuLyN0RyKUdLqjtUeZ4UVbhWz1Zplnk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wrlk1erJ0zwYb+Y2Qyept4nagn95h0kR9jFKwmq7bMTmK/sKAtI?= =?us-ascii?Q?XLN74rAYgsxs8gT86bmiwrv8x8Pcl8GLGzvI11vgrVEvH1R4VYOP0gUuh+7d?= =?us-ascii?Q?yDcWFkLC7UzTN54Xtx09ue4AjPVds7eDfAEEuS/8CB0hrB3qx4iWgsiY5wLh?= =?us-ascii?Q?OA=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7669060b-dfae-48a0-7129-08dcfc70eee6 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Nov 2024 01:35:15.7822 (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: 0HzAU88uR9W1jWHpuN4SwAR8J6qw1MPGwq6E5LLPN95XehyABS6vy5duJyP92zjik9MeZrGED2EF0yBz3rHzUM0uwrB/+YCsLkiXl8MNo4M= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR13MB6158 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. --- v4: * Also update the 'nfp.ini' file. 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 LED support doc/guides/nics/features/nfp.ini | 3 + .../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 +++ 9 files changed, 571 insertions(+), 6 deletions(-) -- 2.43.5