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 98A4742619; Fri, 22 Sep 2023 22:13:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 20CA940150; Fri, 22 Sep 2023 22:13:51 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 7B6B24013F for ; Fri, 22 Sep 2023 22:13:49 +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 38M7kfs1027727; Fri, 22 Sep 2023 13:13:48 -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=OayaG/mR8GZ99tUX9dEHNFEe7PO2yFXmbWcRFSc3fEM=; b=OCVbb4OcKHEjytHFtG+fU0hnk62l24RawyxGDT6hY4Oy8/i9CrJwRbgoMW0oAmM6bXYW rVkBfKe5Hg9FzkXUXhMpKQaJ5kIy0k96KzeVdLjjZEoeytmyEoBBpkI5ZD4eYvVOXDjM D+3o8KzIDlUPLukYoY+red3RAo9jKlsoiETlfnuWt9BHEjk3b7x4XuU6wt37CrVC8QbL oAh0bBvACOu3l6TFO2upCxDa4Xsw0SAJE86zwkqEUWTzxjmFrTKNzaMkMfNky4Krx5q3 nJ21hWOYHkQ5YIA9Dz1elZwlxGksMSgzYOpk1dm+//foHQUX6iRljP7ivO6vktk8eu69 sw== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3t8tr74d76-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 22 Sep 2023 13:13:48 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Fri, 22 Sep 2023 13:13:46 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Fri, 22 Sep 2023 13:13:46 -0700 Received: from localhost.localdomain (unknown [10.28.36.157]) by maili.marvell.com (Postfix) with ESMTP id 8D36C3F705E; Fri, 22 Sep 2023 13:13:41 -0700 (PDT) From: Amit Prakash Shukla To: CC: , , , , , , , , , , , , , , Amit Prakash Shukla Subject: [PATCH v2 00/12] event DMA adapter library support Date: Sat, 23 Sep 2023 01:43:25 +0530 Message-ID: <20230922201337.3347666-1-amitprakashs@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230919134222.2500033-1-amitprakashs@marvell.com> References: <20230919134222.2500033-1-amitprakashs@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: j5Em8_cKPpevuErVnLJ4uHBmINRe8cf5 X-Proofpoint-ORIG-GUID: j5Em8_cKPpevuErVnLJ4uHBmINRe8cf5 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-22_19,2023-09-21_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 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. v2: - Resolved review comments. - Patch split into multiple patches. Amit Prakash Shukla (12): eventdev: introduce event DMA adapter library eventdev: api to get DMA adapter capabilities eventdev: add DMA adapter API to create and free eventdev: api support for vchan add and delete eventdev: add support for service function eventdev: api support for DMA adapter start stop eventdev: api support to get DMA adapter service ID eventdev: add DMA adapter support for runtime params eventdev: add support for DMA adapter stats eventdev: add support for DMA adapter enqueue eventdev: add DMA adapter port get app/test: add event DMA adapter auto-test MAINTAINERS | 5 + app/test/meson.build | 1 + app/test/test_event_dma_adapter.c | 808 ++++++++++ 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 | 4 +- lib/eventdev/eventdev_pmd.h | 175 +- lib/eventdev/eventdev_private.c | 10 + lib/eventdev/meson.build | 4 +- lib/eventdev/rte_event_dma_adapter.c | 1431 +++++++++++++++++ lib/eventdev/rte_event_dma_adapter.h | 582 +++++++ lib/eventdev/rte_eventdev.c | 23 + lib/eventdev/rte_eventdev.h | 43 + lib/eventdev/rte_eventdev_core.h | 8 +- lib/eventdev/version.map | 15 + lib/meson.build | 2 +- 22 files changed, 5551 insertions(+), 8 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