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 A1098A04BB; Tue, 6 Oct 2020 09:28:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8F5961252; Tue, 6 Oct 2020 09:28:43 +0200 (CEST) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by dpdk.org (Postfix) with ESMTP id 817DF11A4 for ; Tue, 6 Oct 2020 09:28:42 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 6D46942E; Tue, 6 Oct 2020 03:28:38 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 06 Oct 2020 03:28:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= M/uUlA3EvI932SEN5yp/hJlccFqA9DvXiHRU7BvgAMY=; b=Os6H2usOtHvbGO1F Kuhp7EAVPUeFJ2u0nQNtE+j8jABbc9UK+7Ma9joroeQz4Bk5ya8blma8OwxKwxBx B0vtIDVuPA6fquKYMp3pdnlmHQ1lTNvpQQdaZufGHbO9aEwuLc3wUeGymZlSfeCM L01JGaBiKL38wX9r/wnNAJxgO7KBIllmNmRqKvtE8G0rgW4nkKC/TcIsPxgqHmBx 5+yLsmdCj6aqEZLnA53Q9XDFh+3VBYNInPoyJ0Ge1Ou+POkcqVyBFfjtHkuNFoJR bpIBf459d6J7EszRvwvlJGhCHtDMOemfx4rCSSvbduTgBjOK/JK+7lmH1wRqTkyY TnJPew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=M/uUlA3EvI932SEN5yp/hJlccFqA9DvXiHRU7BvgA MY=; b=BpS3mrZaQ37v5XeNmy9SnALl9h6WUvjk8htlAaMneE0OlN7eiqp/ZOS8P ePGOSrSN+C5GPA8xyyeXlHr01T1HmQ/v9q2rpS29tbGW5SJv9AF5F+2KmDFArhMB jP5pOatkM0K0KJzaaROj5/sVJFoA0siHF1xstxEm663GUFfUGLx4iEoYtKeHZ3rR aVwHrdZnjOObsnFJOIwOMNcoyPx2aO2HxvYI6rYXyLdAAOaOo5x+YpOKBBMxclKA 0lHHtNXDO0P6sIPrn1hHsYBtW32mJY9dtvNRz/PYXFWzY1x/3UKN9QFuAKnynur4 +28GdWl8CqW0AUfsyULIC9rvdIaQg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrgeefgdduvddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 4AF313280063; Tue, 6 Oct 2020 03:28:37 -0400 (EDT) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org Date: Tue, 06 Oct 2020 09:28:34 +0200 Message-ID: <38143211.J58XUh0z7q@thomas> In-Reply-To: <20200910164716.1011901-1-bruce.richardson@intel.com> References: <20200821155945.29415-1-bruce.richardson@intel.com> <20200910164716.1011901-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 0/3] simplify unit-testing of rawdevs 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" > At present the "rawdev_autotest" command creates a skeleton rawdev and runs > a series of tests on the rawdev API and on that rawdev. While the rawdev > API set includes a "selftest" function, it is not hooked up to this test so > to test an individual rawdev driver, e.g. ioat, requires that a new test > command be added. > > This patchset improves the situation by changing the UT to first run the > existing API tests, but then call selftest on all rawdevs on the system. > This removes the need for any new test commands for new drivers. If there > are multiple rawdevs on a system, the sub-set to be tested can be limited > via existing means such as using the device block/allow EAL parameters or > similarly via vdev args, etc. > > As part of this change, the ioat rawdev autotest is fixed to allow calling > on multiple instances inside the one test run, and thereafter the custom > test command for it is removed as it is no longer necessary. Applied, thanks