From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E6D3BA04AF; Fri, 21 Aug 2020 18:29:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 537392BE2; Fri, 21 Aug 2020 18:29:52 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id C224F1B53 for ; Fri, 21 Aug 2020 18:29:50 +0200 (CEST) IronPort-SDR: t5/Q6TB0o466kY4FXG7t+NapJgxWZXO2uUMSTT2xIhpompgkhYkEbmyzrVAaFZJJkx/CmILBCp dKCjUEzuXM6w== X-IronPort-AV: E=McAfee;i="6000,8403,9719"; a="143209425" X-IronPort-AV: E=Sophos;i="5.76,337,1592895600"; d="scan'208";a="143209425" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Aug 2020 09:29:49 -0700 IronPort-SDR: 3CXqBib8aqAjvzKCveuGfc9M35G+kS/g2h7Wvwn51lFDb5KAG8uAhFyPDJLX7QWMSk6trex55W c46+OqgLHO7A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,337,1592895600"; d="scan'208";a="297992580" Received: from silpixa00399126.ir.intel.com ([10.237.222.56]) by orsmga006.jf.intel.com with ESMTP; 21 Aug 2020 09:29:48 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: cheng1.jiang@intel.com, patrick.fu@intel.com, ping.yu@intel.com, kevin.laatz@intel.com, Bruce Richardson Date: Fri, 21 Aug 2020 17:29:26 +0100 Message-Id: <20200821162944.29840-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200721095140.719297-1-bruce.richardson@intel.com> References: <20200721095140.719297-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 00/18] raw/ioat: enhancements and new hardware support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 some small enhancements, some rework and also support for new hardware to the ioat rawdev driver. Most rework and enhancements are largely self-explanatory from the individual patches. The new hardware support is for the Intel(R) DSA accelerator which will be present in future Intel processors. A description of this new hardware is covered in [1]. Functions specific to the new hardware use the "idxd" prefix, for consistency with the kernel driver. *** SUBJECT HERE *** [1] https://01.org/blogs/2019/introducing-intel-data-streaming-accelerator --- V2: * Included documentation additions in the set * Split off the rawdev unit test changes to a separate patchset for easier review * General code improvements and cleanups Bruce Richardson (14): raw/ioat: split header for readability raw/ioat: make the HW register spec private raw/ioat: add skeleton for VFIO/UIO based DSA device raw/ioat: include example configuration script raw/ioat: create rawdev instances on idxd PCI probe raw/ioat: add datapath data structures for idxd devices raw/ioat: add configure function for idxd devices raw/ioat: add start and stop functions for idxd devices raw/ioat: add data path for idxd devices raw/ioat: add info function for idxd devices raw/ioat: create separate statistics structure raw/ioat: move xstats functions to common file raw/ioat: add xstats tracking for idxd devices raw/ioat: clean up use of common test function Cheng Jiang (1): raw/ioat: add a flag to control copying handle parameters Kevin Laatz (3): usertools/dpdk-devbind.py: add support for DSA HW raw/ioat: add vdev probe for DSA/idxd devices raw/ioat: create rawdev instances for idxd vdevs doc/guides/rawdevs/ioat.rst | 131 +++-- drivers/raw/ioat/dpdk_idxd_cfg.py | 79 +++ drivers/raw/ioat/idxd_pci.c | 344 +++++++++++++ drivers/raw/ioat/idxd_vdev.c | 234 +++++++++ drivers/raw/ioat/ioat_common.c | 237 +++++++++ drivers/raw/ioat/ioat_private.h | 80 +++ drivers/raw/ioat/ioat_rawdev.c | 95 +--- drivers/raw/ioat/ioat_rawdev_test.c | 1 + .../raw/ioat/{rte_ioat_spec.h => ioat_spec.h} | 90 +++- drivers/raw/ioat/meson.build | 15 +- drivers/raw/ioat/rte_ioat_rawdev.h | 169 ++----- drivers/raw/ioat/rte_ioat_rawdev_fns.h | 474 ++++++++++++++++++ usertools/dpdk-devbind.py | 4 +- 13 files changed, 1646 insertions(+), 307 deletions(-) create mode 100755 drivers/raw/ioat/dpdk_idxd_cfg.py create mode 100644 drivers/raw/ioat/idxd_pci.c create mode 100644 drivers/raw/ioat/idxd_vdev.c create mode 100644 drivers/raw/ioat/ioat_common.c create mode 100644 drivers/raw/ioat/ioat_private.h rename drivers/raw/ioat/{rte_ioat_spec.h => ioat_spec.h} (74%) create mode 100644 drivers/raw/ioat/rte_ioat_rawdev_fns.h -- 2.25.1