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 0BAD2A0C55; Wed, 13 Oct 2021 14:29:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 79870411E1; Wed, 13 Oct 2021 14:29:26 +0200 (CEST) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by mails.dpdk.org (Postfix) with ESMTP id 7FE7D40E64 for ; Wed, 13 Oct 2021 14:29:21 +0200 (CEST) Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4HTsDM6tBczbn3r; Wed, 13 Oct 2021 20:24:51 +0800 (CST) Received: from dggpeml500024.china.huawei.com (7.185.36.10) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Wed, 13 Oct 2021 20:29:17 +0800 Received: from localhost.localdomain (10.67.165.24) by dggpeml500024.china.huawei.com (7.185.36.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Wed, 13 Oct 2021 20:29:17 +0800 From: Chengwen Feng To: , , , , , CC: , , , , , , , , , , , Date: Wed, 13 Oct 2021 20:24:54 +0800 Message-ID: <20211013122500.51552-1-fengchengwen@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <1625231891-2963-1-git-send-email-fengchengwen@huawei.com> References: <1625231891-2963-1-git-send-email-fengchengwen@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpeml500024.china.huawei.com (7.185.36.10) X-CFilter-Loop: Reflected Subject: [dpdk-dev] [PATCH v26 0/6] support dmadev 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 Sender: "dev" This patch set contains six patch for new add dmadev. Chengwen Feng (6): dmadev: introduce DMA device library dmadev: add control plane API support dmadev: add data plane API support dmadev: add multi-process support dma/skeleton: introduce skeleton dmadev driver app/test: add dmadev API test --- v26: * use prefix comment in rte_dmadev.h group macro. * rte_dma_info add filed dev_name. * rte_dma_fp_object fix align 128. * delete some useless content of dma.rst. v25: * fix undefined reference to rte_dma_fp_objs with some compiler suite. * use rte_dma_dev hold pointer to rte_dma_fp_objs to avoid primary and secondary disuniformity. v24: * use rte_dma_fp_object to hide implementation details. * support group doxygen for RTE_DMA_CAPA_* and RTE_DMA_OP_*. * adjusted the naming of some functions. * fix typo. v23: * split multi-process support from 1st patch. * fix some static check warning. * fix skeleton cpu thread zero_req_count flip bug. * add test_dmadev_api.h. * add the description of modifying the dmadev state when init OK. v22: * function prefix change from rte_dmadev_* to rte_dma_*. * change to prefix comment in most scenarios. * dmadev dev_id use int16_t type. * fix typo. * organize patchsets in incremental mode. MAINTAINERS | 7 + app/test/meson.build | 4 + app/test/test_dmadev.c | 41 + app/test/test_dmadev_api.c | 574 +++++++++++++ app/test/test_dmadev_api.h | 5 + doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf.in | 1 + doc/guides/dmadevs/index.rst | 12 + doc/guides/index.rst | 1 + doc/guides/prog_guide/dmadev.rst | 90 ++ doc/guides/prog_guide/img/dmadev.svg | 283 +++++++ doc/guides/prog_guide/index.rst | 1 + doc/guides/rel_notes/release_21_11.rst | 8 + drivers/dma/meson.build | 6 + drivers/dma/skeleton/meson.build | 7 + drivers/dma/skeleton/skeleton_dmadev.c | 571 +++++++++++++ drivers/dma/skeleton/skeleton_dmadev.h | 61 ++ drivers/dma/skeleton/version.map | 3 + drivers/meson.build | 1 + lib/dmadev/meson.build | 7 + lib/dmadev/rte_dmadev.c | 826 +++++++++++++++++++ lib/dmadev/rte_dmadev.h | 1049 ++++++++++++++++++++++++ lib/dmadev/rte_dmadev_core.h | 76 ++ lib/dmadev/rte_dmadev_pmd.h | 168 ++++ lib/dmadev/version.map | 36 + lib/meson.build | 1 + 26 files changed, 3840 insertions(+) create mode 100644 app/test/test_dmadev.c create mode 100644 app/test/test_dmadev_api.c create mode 100644 app/test/test_dmadev_api.h create mode 100644 doc/guides/dmadevs/index.rst create mode 100644 doc/guides/prog_guide/dmadev.rst create mode 100644 doc/guides/prog_guide/img/dmadev.svg create mode 100644 drivers/dma/meson.build create mode 100644 drivers/dma/skeleton/meson.build create mode 100644 drivers/dma/skeleton/skeleton_dmadev.c create mode 100644 drivers/dma/skeleton/skeleton_dmadev.h create mode 100644 drivers/dma/skeleton/version.map create mode 100644 lib/dmadev/meson.build create mode 100644 lib/dmadev/rte_dmadev.c create mode 100644 lib/dmadev/rte_dmadev.h create mode 100644 lib/dmadev/rte_dmadev_core.h create mode 100644 lib/dmadev/rte_dmadev_pmd.h create mode 100644 lib/dmadev/version.map -- 2.33.0