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 BAD5942659; Thu, 28 Sep 2023 18:50:11 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A035540273; Thu, 28 Sep 2023 18:50:11 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 711374021E for ; Thu, 28 Sep 2023 18:50:10 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38SAfXq1003433; Thu, 28 Sep 2023 09:50:09 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=x0vvakf7cKAKLbFN0g2XE47Jr9lb/bKq2DqvC1Hn4pY=; b=e0QwGcPWHHIqsWDLdAbb5VEemDhlF1K6l0JX5MUaW+nmDnH/3OtlltN70O2wgZfyIlaE OUDizm8Be26zw9aX8BIkrc/MWRpvOZ4CUx7S6J/lKw7z3PqFhCZUiEVQi0E8gAgjqxXh 6d8ghS7vzQlzZCpAo7yvq6mfkcjTF4mcbUkWxZ2fkCGuI0GPWLeuu3u8r4Ee4Rg63Gjd 1y1ZP7gk8c36TqLwgJsnTBrZP5JlGbjYf/GI9i0refOzTwO+MqIqH3i0pnmNt0C/xs54 6h0HKNFO9l3pC4R1XWe3JRZWBP35aafWh0C0hGI0Lr68IyVx5crAS83Ck5ktcRaCwiW+ 2A== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3td7y6sd7a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 28 Sep 2023 09:50:09 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 28 Sep 2023 09:50:07 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Thu, 28 Sep 2023 09:50:07 -0700 Received: from localhost.localdomain (unknown [10.28.36.157]) by maili.marvell.com (Postfix) with ESMTP id 390305C68FE; Thu, 28 Sep 2023 09:50:02 -0700 (PDT) From: Amit Prakash Shukla To: CC: , , , , , , , , , , , , , , Amit Prakash Shukla Subject: [PATCH v6 00/12] event DMA adapter library support Date: Thu, 28 Sep 2023 22:19:46 +0530 Message-ID: <20230928164959.340575-1-amitprakashs@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230928103623.216287-1-amitprakashs@marvell.com> References: <20230928103623.216287-1-amitprakashs@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: rKReQeTTqWLm1JZVjOZRTSNYLKemv7cD X-Proofpoint-GUID: rKReQeTTqWLm1JZVjOZRTSNYLKemv7cD X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-28_16,2023-09-28_03,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 This series adds support for event DMA adapter library. API's defined as part of this library can be used by the application for DMA transfer of data using event based mechanism. v6: - Resolved review comments. - Updated git commit message. v5: - Resolved review comments. v4: - Fixed compilation error. v3: - Resolved checkpatch warnings. - Fixed compilation error on intel. - Updated git commit message. v2: - Resolved review comments. - Patch split into multiple patches. Amit Prakash Shukla (12): eventdev/dma: introduce DMA adapter eventdev/dma: support adapter capabilities get eventdev/dma: support adapter create and free eventdev/dma: support vchan add and delete eventdev/dma: support adapter service function eventdev/dma: support adapter start and stop eventdev/dma: support adapter service ID get eventdev/dma: support adapter runtime params eventdev/dma: support adapter stats eventdev/dma: support adapter enqueue eventdev/dma: support adapter event port get app/test: add event DMA adapter auto-test MAINTAINERS | 7 + app/test/meson.build | 1 + app/test/test_event_dma_adapter.c | 805 ++++++++++ config/rte_config.h | 1 + doc/api/doxy-api-index.md | 1 + doc/guides/eventdevs/features/default.ini | 8 + doc/guides/prog_guide/event_dma_adapter.rst | 264 +++ doc/guides/prog_guide/eventdev.rst | 8 +- .../img/event_dma_adapter_op_forward.svg | 1086 +++++++++++++ .../img/event_dma_adapter_op_new.svg | 1079 +++++++++++++ doc/guides/prog_guide/index.rst | 1 + doc/guides/rel_notes/release_23_11.rst | 5 + lib/eventdev/eventdev_pmd.h | 171 +- lib/eventdev/eventdev_private.c | 10 + lib/eventdev/meson.build | 4 +- lib/eventdev/rte_event_dma_adapter.c | 1430 +++++++++++++++++ lib/eventdev/rte_event_dma_adapter.h | 581 +++++++ lib/eventdev/rte_eventdev.c | 23 + lib/eventdev/rte_eventdev.h | 44 + lib/eventdev/rte_eventdev_core.h | 8 +- lib/eventdev/version.map | 16 + lib/meson.build | 2 +- 22 files changed, 5548 insertions(+), 7 deletions(-) create mode 100644 app/test/test_event_dma_adapter.c create mode 100644 doc/guides/prog_guide/event_dma_adapter.rst create mode 100644 doc/guides/prog_guide/img/event_dma_adapter_op_forward.svg create mode 100644 doc/guides/prog_guide/img/event_dma_adapter_op_new.svg create mode 100644 lib/eventdev/rte_event_dma_adapter.c create mode 100644 lib/eventdev/rte_event_dma_adapter.h -- 2.25.1