From patchwork Mon Apr 15 15:31:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anoob Joseph X-Patchwork-Id: 860 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 CD96A43E7B; Mon, 15 Apr 2024 17:32:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 622204026C; Mon, 15 Apr 2024 17:32:08 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 8EE58400EF for ; Mon, 15 Apr 2024 17:32:06 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 43FELf1g029771; Mon, 15 Apr 2024 08:32:05 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=pfpt0220; bh=wTE1Giae sS1HnTLCj1qKbSQW4w36dvtFPma7ddD/74Q=; b=fBRmNe3T5oIkW2FVsTZpoYCJ y5Dig8dXObx2+yzvcMyOo+3n0AhU67PZPBa8d1sU/SSOgzsrDvB61NSfbfFfLcW/ nENW6bc8YL+2AGXaChUmdf/mpZtazfgc+boamVVfzw0PGGNksq1DOSwTzOLhSmzj jWCyYXfLt+Hmp2iaOGrOhZR+wJWC9CeJxLnzy8unKnDJpJ7KaRvX4khW9UHTwvcR dUrfEgM++oS5VVIBkhzklNp4N7nqHkPwzCGoyjN9WxLmryo78/DrCJbP9KTd84Ug j3fg7+P3U0h5wzEph17/XC2bwLSljNaTjgWkcteSrU+WYKZhTFlfdXgJjEHMJA== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3xh5x9g8kq-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 15 Apr 2024 08:32:05 -0700 (PDT) Received: from DC5-EXCH05.marvell.com (10.69.176.209) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 15 Apr 2024 08:32:04 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Mon, 15 Apr 2024 08:32:04 -0700 Received: from BG-LT92004.corp.innovium.com (BG-LT92004.marvell.com [10.28.163.189]) by maili.marvell.com (Postfix) with ESMTP id 99FA33F70CA; Mon, 15 Apr 2024 08:32:01 -0700 (PDT) From: Anoob Joseph To: Chengwen Feng , Kevin Laatz , Bruce Richardson , "Jerin Jacob" , Thomas Monjalon CC: Gowrishankar Muthukrishnan , "Vidya Sagar Velumuri" , Subject: [PATCH 0/8] Add ODM DMA device Date: Mon, 15 Apr 2024 21:01:51 +0530 Message-ID: <20240415153159.86-1-anoobj@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: uNYG7aXloNkv9eyJDz-GSDt_oDSWD5V- X-Proofpoint-GUID: uNYG7aXloNkv9eyJDz-GSDt_oDSWD5V- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-15_12,2024-04-15_01,2023-05-22_02 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 Add Odyssey ODM DMA device. This PMD abstracts ODM hardware unit on Odyssey SoC which can perform mem to mem copies. The hardware unit can support upto 32 queues (vchan) and 16 VFs. It also supports 'fill' operation with specific values. It also supports SG mode of operation with upto 4 src pointers and 4 destination pointers. The PMD is tested with both unit tests and performance applications. Anoob Joseph (3): usertools/devbind: add ODM DMA device dma/odm: add framework for ODM DMA device dma/odm: add hardware defines Gowrishankar Muthukrishnan (3): dma/odm: add dev init and fini dma/odm: add device ops dma/odm: add stats Vidya Sagar Velumuri (2): dma/odm: add copy and copy sg ops dma/odm: add remaining ops MAINTAINERS | 7 + doc/guides/dmadevs/index.rst | 1 + doc/guides/dmadevs/odm.rst | 92 +++++ drivers/dma/meson.build | 1 + drivers/dma/odm/meson.build | 14 + drivers/dma/odm/odm.c | 237 ++++++++++++ drivers/dma/odm/odm.h | 217 +++++++++++ drivers/dma/odm/odm_dmadev.c | 710 +++++++++++++++++++++++++++++++++++ drivers/dma/odm/odm_priv.h | 49 +++ usertools/dpdk-devbind.py | 5 +- 10 files changed, 1332 insertions(+), 1 deletion(-) create mode 100644 doc/guides/dmadevs/odm.rst create mode 100644 drivers/dma/odm/meson.build create mode 100644 drivers/dma/odm/odm.c create mode 100644 drivers/dma/odm/odm.h create mode 100644 drivers/dma/odm/odm_dmadev.c create mode 100644 drivers/dma/odm/odm_priv.h