From patchwork Mon Jul 22 11:58:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gagandeep Singh X-Patchwork-Id: 1155 Return-Path: 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 EF0B445681; Mon, 22 Jul 2024 14:03:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0B8BC40A84; Mon, 22 Jul 2024 14:00:29 +0200 (CEST) Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11013057.outbound.protection.outlook.com [52.101.67.57]) by mails.dpdk.org (Postfix) with ESMTP id 2B6DB40612 for ; Mon, 22 Jul 2024 14:00:24 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=aZOJtCEa+EjpGtpz+L0WOKak0tN8ZDCDiItvcG3y5Y3irQzcNX0YfOpUAbKUN/GY/NVmqlzU/ZWPfPqn6gdWh1/5XBvzjLheQpq7Uhx0mgvzweh5QLfrIU3x5Xl+2h6U75cOZVedKSADfhAYFB8dUo5Nf5V0KywNlLawP8uVfazpEmrHw+cYCTCIlBBtiYray0UZlzgknGdqizPshEa45XYQMDVRJNPYwvMOyn3Q3zNI0mdVcsrAI9wyCjj32jy4L6pr240cpJTEkwGkt6WYbbsKTrwT3o2Azii/Xs8M9hy4LKDHn2e7HPwKlKH6rBB2UolOhFCawsy6hNG0wa63nA== 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=+OL8bbGgFlxq0Mmm9Bw2F4ROkSCIKY3IGL574TBmSaQ=; b=RsMB0nyFWG9AW1iewlrjLaA8lVb5XNRe0GwVIN90sj0QEht3C2Exor8HwG/AMjoJV/xPUzrxQLzJNGL8i0OgPl++2CJ1ZwLkxzw02W44IhrqzcyFM8g3/h41b5CUU2B2njpqy2zoAkQsn/NqU+z14UWGi9Ct2UF/q4sIZrXMbhsfpB3ORkpFoRFm2/fcqsaTPDuB+RzI8S18mD0Mc6RVNB8t37f1MAGsL26m4lRbye9ucwada1cnu92jwQL4wGZfJNYSKROqi34+vw6SyG5ui0rN8AtOBzS6RkPo/sQd5eO0x8cqYkbKng9d8/sSpY1OXwSKmPL9Wt7YVzDs/MkW1Q== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+OL8bbGgFlxq0Mmm9Bw2F4ROkSCIKY3IGL574TBmSaQ=; b=SGrEJyazZ95r6B9JVY+5yUoEbsiMCjVJZTBZhYkCsTIHerck1dN8MFKiNCo2vdgJslfB4Oqc4YEedKD1LTRyabBvCHJhsgCBCJ7dlZgcBL+EceT8cJPQ6FNv6WYkxywKUDUn9Nv02lE0CQGVA3RfP++4e4eF3/q4Jty2vQBUVzo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8SPR01MB0024.eurprd04.prod.outlook.com (2603:10a6:20b:3d0::24) by DUZPR04MB9919.eurprd04.prod.outlook.com (2603:10a6:10:4d9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.14; Mon, 22 Jul 2024 11:58:58 +0000 Received: from AS8SPR01MB0024.eurprd04.prod.outlook.com ([fe80::c634:479e:8f8a:a325]) by AS8SPR01MB0024.eurprd04.prod.outlook.com ([fe80::c634:479e:8f8a:a325%7]) with mapi id 15.20.7784.017; Mon, 22 Jul 2024 11:58:58 +0000 From: Gagandeep Singh To: dev@dpdk.org Subject: [v2 00/30] NXP DMA driver fixes and Enhancements Date: Mon, 22 Jul 2024 17:28:13 +0530 Message-Id: <20240722115843.1830105-1-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240719100126.1150373-1-g.singh@nxp.com> References: <20240719100126.1150373-1-g.singh@nxp.com> X-ClientProxiedBy: SI2PR02CA0025.apcprd02.prod.outlook.com (2603:1096:4:195::21) To AS8SPR01MB0024.eurprd04.prod.outlook.com (2603:10a6:20b:3d0::24) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8SPR01MB0024:EE_|DUZPR04MB9919:EE_ X-MS-Office365-Filtering-Correlation-Id: ee3b32c4-efa6-44a9-1a20-08dcaa45ab0e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|366016|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: Ie8928CxWqBbbqNkzLX9o1XPWsDL5bJT6vkK5A3yuk1Tf13SpDS3y0f96obwCGYJcZxj/pHL9XnJZmoXvSAcm+UjvlZlHCucFI31sGED01feBZHXQJmhrnXDIhIJ9CrSQi/zXk7/EFOqJaVhiNQbotoqKWsc9p3uePORCs9WvfrsV7ovYvcZGVh61/nWJHZ67F6uVrpHKpame3GOC64VKFs5GiO0nZ7AMyYiZoQP09y6kozY5yLxOGnbXptyCYhkhEmAcoyivBaMRteMS7TKf13OUoR1XFui6UEbOKLwGfJmfuD5FB1KcblV6lAKzmmeI8NlWTknPTLq/j2RZguMS6pWxd8moOZpeDpYIY+vM8yI/XzHFk5C9l/Wg+uhKkrlyXByM0rrvBbA4XYQ0brZpXOG16nlw/mc9T/pyTwRf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01MB0024.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014)(52116014)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Ht5hFF8PAUuMnIA57ROXOjohPtJ+nes9X+ymj4F4XtZSpiuXCsZgX5s+5tHCjylFmy6QyyWSZqEhtW6HmBm/TzMhQfyL0x+eL1Rl0Zh01oLkKemBqL2jYBeRCuhaUXz/YilUYS5p6Y5LIuPODKr0F5DiBpKxKHw3LuGwdDicAYpjPCAYDh/udYhpIAcZhBVkPhNCCxj6auclMRP0ONvOf2VoEJYUOALAQ3C4BNE6r4sVRNPPTlyqKd8hIh6iWTKDprx5errIR8HwRtAFWq+gt6G8hPieeg22qP+g4hbQx57+4Q7u31WRPiflmKV/fQQz/ZYLnmrWnV/LUSW8rIlEuxh0zWVxfxaFblAfe7aXItgpmDxFsLHl2H3u5WaO+IdY+MZeu85naYaytEiEsvdJKUWq1nRqeHwkwrnmRqU2/o3gdsTP90vyY0gMEBHCFY9ZU0CmjI+X38fZFsIBtsujjkRFlqX4CC0FCxnVWkcNd+gJg0Fbi7C9lnaxHJ46fhA8UQ04qrMUo3V/T3ivNFZfPy58OAp+CxI05mYtJkyMqbt1XS3/WLykCb1H8bX9+ghys7ds1KoCS2VwzRcisd2XIvkqcosgAnvVv+LrcloGdh2hozZaUKzKnp5e3rzX0J/UFrenSh7bupAhGCfH86/7asG4cAO0ojxJWnnCoLIStPgPZY1CdHapUNBSCkec4seQC/sEnMq6RRdIpJdNA1ie8jCvbxo2t7lIL9w7mHLLORnS3eA1gqpkVCw4AvQuC5fXahxpai9WTP3w3CQGyTya0kk6ox9YTUu+cK9XuuR/u1uFDzGN4x25oXBhm4Pp63jVCr335wY21PbhfzwPKTM0WAsK2Cs7dSfX9EIka0aCX4OMzeIh5ug33C08fna8HQ83mNb5X4UV1rH8Q/R3/G9UuFgIPneM1E0rvkzzjiUTAmu1tTj5pujmIhiD0NmUxAc4HtKC9PowswqKsZZ0ATUjYVz8xRXWGAWo7+XcAcBLa76RVbRcn8UuE8ou4RRxYJJko1TpEnASZJI45gptmSinC8qeImuqdTj+YrguCzlUqzv880Io8KMMdds3zlq8h84NoX6aNGLcPKoyr4wO3BrEVY05SsYOmMdY5OVp2DlyV4uW+4oWt0CITSlYR/KR16hJ576iIZsRjnH4bnJjsn+yp1LsZ5vRQrOziQ1ZzUPMoVX+5P9PlALEKVgv3wqLZJYt9zVw2uqTtL8NwuBsdHU+SAdROXGjFO0xidleDAsMHIw6Ukib1YUjU+bshfhdiJ0vsWbB7Oll8MNpQTeGPj64g/rNCXYLhhdf9utkl6OcjdUF8nIxsS+WttngjTQ02Pc4RLyXzlmcGIsAZqsfcHgU2mK7xp1Q/TiUddVux6/bQSKQlLHlZax3LiJR84sBAvEQbahaqcAbrjRnPvDsSVUGA5bu7CrhRYuIslwZfLaXsWFcu3JlTCwYdOzpU0TvyofJNLUXMFGIVfRUU1evxgYA1MOD7SVzajpMf9mwvr1+5tiTPbZDGhdctfNP23sIuYSq1nbAYDacI5X2J7O/tujAzwTucJcFAaNdjX5H945U4bw= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ee3b32c4-efa6-44a9-1a20-08dcaa45ab0e X-MS-Exchange-CrossTenant-AuthSource: AS8SPR01MB0024.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jul 2024 11:58:58.5301 (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: jQp7wQmWkglRlol+ga06MCved6I/gNeKXlPRVtlKmnZkJG8D6kfHjq561kY7DLo5 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DUZPR04MB9919 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 changes: * fix compilation issue on ubuntu 22.04 Gagandeep Singh (6): dma/dpaa: support multi channels dma/dpaa: fix job enqueue dma/dpaa: add workaround for ERR050757 dma/dpaa: qdma stall workaround for ERR050265 dma/dpaa: remove unwanted desc dma/dpaa: data path optimization Hemant Agrawal (1): bus/dpaa: add port bmi stats Jun Yang (22): dma/dpaa2: configure route by port by PCIe port param dma/dpaa2: support multiple HW queues dma/dpaa2: adapt DMA driver API dma/dpaa2: multiple process support dma/dpaa2: add sanity check for SG entry dma/dpaa2: include DPAA2 specific header files dma/dpaa2: borrow flags of DMA operation to pass job context bus/fslmc: enhance the qbman dq storage logic dma/dpaa2: add short FD support dma/dpaa2: limit the max descriptor number dma/dpaa2: change the DMA copy return value dma/dpaa2: move the qdma header to common place dma/dpaa: refactor driver dma/dpaa: dequeue status queue dma/dpaa: add Scatter Gather support dma/dpaa: block dequeue dma/dpaa: improve congestion handling dma/dpaa: disable SG descriptor as default dma/dpaa: improve ERRATA workaround solution dma/dpaa: improve silent mode support dma/dpaa: support multiple SG copies dma/dpaa: support max SG entry size Vanshika Shukla (1): dma/dpaa: add burst capacity API config/arm/meson.build | 4 +- doc/api/doxy-api-index.md | 2 +- doc/api/doxy-api.conf.in | 2 +- doc/guides/dmadevs/dpaa.rst | 3 + drivers/bus/dpaa/base/fman/fman_hw.c | 65 +- drivers/bus/dpaa/include/fman.h | 4 +- drivers/bus/dpaa/include/fsl_fman.h | 12 + drivers/bus/dpaa/version.map | 4 + drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 25 +- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 7 +- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 38 +- .../bus/fslmc/qbman/include/fsl_qbman_base.h | 29 +- drivers/common/dpaax/meson.build | 3 +- drivers/common/dpaax/rte_pmd_dpaax_qdma.h | 23 + drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 23 +- drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c | 4 +- drivers/dma/dpaa/dpaa_qdma.c | 1641 +++++++----- drivers/dma/dpaa/dpaa_qdma.h | 289 +- drivers/dma/dpaa2/dpaa2_qdma.c | 2381 +++++++++-------- drivers/dma/dpaa2/dpaa2_qdma.h | 243 +- drivers/dma/dpaa2/meson.build | 4 +- drivers/dma/dpaa2/rte_pmd_dpaa2_qdma.h | 177 -- drivers/dma/dpaa2/version.map | 14 - drivers/net/dpaa/dpaa_ethdev.c | 46 +- drivers/net/dpaa/dpaa_ethdev.h | 12 + drivers/net/dpaa2/dpaa2_ethdev.c | 81 +- drivers/net/dpaa2/dpaa2_rxtx.c | 19 +- drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 4 +- 28 files changed, 2856 insertions(+), 2303 deletions(-) create mode 100644 drivers/common/dpaax/rte_pmd_dpaax_qdma.h delete mode 100644 drivers/dma/dpaa2/rte_pmd_dpaa2_qdma.h delete mode 100644 drivers/dma/dpaa2/version.map