From patchwork Fri Sep 29 11:50:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Prakash Shukla X-Patchwork-Id: 214 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 9D6E542672; Fri, 29 Sep 2023 13:51:20 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8C4F240E78; Fri, 29 Sep 2023 13:51:20 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 7075540E64 for ; Fri, 29 Sep 2023 13:51:18 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38T27f6j021104; Fri, 29 Sep 2023 04:51:17 -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=jf2l2a1sn4XdfnYpsByDRmFz7iVDRGFr4fUz5FdhpMo=; b=P9iz1mIj16DCfzBxgMQMkPtvkis/+qxtdWoi606petKkrAySs3p0MYzoO0gbMoKSG4R5 7kjKVEnQ59ba2Dd8KZzMyvV8MkimmfnvH2DO+TlYO7Jh9P80+T8/g0OYzrNaYOwZhe99 0QsyCvILxYc2vrn5BUeA6uH+HOWB0j4/mDifC1ua+mqcrRCqBZtGoDx4suxoinao9Hgv jDxa8qwKIT3y2FNzZS5cfUH2wLzrYWgfeMSdt15RxzDws06eqKmj60N5BYigbuS+mrCO W7UWkURAy/uPXTgG5VRovq4wbvp+08KwdwV9q9Z/p8Hwxfo2LKY/VWQhI+gAfASxF2Fo YA== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3tcrrs8k6y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 29 Sep 2023 04:51:17 -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; Fri, 29 Sep 2023 04:51:15 -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; Fri, 29 Sep 2023 04:51:15 -0700 Received: from localhost.localdomain (unknown [10.28.36.157]) by maili.marvell.com (Postfix) with ESMTP id D81D23F704E; Fri, 29 Sep 2023 04:51:10 -0700 (PDT) From: Amit Prakash Shukla To: CC: , , , , , , , , , , , , , , Amit Prakash Shukla Subject: [PATCH v8 00/12] event DMA adapter library support Date: Fri, 29 Sep 2023 17:20:39 +0530 Message-ID: <20230929115051.564063-1-amitprakashs@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230929081309.464565-1-amitprakashs@marvell.com> References: <20230929081309.464565-1-amitprakashs@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: Ks1Klgpeze4a6rN5DCeSdNaiOOGijvo0 X-Proofpoint-GUID: Ks1Klgpeze4a6rN5DCeSdNaiOOGijvo0 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-29_10,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. v8: - Re-arranged DMA adapter section in release notes. v7: - Resolved review comments. 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 | 6 + lib/eventdev/eventdev_pmd.h | 171 +- lib/eventdev/eventdev_private.c | 10 + lib/eventdev/meson.build | 4 +- lib/eventdev/rte_event_dma_adapter.c | 1434 +++++++++++++++++ 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, 5553 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