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 92F8EA0562; Tue, 4 May 2021 15:15:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B9A0D410F3; Tue, 4 May 2021 15:15:36 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id C459240141 for ; Tue, 4 May 2021 15:15:28 +0200 (CEST) IronPort-SDR: FoxjEZxBPzmPreAQGfsXRf77LeyZ/q4VV5yZjXO9tEc8syctZAnsp/iJ9S7mWPF//CCqdZ1pxX IY9rLVW4vVTA== X-IronPort-AV: E=McAfee;i="6200,9189,9973"; a="259259296" X-IronPort-AV: E=Sophos;i="5.82,272,1613462400"; d="scan'208";a="259259296" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2021 06:15:26 -0700 IronPort-SDR: q6MAGSETmpgy7jCeZlF5x8JzaEF1SwD1OdY14Ga+9O2b8XC8Np0Kog0gnhwuKnMQwAA0dFSAbH 0im+f2JUTGhg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,272,1613462400"; d="scan'208";a="406105485" Received: from silpixa00399126.ir.intel.com ([10.237.223.78]) by orsmga002.jf.intel.com with ESMTP; 04 May 2021 06:15:18 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: kevin.laatz@intel.com, sunil.pai.g@intel.com, jiayu.hu@intel.com, Bruce Richardson Date: Tue, 4 May 2021 14:14:46 +0100 Message-Id: <20210504131458.593429-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210318182042.43658-1-bruce.richardson@intel.com> References: <20210318182042.43658-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v5 00/12] ioat driver updates 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 set contains a series of updates to the ioat driver, described in each of the individual patchsets. V5: updated following feedback on-list: * reworked commit log of patch 4 * added doxygen @file documentation to patch 9 V4: fix issue with capacity unit test [due to missed line when rebasing to create v3 patchset] V3: fixed checkpatch issue flagged reworked capacity unit tests fixed ring wrap-around issue with final patch V2: added doc changes and expanded scope of patchset Bruce Richardson (10): raw/ioat: add unit tests for completion batching raw/ioat: support limiting queues for idxd PCI device raw/ioat: add component prefix to log messages raw/ioat: expand descriptor struct to full 64 bytes raw/ioat: fix script for configuring small number of queues raw/ioat: make workqueue name configurable in script raw/ioat: add bus driver for device scanning automatically raw/ioat: move idxd functions to separate file raw/ioat: rework SW ring layout raw/ioat: report status of completed jobs Kevin Laatz (2): raw/ioat: allow perform operations function to return error raw/ioat: add API to query remaining ring space doc/guides/rawdevs/ioat.rst | 31 +- doc/guides/rel_notes/release_21_05.rst | 5 + drivers/raw/ioat/dpdk_idxd_cfg.py | 19 +- drivers/raw/ioat/idxd_bus.c | 359 +++++++++++++++++ drivers/raw/ioat/idxd_pci.c | 33 +- drivers/raw/ioat/idxd_vdev.c | 231 ----------- drivers/raw/ioat/ioat_common.c | 106 ++--- drivers/raw/ioat/ioat_private.h | 2 +- drivers/raw/ioat/ioat_rawdev_test.c | 534 ++++++++++++++++++++++--- drivers/raw/ioat/meson.build | 5 +- drivers/raw/ioat/rte_idxd_rawdev_fns.h | 390 ++++++++++++++++++ drivers/raw/ioat/rte_ioat_rawdev.h | 57 ++- drivers/raw/ioat/rte_ioat_rawdev_fns.h | 350 ++++------------ examples/ioat/ioatfwd.c | 14 +- examples/vhost/ioat.c | 2 +- 15 files changed, 1471 insertions(+), 667 deletions(-) create mode 100644 drivers/raw/ioat/idxd_bus.c delete mode 100644 drivers/raw/ioat/idxd_vdev.c create mode 100644 drivers/raw/ioat/rte_idxd_rawdev_fns.h -- 2.30.2