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 1012D42642; Tue, 26 Sep 2023 12:32:49 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D08EF40271; Tue, 26 Sep 2023 12:32:48 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id C3F4640266 for ; Tue, 26 Sep 2023 12:32:47 +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 38QATmcq010403; Tue, 26 Sep 2023 03:32:47 -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=eez9InI+79g27G5m9NRReWYOMADep4kj+ia/R4oj0Lk=; b=fmICaLbqHFsA3Cf4Tgvn5ID+kwKsD38mtQ8RVHBDXWQVTytJmlIyCf67U+1JdswgTGpc 9iAOqiw9ml6daElWP43uwtrD/sL9k8QGvcMiMAU3GEcDruZ6TJBIoyWSPrW2tvI4PqPy O4VnFydKnopRnNa6dZpNhUjSQkUuXnsyOW75yXO6w8ruCiDeiv8bk33AWevpeRcyGzGZ NEauOMHKW+qCO+L33iWxVfv+JGYSIiAT9nJmYVjXYo5JcPi3Mybx4LnmOfEWW17tiL2a 7If5KkGlYk1rX/uW04bbNzHTiecFuudaIoeH+cKt5jXAZYP+JJB/fe7Mq3Rqev0nlV+I 6w== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3t9yhm0h6x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 26 Sep 2023 03:32:46 -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; Tue, 26 Sep 2023 03:32:44 -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; Tue, 26 Sep 2023 03:32:44 -0700 Received: from localhost.localdomain (unknown [10.28.36.157]) by maili.marvell.com (Postfix) with ESMTP id 27D763F70A6; Tue, 26 Sep 2023 03:32:39 -0700 (PDT) From: Amit Prakash Shukla To: CC: , , , , , , , , , , , , , , Amit Prakash Shukla Subject: [PATCH v4 00/12] event DMA adapter library support Date: Tue, 26 Sep 2023 16:02:21 +0530 Message-ID: <20230926103233.3956431-1-amitprakashs@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230923133449.3780841-1-amitprakashs@marvell.com> References: <20230923133449.3780841-1-amitprakashs@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: yFgdDBDragXCNLTFD8HeIp3pvBtlr2bg X-Proofpoint-ORIG-GUID: yFgdDBDragXCNLTFD8HeIp3pvBtlr2bg 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-26_07,2023-09-25_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. 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: introduce event DMA adapter library eventdev: api to get DMA adapter capabilities eventdev: create and free API for DMA adapter eventdev: add API support for vchan add and delete eventdev: add support for DMA adapter service function eventdev: add support for DMA adapter start and stop eventdev: add support for DMA adapter service ID get 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 event port get app/test: add event DMA adapter auto-test MAINTAINERS | 5 + 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 | 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 | 44 + lib/eventdev/rte_eventdev_core.h | 8 +- lib/eventdev/version.map | 16 + lib/meson.build | 2 +- 22 files changed, 5550 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