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 AC65845A67; Mon, 30 Sep 2024 12:30:05 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3E1124027D; Mon, 30 Sep 2024 12:30:05 +0200 (CEST) Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2053.outbound.protection.outlook.com [40.107.104.53]) by mails.dpdk.org (Postfix) with ESMTP id 1151C4027C for ; Mon, 30 Sep 2024 12:30:04 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=R9+Ff8YzE8aGHq1WLBhzjMJknJjVA7Og226Tj8SlJy0dWwvWfsIZCFopGWadr8z6gt4e5VqvRZJcB0tvHcEE2N2Q/OFLNLCl2Xw0j7ZAzBQubR8N1MFxZSmTuEQnkD1mMYRxed+4YlB2tN1ASMhudZ3pebWcXSJEHalcVhhcE/d9KKN+f4sStkm+HCGcSCy8+hyDkShlhOPCah27o9W7qviDCzFbQO5W9VVdvQntIXxFhy16H6Ro7tch6AZecVB8E4RmKGh7fIWR/hC0Kpe1iFTRxf8qXwW3b/WN+HGa2/ByMOsfLBWeFSbX2Q9VXfkkcBtjumgegPhcLrp/cL3+tA== 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=poG3+3/3TqJiZH/oiHu6AhIp/uvoGI5R7E0Qu08JjBQ=; b=PwGy6iVyc2oUyGiybHRRHxj8+pxmZBHnJCw8bipK3niLFmGGScfDjRS68srnJ9fKbpn6tZiLP7L+7qjlVFaUZoBZonq60kK4D3rjIhWvCoJAhsYlJmCphTEboLKA6X8VjQrFN3YcWYdraVcSE2rLDjF0f66cO0JN8edmfsn5tTQ7wrqpt0LFQj9WgXwD5sJuOXL/rspWEBem24zdvFMl5vOUn0ar1W0IhrLbT3arFNdizysDKPp3MnnWO8GIan5kwXQrh0UsA5lBnJY4YCIcHYOZqeS/kWf//YJczKtDioWWGMKvCwK/XZRmzAG41r7E78wchNIhRM8XlIZT/0QFow== 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=poG3+3/3TqJiZH/oiHu6AhIp/uvoGI5R7E0Qu08JjBQ=; b=e2mhFeOHbBYd7cL/Qle4uDG5Lv+fhFDidOIe5WHhgWZKb4fG4SVuZvTYAGLST6makQYLXE0STIE9vGUVYdGmx0E+0UDCmfDWIXD63qpW/pRh4+42KeAMVMnJ3M4yVOlZpX1ErppDPrkIW1VdY/rgapRu5U1eDSn4k5iICF6THxp0gc/SXbg97hsXAcCdzlk8k1Pi6u5rowY8BYGOrYIBhQO9oUvMfD9HmQ7wak2Rpi0Ng1Bz1JZin1psONRxxMqS5MJGxG99pR3rUgUkzHmCPJJPiGfouClTnOJoXYa0LRnb4GvCFcPvu0hTD+C9DIbikRJ85YJDYtR9Vd1ZUJoyeA== 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 DBAPR04MB7429.eurprd04.prod.outlook.com (2603:10a6:10:1a2::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.24; Mon, 30 Sep 2024 10:30:02 +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.8005.026; Mon, 30 Sep 2024 10:30:02 +0000 From: Hemant Agrawal To: dev@dpdk.org Cc: ferruh.yigit@amd.com Subject: [PATCH v3 00/18] NXP DPAA ETH driver enhancement and fixes Date: Mon, 30 Sep 2024 15:59:28 +0530 Message-Id: <20240930102946.3236998-1-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240823073240.3708320-1-hemant.agrawal@nxp.com> References: <20240823073240.3708320-1-hemant.agrawal@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2P153CA0027.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::14) To PAXPR04MB9328.eurprd04.prod.outlook.com (2603:10a6:102:2b6::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9328:EE_|DBAPR04MB7429:EE_ X-MS-Office365-Filtering-Correlation-Id: ad8a2fcf-7f64-4663-1058-08dce13ad766 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|52116014|376014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?mQWIvhQJFCmylFLUPqKiEe/6x+fYi8iMkty0r7DjOndhaIi1HSXMgnSI9V2u?= =?us-ascii?Q?56ElA3ds5RUFy1B3IT1EJGfS7FAxQmgxaqYOpn4C9DQBUxgSPTGrbibgwB6Z?= =?us-ascii?Q?0I9hrqib16m2retjp1TPzTGDFdPMV8pRSTeaI+3c7E4dYZyrtr6fTYpWnCbH?= =?us-ascii?Q?K94gf7qCYwzTZmBiUf/z6NjbQ/xXHC3kaBohMrsnrjde1HF22eQwLcJwhm8y?= =?us-ascii?Q?+Ygf8QGGTJLFFfsHttgxdx4ThQAwH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ascii?Q?gJL0n8tAgNIMkedPvehUggQJeXhyBbMN0UiYcC+Z75/ofpwYhqgFvegR5rHG?= =?us-ascii?Q?adCzPJaRFXp10/919sRGFdSaK8n+N8WzoAc0hZ+elRfk0opVTAi6okJRTNRA?= =?us-ascii?Q?qS73tkJ46eAiBzg0F1Dl7VCP5iZy43uWK2szTs/fKEeWi6/B8m3tCSQpnFna?= =?us-ascii?Q?7Q9qpSeangPjQbe0jsNs9v0Nz5oFtPLfGcU9IIY3J2CiD5qVSU/JzvaxyCsm?= =?us-ascii?Q?5MD6O5+zG3zGYDrwR0obhVE91xc8IX7vlmLbpU3V5IgSkk6eHw=3D=3D?= 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)(376014)(1800799024)(366016)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Ei8r2qU+/BIo/7XKUcYp5WPKQW5SrNqzS7Ocfz+zTxvV3qtEqh/LLXHci/Sk?= =?us-ascii?Q?cTeBMC/KgeEzel+ygL6p4ACWeghyVbveLwMCGem7JP8GeJKsF8cO+o7RUA/T?= =?us-ascii?Q?Enfm1hhfMwKl0SwUSc8eGNlTp7/DsHKl+RhrOP9OOIZVdp3HCsUrinJ07VGg?= =?us-ascii?Q?8mcig1pebwStYLx3ltIZCN/oObz2/4Jrz+tuISqACY4Mlo0go9Dw1DacM3JR?= =?us-ascii?Q?2XE6yk8wAiKbKNJqoDYZbdM5SxN6+N7IuGjp2/9z85fn/9+6E8tG0d5HXytS?= =?us-ascii?Q?a2pOTGN9Bs23PQ25r/quzNm3y3JWMMa56V9HJZN0ShoNNHv87YWvl5jTH9TK?= =?us-ascii?Q?sCkE0p9bkv2HAPQSxQOD3zKeYhwoQoF+T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Dh82eey6JefTusH0jYRtgpLg9Y1QDX+euRRUNSAh+z80P7ycPr0s?= =?us-ascii?Q?s4nR5PVx7B+2zULtaEGUIi1XJiTzaF344xsiIPPkpuxqbYzmoRmd8IBpffPA?= =?us-ascii?Q?G+A1+Ol8KT0fWVVbnQiopZqxcXrdK7tHlEzUCWv6W5IMuiin0O1HIxuJMs2N?= =?us-ascii?Q?k9fIGeVYIuyqgvjWiRz4f/cAy1oaM2hSBne19X20WsHN1RkZkRPhSkrujl4g?= =?us-ascii?Q?fYw+dXm+F1obpLAZyCQ3Cqu6U4uE8rsVV8ozN/aDI5BG/QSVTCvJcC9qO987?= =?us-ascii?Q?3IwCev8QEdAUaQ0TonPJAhCszF/u2+3Zr0NAqFqVu/EDPtppDnfX3JRfYjzC?= =?us-ascii?Q?1w=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ad8a2fcf-7f64-4663-1058-08dce13ad766 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9328.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2024 10:30:02.0381 (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: s9jHJX1N2a5wBGxX2cLcQ0fBVvvdw9yNEDOoH5nvOJ1Nmc33JRYErM0rLJ3R2bhC9aYVT49rA58oyzpLfGlnzQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7429 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 v3: addressed Ferruh's comments - dropped Tx rate limit API patch - added one small bug fix - fixed removal/add of fman_offline type v2: address review comments - improve commit message - add documentarion for new functions - make IEEE1588 config runtime 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 (5): bus/dpaa: fix VSP for 1G fm1-mac9 and 10 bus/dpaa: fix the fman details status 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 (5): 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 net/dpaa: fix reallocate_mbuf handling doc/guides/nics/dpaa.rst | 64 ++- doc/guides/nics/features/dpaa.ini | 2 + drivers/bus/dpaa/base/fman/fman.c | 583 +++++++++++++++++++--- drivers/bus/dpaa/base/fman/fman_hw.c | 102 +++- drivers/bus/dpaa/base/fman/netcfg_layer.c | 19 +- drivers/bus/dpaa/base/qbman/qman.c | 46 +- drivers/bus/dpaa/dpaa_bus.c | 37 +- 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 | 428 +++++++++++++--- drivers/net/dpaa/dpaa_ethdev.h | 68 ++- drivers/net/dpaa/dpaa_flow.c | 82 +-- drivers/net/dpaa/dpaa_fmc.c | 421 ++++++++++------ drivers/net/dpaa/dpaa_ptp.c | 118 +++++ drivers/net/dpaa/dpaa_rxtx.c | 378 ++++++++++++-- drivers/net/dpaa/dpaa_rxtx.h | 152 +++--- drivers/net/dpaa/meson.build | 1 + 19 files changed, 2121 insertions(+), 512 deletions(-) create mode 100644 drivers/net/dpaa/dpaa_ptp.c -- 2.25.1