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 CBEBA45A68; Mon, 30 Sep 2024 14:16:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 590BB4026C; Mon, 30 Sep 2024 14:16:10 +0200 (CEST) Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2049.outbound.protection.outlook.com [40.107.241.49]) by mails.dpdk.org (Postfix) with ESMTP id D0ABF4025D for ; Mon, 30 Sep 2024 14:16:07 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=aJQI62d9eUh++I3eNBeBP/87w/GIFHu7XtzJVw46tANyt/wC58sBQWDXzcATeC1LVbE7iebS0sH22572HSkCNJH9A16sINV2u+Z0t8JN+xKIUfMi88r//mReqJJIwJaVk0Z4ClKKLzZLM6DR/yPM7DUqWZSvwJNmZeq+WCTINCR2RDyh9Gx+4oKuUUYIA714BF7/nnbHHgfJQUzR7Wn2rxR/aN3m4rA/TNa9bVDUNj0OdvRL7fKg4PuXTUKJGqb92+diPem+ALMyWcjcqtb54dMw5Gk9gm4f/RP1XNwFBe8cRORaU+pILz6DWR9gMOB83NpeFGhRecDU5J36cROiRg== 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=UK9uql/k6XFVj+gF2G/dp6hRoF2QnqHAMsTLFZPE3SI=; b=GVKL26bFlh1aqPz+XOr/FqpZZcZWFClPBj2jN1NfGvUFV1I/fMb0aWTCUs+J+Vk5miK23x5xLDBD7Cjhioi/PzO5I5Fv73Oy9n0iYrBQRzeDTQq042775lLeDDoEKa6paI+Fs9N7Isaai2zbvG5wZEy30fAoaXUfBn/qm+2dp44zf074w8GzFJ/CD3a34FwfDpbgN738cBxahA1PkAzXoRvfqSNenzvu0OMMTr9g29yLPsi0Bx9RfrfoYCUEltMvyJfEnWp3yClUu3sqPPH8uPm3qvFCs8NfTqpPWbTgRGz4F1P8BmCZiqAkGyX9XxOz0TA4RixsAzthMl/QuFr6Aw== 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=UK9uql/k6XFVj+gF2G/dp6hRoF2QnqHAMsTLFZPE3SI=; b=nKWIf7R6VfR6v0yJJGH5F49SXiKXRIhNX72wO/XrrjciEvU96jVgPbMwnSkoh7qeQpGIEzOC7HienX5oPN/3VmHrTuK9sXCdTWRomM5JfBTbws/lT3SCuikD2kL6Dvoj8fy5EDEJOwg4XlByq6hhs4fNSZIjB3qFcVHrlxxGuAEIc0+aLLnbODzZGFB22HLmCiC8zmJCg5TZrqP2LvU/VlMz5/LAYH+y6REuqJafmTl61mkjtqsYg1pU+M0dCGJZto/XcD4AKbDXgzEpe34/O/y8ELEPVVzznBjxYw/sByb4suiOWXdla8fYRVZuZiRLRP98xWubnfAGe4ESIz/yEA== 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 PAXPR04MB8334.eurprd04.prod.outlook.com (2603:10a6:102:1cc::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.26; Mon, 30 Sep 2024 12:16:05 +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 12:16:05 +0000 From: Hemant Agrawal To: dev@dpdk.org Cc: ferruh.yigit@amd.com Subject: [PATCH v4 00/18] NXP DPAA ETH driver enhancement and fixes Date: Mon, 30 Sep 2024 17:45:07 +0530 Message-Id: <20240930121525.3452847-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: SG2PR01CA0124.apcprd01.prod.exchangelabs.com (2603:1096:4:40::28) To PAXPR04MB9328.eurprd04.prod.outlook.com (2603:10a6:102:2b6::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9328:EE_|PAXPR04MB8334:EE_ X-MS-Office365-Filtering-Correlation-Id: d3f0dc31-aff4-4207-e3a2-08dce149a88b 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?OM9p/DtQ19MdlCEw2xNzVHsk27PKFhJUJYKAinVIwR6D6rSDNvrEuMu8xlXQ?= =?us-ascii?Q?Cqm9Uv1+RmPGqhfYCkIp+xseNUulL1CS6+TataAYtnqFYXVFK/jZZ/Buw7zg?= =?us-ascii?Q?uW7+sRadt+SBwbISwmW6n0OcHKs19wOg0tav/4Jto+DZ9xA5+neO238cTxb9?= =?us-ascii?Q?5eR65CZTcgzq/Uvm1if4UahIOFQZDEepSqJT2y8/ro2UKFRibdnlrTc2//55?= =?us-ascii?Q?FyqIoCbVtJQIEMlDT37deIkbNGVcNsVe9e7qwGt51WxOoPrmoZH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h1NeblUTo7UZB1q6EodOneKX5JHa3empy?= =?us-ascii?Q?31hUZ6rMpL1QC9zIWY8NysZxmmAkIhTT/9pyWSTh9r+kh7nLoG2OZNwMAesc?= =?us-ascii?Q?lNPEka+t3r3Sg2Uj6FEY//N7xeB49Tdy1AxUPgtoC3c9KzjXH8AzLGEVx4GL?= =?us-ascii?Q?glCFQwvR1JCXzopIGVtSSV6LUO6uLS45lmenR7I1ksewTA=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)(52116014)(376014)(1800799024)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?YmN0nw01R94gUUmQDGGB/aeFNMDShO+SqmKh7e38BYvowRuD6lA8xBvVqPeK?= =?us-ascii?Q?C0sp84Zv27K5/EsSxi5voe5UqqE+pNXMn1laMjkClPUh4b8UWuSu6B4uwvwZ?= =?us-ascii?Q?KHkNxGj9I2sJT89QFtBF2ALR3SA71xkHQqft/2BMfZSyvGlDPDnrc/4hQfKT?= =?us-ascii?Q?Nw+lSX04AHz7X/3MBQAaAdoSmOag+tkIGd9Bh5HZsWKtAH6Cscs6JBtz3EV7?= =?us-ascii?Q?NHB4BPAIwOgN0lSc7g7kI+Z52a3+ICfLLIaBGbC5DPDTCVp1mxx2t3TruOfC?= =?us-ascii?Q?pEgn61Wy2q+d7GVaP9v8vB4uZZ36XJv8vLbWvL8rv/eOq4geq26aw6y4NaUd?= =?us-ascii?Q?qWGuIJ2dFQwzzjOAqjBRGHH6wkcJqEUuQKXD86vahVaxwf8BF9td9McsZnUN?= =?us-ascii?Q?TKou4YDVDHfvaRPQk8dtnTJSPknbdh4x3RkMjBk8BSM1KBotneGnZV/+NpBm?= =?us-ascii?Q?2gz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t1qsnCX/izRGq9rQ?= =?us-ascii?Q?jCmwrdG5lGZUgDT/Ib2TxN+929kcMApV4TaGjg3qF6AtLBov/xPL/AJ27k0L?= =?us-ascii?Q?D1qlN+6mEumEWCh6bOpx3bPsQK/UrIh3kaWOwgg64lrf4v9/kUtqS75IPz4/?= =?us-ascii?Q?2Mah3gEQ42sUYvTgCiqN5vj77w+11Nhwo5gWFFYcIapcxb6Tr8dMmiehpF6K?= =?us-ascii?Q?A4RYyPYJkPGHggT3qUaLct+I6Bbld/RMsYFTL8s9jezXkExR9o7uTlhI4BId?= =?us-ascii?Q?Fg=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d3f0dc31-aff4-4207-e3a2-08dce149a88b X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9328.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2024 12:16:05.8177 (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: +kpacXl/iVyMRcom+N189mM7bl69NU6fHNbvbuwVb2Ekogjv2QDN1bSJYldhWcc4iWMKRiBA1PbDuCKB2BzzYA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8334 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 v4: fix clan compilation issues 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 | 66 +-- 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, 2105 insertions(+), 512 deletions(-) create mode 100644 drivers/net/dpaa/dpaa_ptp.c -- 2.25.1