Message ID | 20240801105313.630280-1-hemant.agrawal@nxp.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id ABB9545710; Thu, 1 Aug 2024 12:53:31 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9E7C840DF8; Thu, 1 Aug 2024 12:53:31 +0200 (CEST) Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011004.outbound.protection.outlook.com [52.101.65.4]) by mails.dpdk.org (Postfix) with ESMTP id 2A28040270 for <dev@dpdk.org>; Thu, 1 Aug 2024 12:53:30 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=vJaGPJHQekSfBNZgWl7tYSgnK4MDZ/y6hIrA2XPPmS4XU+v2tCjxTsx6mOHIbYmXQ8DVTe54inoYkO7IHXz3QnDRPreTSYgnHROgCtJPIH+dINsq6w3jqcM/Nl56gz5/d+lWGweB8G7A9V5BryZ+w+Em1wp62kCK7h891eyXniNT+5Er05CRg18EwfmKgwGTK29L7RUj1OtVHJ21H+Bhua3Di4L3Q18sCgfhJ/NpPCP4QPrsAmAUzU+rnwE/kWAPT6sTrvFQ0HyTB5gXBRJM+P1SXnmKHpCA4clpuMSiBqmnq6O1U2yt8giHyQ4QheypO5uyat5bl3gfScdxAToYRA== 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=iLZiUftb5hvWleQV96F1pE+yar7fVNDBJMsfTBItv30=; b=AvjAo52h3u9wLYlnHQ6+tNd5o8Lf2OmfOL1uhB1LfgKzCHCjxVACjWFBP1fJnBu8E9bbGvLRw1YSJABPuDu+7cnECDSrBZvlzObF4ffsZg4zH/iZMC2UQG8fzAyIzEzQHolVNZYjcqcThMHEj87eY6nQtbbuw25v4gyb9QknocxiqTf0lJpZT9T7f/2UzOtq4c16Lrr1qNlDtHDf/66xdsXiuRaxBv7sRpSXvNK6bLmDljjwl2C7l6/DPsy8jNAq2BQUEQ79FBYp+jP7ysz3/wFhohmbRLYSpIfVPgerQJLIAZwCb1krgNtW+QXKYCGv4mR1YbZu7ygX/xiXHSttTw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iLZiUftb5hvWleQV96F1pE+yar7fVNDBJMsfTBItv30=; b=WwJPOz5uzh2ffkC856YT3QWJakrdjVSZv+B7C1ZEdzscxNkOIT/JZXKRawq6XT7qfBom9lWFaImPyV7GQrLkxxWxGFK0TxFI3VWYPwQ8aq1IWd44HHsHYJ72X5Pib+fr3tJOq/xJgOEkkI5nz0vJOIZbpFs/V2nx9vvOs6TkG5QfQn65r5zv2bCiXIJB2rHQ4mDbGkUa14+O1epJRQmMCAm2+zPdjEqmpnv66bSadgV+iRP+Crtm/rHm5V+NJJnaFgTiABUI4ItAiHy1a0yUdlnzAXyT/8sL5WvJtOkN2IriXotTMetzOXbs0rQ2Z9/OQR2Nu/zxmBnU2aR3R4T78g== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9328.eurprd04.prod.outlook.com (2603:10a6:102:2b6::15) by AM8PR04MB7377.eurprd04.prod.outlook.com (2603:10a6:20b:1de::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.22; Thu, 1 Aug 2024 10:53:27 +0000 Received: from PAXPR04MB9328.eurprd04.prod.outlook.com ([fe80::367:d59:375:fb87]) by PAXPR04MB9328.eurprd04.prod.outlook.com ([fe80::367:d59:375:fb87%3]) with mapi id 15.20.7828.021; Thu, 1 Aug 2024 10:53:27 +0000 From: Hemant Agrawal <hemant.agrawal@nxp.com> To: dev@dpdk.org Cc: ferruh.yigit@amd.com Subject: [PATCH 00/17] NXP DPAA ETH driver enhancement and fixes Date: Thu, 1 Aug 2024 16:22:56 +0530 Message-Id: <20240801105313.630280-1-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.25.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2P153CA0026.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::13) To PAXPR04MB9328.eurprd04.prod.outlook.com (2603:10a6:102:2b6::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9328:EE_|AM8PR04MB7377:EE_ X-MS-Office365-Filtering-Correlation-Id: 40ecf3a5-d10f-486e-4229-08dcb2182c83 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|52116014|1800799024|376014|366016|38350700014; X-Microsoft-Antispam-Message-Info: 9oDRMtQmHHYVNFrj/8yVHK4M6jEusfWQEPdHAY1ElXqhE+ijnt14oQBrej4quHrenDCA351GX7CupCLAXGlxGNymW/2X2gWfdRHTZnBVl17llzthTZPhCDGRyVnAQF0u9UJMtc6KNZRkrx4lSxQ2If7eTgp9qRn3EqHx3i0PCTHymzPH9tri28sh044SXxKTuhcXfq7Xc9zbCO6tJLitQP9hDC4TDnjw3sDB2Ue9AmOd4XgGUdTrrYumbGAYo/DtlndGGi1mQpXxlZ9XOuuCy5hU4FY1SNf135whJISYlkZRRc5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aLBuzzpkKAz8afjKZAc3SW7sO5+mpY9HoA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR04MB9328.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(52116014)(1800799024)(376014)(366016)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: IG9O3vpoHIaMjNuzQwsO+azXJ5QCAyXzDxw26WxRWFvrEz1NQo0x6PylbVYzI0j8pVQQ9tVqkapY/1Jj+ILV6aFbN380NbSAVtg9T9DYbX8UjyOgXC0lebBcoIiS20YDqlzOOiv95fsh9d34YYY3mZPqXzMU6p4gVkWAoiXH0kBM3lbQWO5FV2lV5ZQd69gZAr6gVakkrNAlH6gzpFV8plMtzYkVq8yG+0gD0pupPTZBSanybIxq0zzwZyMsFONZ8g8GbXiGsBkeydUBxGdBItglsqcaDfIxsmTo0/2ROZmhoxfjZK0WFPLCgyBtYv/lpki69LrwB2+eHozS0b+XeJVJOXSwpou9MZaazkNr0ns1V4zEnO/HOIzFQi5O32Yh2eNA9uSDCfwmG38Q44zXYR0zzHi80pqkoZzA5oa/eFkY0rkLhpLjsBk+GB0YXwu3rcjBConzqXB8wYeAIGCybsH1jqONEJ7ENQ2kz3RL6pIcksukrqPcV71JUtAbt0PLI9HNXAY6S0g214p+Xem09ZGUo+EIRAjsVL9hSbegBqq6YH1eocg6e+z2hwDyr8mKpeFzfuMQSG+xHC8DueQbtq2Otez4lkg/hm69Myt/E2mz6nCWdZAfES+2vqPLuaoGHwTo7hsrkbCFVWi+t5dtFIjWtXtqPMR/RJ9Kd+Zmy6h8RPxQU2a34yE0vkT5nCm/CiMWfvvzWdSe+7Pvq7yKUtceIJ8Zumu7qAyqQmpcI5YlYJP6dv7sLxmQMZIEgDuog0Al8a+cdtV62kVAKeWSW+Civ+yRpo18AZfaC4V2R2PPc1b/THdUfQbeeBtIs33drLv+3jbGeSm5bYDPTYlruQSN3Jj/MdWpjV+4BryXK5OOF9JGfFrh4IPtktyDm9oA4azTzDtLk8cCBZVQlvfWQzJdcrWb7OjkTEbIA7C3aYxVtZiOLav2sDBPdqjgDeoTBqhQ6ISL2ZdAaxLB7j5fcEDcNybB/YQo/4DICKVkhuXu56dPa0tVSIcStWmOyZNJbR+JCL43zrCL79ZSqkBj9QQedpuYC47R2cV+28EPQ1i0pz/Z+JxHlkFML3XFjL+Q10UPq4PnRkIojveV5bPUZOb3ou36CUsbs7jV+cgjj0p9IoiY8dEogR83eybn4iZq0TypyhXw0I3XGM0zr8/1tSzEBSlkch7mWL5m/KnluAsL2CICB8Cz87j/YM0Qx2TPLj0ifrkJN7TClr2Oe+tuu0iA5U5LmxBTj5IWorCrziXzfqcMNTOkyqfSEzu0Ds42McXWZo41siKwwRYsgVp3X+/5gdK5QmSaKUcAmvGXySXUWrqBU0IHy6SgEptCoRf+Gl6ZyhpBmw6gMHqIO3CLWQsteu4DBXJqzyy/s+KZeHMITFHKYAGHkfbadoznovlyLW7WIyD7frRN9Kz/oqRYwmZV9sR+zGCMZGgd4CHObddnPqtQEN0l/KRplr0bBF6A0tJtsnVn7wSmx5xfAFo7cBCD7h+4PSNqTaspBSw0lv9kJeQAXt+5UyagrumzVXFD8uWfNKieCEuodY/hK5H6xFb5beFyeL18eMUg9aPlT1yuVHLzAjoio9ntQyEflGMiSqxdf/zuulqo0cys92N/tQ== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 40ecf3a5-d10f-486e-4229-08dcb2182c83 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9328.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2024 10:53:27.6954 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: /QLkx7dsF4vCe0xEwdLg91ZJtMCpNt3yNkJ6KFnFDSL5nOZVvxGJUqb2faOtOOWKPAitxZ3tIwY7Y41pkQpXbg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7377 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
NXP DPAA ETH driver enhancement and fixes
|
|
Message
Hemant Agrawal
Aug. 1, 2024, 10:52 a.m. UTC
This series adds several enhancement to the NXP DPAA Ethernet driver. Primarily: 1. timestamp and IEEE 1588 support 2. OH and ONIC based virtual port config in DPAA 3. frame display and debugging infra Gagandeep Singh (3): bus/dpaa: fix PFDRs leaks due to FQRNIs net/dpaa: support mempool debug net/dpaa: improve the dpaa port cleanup Hemant Agrawal (4): bus/dpaa: fix VSP for 1G fm1-mac9 and 10 bus/dpaa: add port buffer manager stats net/dpaa: implement detailed packet parsing net/dpaa: enhance DPAA frame display Jun Yang (2): net/dpaa: share MAC FMC scheme and CC parse net/dpaa: improve dpaa errata A010022 handling Rohit Raj (3): net/dpaa: fix typecasting ch ID to u32 bus/dpaa: add OH port mode for dpaa eth bus/dpaa: add ONIC port mode for the DPAA eth Vanshika Shukla (4): net/dpaa: support Tx confirmation to enable PTP net/dpaa: add support to separate Tx conf queues net/dpaa: support Rx/Tx timestamp read net/dpaa: support IEEE 1588 PTP Vinod Pullabhatla (1): net/dpaa: add Tx rate limiting DPAA PMD API .mailmap | 1 + doc/guides/nics/dpaa.rst | 9 + drivers/bus/dpaa/base/fman/fman.c | 583 +++++++++++++++++++--- drivers/bus/dpaa/base/fman/fman_hw.c | 97 +++- drivers/bus/dpaa/base/fman/netcfg_layer.c | 19 +- drivers/bus/dpaa/base/qbman/qman.c | 46 +- drivers/bus/dpaa/dpaa_bus.c | 31 +- drivers/bus/dpaa/include/fman.h | 112 ++++- drivers/bus/dpaa/include/fsl_fman.h | 12 + drivers/bus/dpaa/include/fsl_qman.h | 4 +- drivers/bus/dpaa/version.map | 4 + drivers/net/dpaa/dpaa_ethdev.c | 378 +++++++++++--- drivers/net/dpaa/dpaa_ethdev.h | 67 ++- drivers/net/dpaa/dpaa_flow.c | 150 ++++-- drivers/net/dpaa/dpaa_fmc.c | 421 ++++++++++------ drivers/net/dpaa/dpaa_ptp.c | 119 +++++ drivers/net/dpaa/dpaa_rxtx.c | 386 ++++++++++++-- drivers/net/dpaa/dpaa_rxtx.h | 152 +++--- drivers/net/dpaa/fmlib/fm_lib.c | 32 +- drivers/net/dpaa/fmlib/fm_port_ext.h | 2 +- drivers/net/dpaa/meson.build | 1 + drivers/net/dpaa/rte_pmd_dpaa.h | 25 +- drivers/net/dpaa/version.map | 7 + 23 files changed, 2150 insertions(+), 508 deletions(-) create mode 100644 drivers/net/dpaa/dpaa_ptp.c
Comments
On 8/1/2024 11:52 AM, Hemant Agrawal wrote: > This series adds several enhancement to the NXP DPAA Ethernet driver. > > Primarily: > 1. timestamp and IEEE 1588 support > 2. OH and ONIC based virtual port config in DPAA > 3. frame display and debugging infra > > Gagandeep Singh (3): > bus/dpaa: fix PFDRs leaks due to FQRNIs > net/dpaa: support mempool debug > net/dpaa: improve the dpaa port cleanup > > Hemant Agrawal (4): > bus/dpaa: fix VSP for 1G fm1-mac9 and 10 > bus/dpaa: add port buffer manager stats > net/dpaa: implement detailed packet parsing > net/dpaa: enhance DPAA frame display > > Jun Yang (2): > net/dpaa: share MAC FMC scheme and CC parse > net/dpaa: improve dpaa errata A010022 handling > > Rohit Raj (3): > net/dpaa: fix typecasting ch ID to u32 > bus/dpaa: add OH port mode for dpaa eth > bus/dpaa: add ONIC port mode for the DPAA eth > > Vanshika Shukla (4): > net/dpaa: support Tx confirmation to enable PTP > net/dpaa: add support to separate Tx conf queues > net/dpaa: support Rx/Tx timestamp read > net/dpaa: support IEEE 1588 PTP > > Vinod Pullabhatla (1): > net/dpaa: add Tx rate limiting DPAA PMD API > There are some new features in this series, it can be good to add release note update for those. (But please not as a separate doc update, but each patch adding a feature can update the document.)
On 07-08-2024 21:12, Ferruh Yigit wrote: > On 8/1/2024 11:52 AM, Hemant Agrawal wrote: >> This series adds several enhancement to the NXP DPAA Ethernet driver. >> >> Primarily: >> 1. timestamp and IEEE 1588 support >> 2. OH and ONIC based virtual port config in DPAA >> 3. frame display and debugging infra >> >> Gagandeep Singh (3): >> bus/dpaa: fix PFDRs leaks due to FQRNIs >> net/dpaa: support mempool debug >> net/dpaa: improve the dpaa port cleanup >> >> Hemant Agrawal (4): >> bus/dpaa: fix VSP for 1G fm1-mac9 and 10 >> bus/dpaa: add port buffer manager stats >> net/dpaa: implement detailed packet parsing >> net/dpaa: enhance DPAA frame display >> >> Jun Yang (2): >> net/dpaa: share MAC FMC scheme and CC parse >> net/dpaa: improve dpaa errata A010022 handling >> >> Rohit Raj (3): >> net/dpaa: fix typecasting ch ID to u32 >> bus/dpaa: add OH port mode for dpaa eth >> bus/dpaa: add ONIC port mode for the DPAA eth >> >> Vanshika Shukla (4): >> net/dpaa: support Tx confirmation to enable PTP >> net/dpaa: add support to separate Tx conf queues >> net/dpaa: support Rx/Tx timestamp read >> net/dpaa: support IEEE 1588 PTP >> >> Vinod Pullabhatla (1): >> net/dpaa: add Tx rate limiting DPAA PMD API >> > There are some new features in this series, it can be good to add > release note update for those. > (But please not as a separate doc update, but each patch adding a > feature can update the document.) Hi Ferruh, Thanks for the detailed review. We will re-work as advised. Regards, Hemant