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 6A6A745843; Fri, 23 Aug 2024 09:33:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5A76342FC1; Fri, 23 Aug 2024 09:33:01 +0200 (CEST) Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11012053.outbound.protection.outlook.com [52.101.66.53]) by mails.dpdk.org (Postfix) with ESMTP id 6E6BB40150 for ; Fri, 23 Aug 2024 09:32:59 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=qgzUXlZKhc8G8gVFvfekFyKXBz8ug+AX5/wG1coHsXXMNqXbfiNhb7JpdQg7W3aWpQ3h+HiAnbigp4EnFomHdgvGp1BtZgUQQ2AIpTdpiadaywJzdT2+ccVZcfpGSbqQ2fp/XBZ7AOO4BuMO2/XAbX1uDKPJo+SXgJQK8r2SlmC/hXUrNKqG31pQrQftGq4ztEvMbUmRaUpg7AelNdEmHk3cimUSv6tk5A26U1/HUrqDjlKMDQyP6O168JLp6HS7XLJvDaDZXiU24dBq8hm15mRT1Fi4byY1NRpc9dPGNiXOpHasMVBsNhq5GpKtAyc/IWzmoWZ4PNNJWwtF4xs5Jg== 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=zt5KdyWz3JjlPd5/s9lDNfjMCdeoJjuBqaqFK5wTNlw=; b=UxsT4igx3bOmCHflFj+jhWYYv1CaWAqmlAldch+cqqp9peF76ZHMttPh2PnGUSfqjMgtkc9aPYtYqVn94Iu0/iA8Ufkxo7pM4fhpzCwnmEWlwx3z2+FtEgBrVOFarGAMiDH+bwhAR26R+eBzxmFhGb8KW6iMUy7EeEQWPHziRBKpgw/yjzZ3CdegyqN2ZpJvwMATRaMO5UEkeoPaIvdpueNdYtQEgip/YYnadff/8KdAUSLJc/uwFPIPw48zdWcwfQLI+AffKkBzATak7jBeiIAk9JBfultCeDz6oGGFVE5gwVyYmxqohOsBMmCJu+3qhnW1SPIiLCY9d9dOtojDxw== 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=zt5KdyWz3JjlPd5/s9lDNfjMCdeoJjuBqaqFK5wTNlw=; b=YUKi6G7sB43qu1sKxEPdkPAMgrhFiFqEh/4JH69iVHJp8qrS8CtaWoR4ErT13TF+n4cjtXR3ZUWsaGcH/8cokPCZFkX90se0+cSKhgpElWPXAI/ZpFzsVp5yrExaOn1cahn5dPkGvFMtCIevUDskCDVDGDdBhQTGOjsDdHhuvaRC5NB8tCO4KCtEs9rZM9TWmRlaMXPiJHCbbebin8BiMrwQZIbzGRVEvF39BQ/oBsTo8hftF/GhJ4b0SieWyWkcVYVaVj0OZBWm4WrNb892s/c9o+jUaRHS53StbIWc9bBvsO/VRK+DaByHVpqD+aIi1xZbpX1lqeDWvLwdiovdpg== 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 DBBPR04MB7547.eurprd04.prod.outlook.com (2603:10a6:10:208::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.21; Fri, 23 Aug 2024 07:32:57 +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.7875.019; Fri, 23 Aug 2024 07:32:57 +0000 From: Hemant Agrawal To: dev@dpdk.org Cc: ferruh.yigit@intel.com Subject: [PATCH v2 00/18] NXP DPAA ETH driver enhancement and fixes Date: Fri, 23 Aug 2024 13:02:22 +0530 Message-Id: <20240823073240.3708320-1-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240801105313.630280-1-hemant.agrawal@nxp.com> References: <20240801105313.630280-1-hemant.agrawal@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR02CA0028.apcprd02.prod.outlook.com (2603:1096:3:18::16) To PAXPR04MB9328.eurprd04.prod.outlook.com (2603:10a6:102:2b6::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9328:EE_|DBBPR04MB7547:EE_ X-MS-Office365-Filtering-Correlation-Id: e505c661-89bc-465c-d473-08dcc345cf3e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|366016|376014|1800799024|52116014|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?HPLWoXryggcMsT8aL6lejhHZKmkrRj5r9ouE2IgPgLB+SBtHh2XhSki12ym7?= =?us-ascii?Q?zYTxLOStqLkZZfTBOmgZ/BZ0uFZGrKcNNPzcbIZUIMcnLtlCRVfVbyHWA46e?= =?us-ascii?Q?5Kk8NHhbBtJyyFYHUJQBh868kRnv0JqdZfBTxBhI8D9b3MPhTZqy5AMZ4sF0?= =?us-ascii?Q?Ol7+ig4EGpQGQoY9Mk10m/+/CcnPVtmEcJ4jNcXChcncjo7xewRKqx1+ivC7?= =?us-ascii?Q?545XP3qvF5747Jxh5/YAf+p5G2s4HOJLOczW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hfTDsKOxh0G93IzdD0HAKF9IZzUFWYU6/DMXVgzSGqo1VBMTldXDWq?= =?us-ascii?Q?bDCQv9NSRMclmVFERXJdBVlPc/VLJu9t4bxoGv7yp+MNlLjK1y1iP6gM90vu?= =?us-ascii?Q?twhU8IC98Wi0Qg9J0AMYQabKB9Z9kPMmKPpZjcKy29gtGmiyvVlsKwTEkLTf?= =?us-ascii?Q?RfFHDtVs90xzrEBT9lNWylwYpT4Cqh0+jH6z+dHq0UsBXXhq/flxYawVMjpK?= =?us-ascii?Q?vUPuc+Dn/ZANrk0JfU5bOdCnpmcJ2XOUpyp5Za/OJdPF6Vj/vg=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)(366016)(376014)(1800799024)(52116014)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?81kmHvlB8ptN26rtSPXEWpepccv3mJne61OgE8c+rNtYnkYwksON5fARKfDj?= =?us-ascii?Q?2MUOAQDna33qzxNXz3lfq5u3VCr56BhS9mtoJXvWYEBpynjP7oA4dx/SFhwn?= =?us-ascii?Q?s8oB1jTzSaWHoTvGEgbg2x6c1YKGnyp73EWav/YhLNiMIpgBgZxDYf83GN36?= =?us-ascii?Q?84ueZeXDpijLKTFp0zmhilX2aM15bUN6hyeY7fh4QkQnQyhYhPy8POdENDtM?= =?us-ascii?Q?vjwIYJOsA+WExkxQzNiV3mt2mK+7VGMQfHGRhtFk/ezq9+SBQ/fU5viMRpM0?= =?us-ascii?Q?BciolEwaU3f4F7HqDuVGmYk0zOMD/N6SdfwAv1xNb5Bh56jQpbp+GcJp2OM2?= =?us-ascii?Q?ji+IJ+0mirz1XY0EzrehbSy9KmwdODKUtXfDSInvjCrYT+OO/7H3m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JmivA8Ua9ssPfAxHsRcODVpuwMZLFsIuGk5MjxxyT18ui?= =?us-ascii?Q?u32NL1LcVdkYF3+BtkBEEXqs6w6/VBwh6VhnFYeAGQhcn7gopRM6VENJvWl3?= =?us-ascii?Q?HwUmQ+atVB7RT/ReZh+lhxnxQZ/8BGo7BuYDOUQQ85JeuobEP3wBAv/tdCZd?= =?us-ascii?Q?yDgW9cGpuBHGwsh8bxOe8xWcibOrtbr188+Yc8frYfno3dLUIz1nhU1aGGvs?= =?us-ascii?Q?CnAbRNinEbT3lmFzr559K+9wElmmwcW2UwUiYzF8rXuOUowBreM6O6pTq+N/?= =?us-ascii?Q?AqTCj9jYGyC0hxV3AP9jJC2Uak8gTaE19svZsxv3rC87eh2vwNHexotjOX91?= =?us-ascii?Q?7w=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e505c661-89bc-465c-d473-08dcc345cf3e X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9328.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Aug 2024 07:32:57.8069 (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: W0Rz/IoJxp0KryADfov4Z78QnwgHrYBpStExH2bcJv31kW+Vxm3RD/JAOHVaSxOCPf12uMJGuMOZ5L1J7ENVPw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7547 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 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 (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 | 64 ++- doc/guides/nics/features/dpaa.ini | 3 + 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 | 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 | 428 +++++++++++++--- drivers/net/dpaa/dpaa_ethdev.h | 68 ++- 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 | 376 ++++++++++++-- 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 + 24 files changed, 2250 insertions(+), 512 deletions(-) create mode 100644 drivers/net/dpaa/dpaa_ptp.c -- 2.25.1