Message ID | 20210924143335.1092300-1-conor.walsh@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 CE2DCA0548; Fri, 24 Sep 2021 16:33:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 96394412F8; Fri, 24 Sep 2021 16:33:42 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 2B34E411FA for <dev@dpdk.org>; Fri, 24 Sep 2021 16:33:40 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10116"; a="309640120" X-IronPort-AV: E=Sophos;i="5.85,320,1624345200"; d="scan'208";a="309640120" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Sep 2021 07:33:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,320,1624345200"; d="scan'208";a="703871408" Received: from silpixa00401160.ir.intel.com ([10.55.129.96]) by fmsmga006.fm.intel.com with ESMTP; 24 Sep 2021 07:33:37 -0700 From: Conor Walsh <conor.walsh@intel.com> To: bruce.richardson@intel.com, fengchengwen@huawei.com, jerinj@marvell.com, kevin.laatz@intel.com Cc: dev@dpdk.org, Conor Walsh <conor.walsh@intel.com> Date: Fri, 24 Sep 2021 14:33:23 +0000 Message-Id: <20210924143335.1092300-1-conor.walsh@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210827172550.1522362-1-conor.walsh@intel.com> References: <20210827172550.1522362-1-conor.walsh@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v5 00/12] dma: add dmadev driver for ioat devices X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
dma: add dmadev driver for ioat devices
|
|
Message
Conor Walsh
Sept. 24, 2021, 2:33 p.m. UTC
This patchset adds a dmadev driver and associated documentation to support Intel QuickData Technology devices, part of the Intel I/O Acceleration Technology (Intel I/OAT). This driver is intended to ultimately replace the current IOAT part of the IOAT rawdev driver. This patchset passes all the driver tests added in the dmadev test suite. NOTE: This patchset has several dependencies: - v23 of the dmadev set [1] - v6 of the dmadev test suite [2] - v6 of the IDXD driver [3] [1] http://patches.dpdk.org/project/dpdk/list/?series=19140 [2] http://patches.dpdk.org/project/dpdk/list/?series=19138 [3] http://patches.dpdk.org/project/dpdk/list/?series=19144 --- v5: - Updated to v23 of the dmadev lib. - Removed experimental tag for driver from MAINTAINERS. - Seperated IOAT and IDXD announcements in release notes. - Added missing check for rte_dma_get_dev_id in destroy. - Fixed memleak in destroy caused by NULL pointer. - Rewrote part of the docs to reduce duplication with DMA and IDXD. - Added patch to deprecate the rawdev IOAT driver. - Reworked destroy and close functions. - Added RTE_DMA_CAPA_HANDLES_ERRORS flag for IOAT versions >=3.4. - Other minor changes to IOAT driver. v4: - Changes needed to update from dmadev v21 to v22. - Fixed 32-bit build. - Made stats reset logic easier to understand. v3: - Added burst capacity function. - Stop function now waits for suspend rather than just using a sleep. - Changed from vchan idle to vchan status function. - Other minor changes to update from dmadev v19 to v21. v2: - Rebased on the above patchsets. - Added support for the vchan idle function. - Stop function now suspends IOAT channel to allow for reconfig. - dmadev_autotest can now be run multiple times using the IOAT driver without errors. - Added devbind updates for DMA devices - Removed some logically dead code found by coverity in the create function. Conor Walsh (12): dma/ioat: add device probe and removal functions dma/ioat: create dmadev instances on PCI probe dma/ioat: add datapath structures dma/ioat: add configuration functions dma/ioat: add start and stop functions dma/ioat: add data path job submission functions dma/ioat: add data path completion functions dma/ioat: add statistics dma/ioat: add support for vchan status function dma/ioat: add burst capacity function devbind: move ioat device IDs to dmadev category raw/ioat: deprecate ioat rawdev driver MAINTAINERS | 8 +- doc/guides/dmadevs/index.rst | 2 + doc/guides/dmadevs/ioat.rst | 131 +++++ doc/guides/rawdevs/ioat.rst | 4 + doc/guides/rel_notes/release_21_11.rst | 6 + drivers/dma/ioat/ioat_dmadev.c | 738 +++++++++++++++++++++++++ drivers/dma/ioat/ioat_hw_defs.h | 295 ++++++++++ drivers/dma/ioat/ioat_internal.h | 47 ++ drivers/dma/ioat/meson.build | 7 + drivers/dma/ioat/version.map | 3 + drivers/dma/meson.build | 1 + usertools/dpdk-devbind.py | 6 +- 12 files changed, 1243 insertions(+), 5 deletions(-) create mode 100644 doc/guides/dmadevs/ioat.rst create mode 100644 drivers/dma/ioat/ioat_dmadev.c create mode 100644 drivers/dma/ioat/ioat_hw_defs.h create mode 100644 drivers/dma/ioat/ioat_internal.h create mode 100644 drivers/dma/ioat/meson.build create mode 100644 drivers/dma/ioat/version.map