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 8B493A0C47; Tue, 7 Sep 2021 18:55:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2F897411A3; Tue, 7 Sep 2021 18:55:10 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 8DF28410EF for ; Tue, 7 Sep 2021 18:55:08 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10099"; a="220311323" X-IronPort-AV: E=Sophos;i="5.85,274,1624345200"; d="scan'208";a="220311323" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2021 09:49:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,274,1624345200"; d="scan'208";a="469268677" Received: from silpixa00399126.ir.intel.com ([10.237.223.29]) by orsmga007.jf.intel.com with ESMTP; 07 Sep 2021 09:49:38 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: conor.walsh@intel.com, kevin.laatz@intel.com, fengchengwen@huawei.com, jerinj@marvell.com, Bruce Richardson Date: Tue, 7 Sep 2021 17:49:17 +0100 Message-Id: <20210907164925.291904-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210826183301.333442-1-bruce.richardson@intel.com> References: <20210826183301.333442-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 0/8] add test suite for DMA drivers 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 fairly comprehensive set of tests for basic dmadev functionality. Tests are added to verify basic copy operation in each device, using both submit function and submit flag, and verifying completion gathering using both "completed()" and "completed_status()" functions. Beyond that, tests are then added for the error reporting and handling, as is a suite of tests for the fill() operation for devices that support those. Depends-on: series-18738 ("support dmadev") V3: * add patch and tests for a burst-capacity function * addressed review feedback from v2 * code cleanups to try and shorten code where possible V2: * added into dmadev a API to check for a device being idle * removed the hard-coded timeout delays before checking completions, and instead wait for device to be idle * added in checks for statistics updates as part of some tests * fixed issue identified by internal coverity scan * other minor miscellaneous changes and fixes. Bruce Richardson (5): dmadev: add channel status check for testing use app/test: add basic dmadev instance tests app/test: add basic dmadev copy tests app/test: add more comprehensive dmadev copy tests app/test: test dmadev instance failure handling Kevin Laatz (3): dmadev: add burst capacity API app/test: add dmadev fill tests app/test: add dmadev burst capacity API test app/test/test_dmadev.c | 820 ++++++++++++++++++++++++++++++++++- lib/dmadev/rte_dmadev.c | 27 ++ lib/dmadev/rte_dmadev.h | 52 +++ lib/dmadev/rte_dmadev_core.h | 11 + lib/dmadev/version.map | 2 + 5 files changed, 911 insertions(+), 1 deletion(-) -- 2.30.2