From patchwork Wed Sep 8 10:39:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Walsh X-Patchwork-Id: 98336 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 434F9A0C56; Wed, 8 Sep 2021 12:40:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 24CA04117B; Wed, 8 Sep 2021 12:40:10 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id B842C4013F for ; Wed, 8 Sep 2021 12:40:08 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10100"; a="217284583" X-IronPort-AV: E=Sophos;i="5.85,277,1624345200"; d="scan'208";a="217284583" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Sep 2021 03:40:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,277,1624345200"; d="scan'208";a="524779983" Received: from silpixa00401160.ir.intel.com ([10.55.128.248]) by fmsmga004.fm.intel.com with ESMTP; 08 Sep 2021 03:40:06 -0700 From: Conor Walsh To: bruce.richardson@intel.com, fengchengwen@huawei.com, jerinj@marvell.com, kevin.laatz@intel.com Cc: dev@dpdk.org, Conor Walsh Date: Wed, 8 Sep 2021 10:39:53 +0000 Message-Id: <20210908104004.3218016-1-conor.walsh@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210903111734.2734545-1-conor.walsh@intel.com> References: <20210903111734.2734545-1-conor.walsh@intel.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 00/11] 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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: - v21 of the dmadev set [1] - v3 of the dmadev test suite [2] - v3 of the IDXD driver [3] [1] http://patches.dpdk.org/project/dpdk/list/?series=18738 [2] http://patches.dpdk.org/project/dpdk/list/?series=18744 [3] http://patches.dpdk.org/project/dpdk/list/?series=18762 --- 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 (11): 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 ID for ICX to dmadev category MAINTAINERS | 6 + doc/guides/dmadevs/index.rst | 1 + doc/guides/dmadevs/ioat.rst | 214 ++++++++ doc/guides/rel_notes/release_21_11.rst | 7 +- drivers/dma/ioat/ioat_dmadev.c | 728 +++++++++++++++++++++++++ drivers/dma/ioat/ioat_hw_defs.h | 294 ++++++++++ drivers/dma/ioat/ioat_internal.h | 44 ++ drivers/dma/ioat/meson.build | 7 + drivers/dma/ioat/version.map | 3 + drivers/dma/meson.build | 1 + usertools/dpdk-devbind.py | 5 +- 11 files changed, 1304 insertions(+), 6 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