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 7FE2FA0487 for ; Tue, 2 Jul 2019 11:56:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 722AD5B34; Tue, 2 Jul 2019 11:56:17 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 557EC5680 for ; Tue, 2 Jul 2019 11:56:16 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jul 2019 02:56:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,442,1557212400"; d="scan'208";a="184471008" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.223.2]) by fmsmga001.fm.intel.com with ESMTP; 02 Jul 2019 02:56:14 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Date: Tue, 2 Jul 2019 10:56:05 +0100 Message-Id: <20190702095608.20722-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190619170802.7691-1-bruce.richardson@intel.com> References: <20190619170802.7691-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 0/3] fixes and improvements for rawdev 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 set includes some general fixes and improvements for rawdev, the rawdev autotests and the rawdev skeleton example implementation. Specifically: * the unit test were failing for me due to bad memory management * the unit tests were not present in the meson builds due to missing file in file list * the self-test function for a rawdev driver did not take the actual device id as a parameter: - because of this the skeleton driver always assumed device 0 was to be tested, an unsafe assumption V3: * dropped patch 1 which has been independently fixed * added autotest to the drivers set rather than fast tests one V2: extended the set with additional fixes to allow selftests to know what instance the tests are to be run on. *** SUBJECT HERE *** *** BLURB HERE *** Bruce Richardson (3): app/test: add missing rawdev autotest to meson build raw/skeleton: remove compile-time constant for device id rawdev: pass the device id as parameter to selftest app/test/meson.build | 3 + drivers/raw/skeleton_rawdev/skeleton_rawdev.c | 8 ++- drivers/raw/skeleton_rawdev/skeleton_rawdev.h | 2 +- .../skeleton_rawdev/skeleton_rawdev_test.c | 58 ++++++++++--------- lib/librte_rawdev/rte_rawdev.c | 2 +- lib/librte_rawdev/rte_rawdev_pmd.h | 2 +- 6 files changed, 41 insertions(+), 34 deletions(-) -- 2.21.0