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 27B8CA2E1B for ; Wed, 4 Sep 2019 14:05:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 79C7C1EDA4; Wed, 4 Sep 2019 14:05:32 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id A202B1ED8A for ; Wed, 4 Sep 2019 14:05:30 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Sep 2019 05:05:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,465,1559545200"; d="scan'208";a="382490633" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga005.fm.intel.com with ESMTP; 04 Sep 2019 05:05:28 -0700 Received: from wgcvswdev001.ir.intel.com (wgcvswdev001.ir.intel.com [10.102.246.100]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id x84C5Rc8023718; Wed, 4 Sep 2019 13:05:27 +0100 Received: from wgcvswdev001.ir.intel.com (localhost [127.0.0.1]) by wgcvswdev001.ir.intel.com with ESMTP id x84C4oop002394; Wed, 4 Sep 2019 13:04:50 +0100 Received: (from tchaitax@localhost) by wgcvswdev001.ir.intel.com with œ id x84C4oHO002390; Wed, 4 Sep 2019 13:04:50 +0100 From: Chaitanya Babu Talluri To: dev@dpdk.org Cc: reshma.pattan@intel.com, jananeex.m.parthasarathy@intel.com, anatoly.burakov@intel.com, Chaitanya Babu Talluri Date: Wed, 4 Sep 2019 13:04:38 +0100 Message-Id: <1567598682-2225-1-git-send-email-tallurix.chaitanya.babu@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: <1566907031-2105-1-git-send-email-tallurix.chaitanya.babu@intel.com> References: <1566907031-2105-1-git-send-email-tallurix.chaitanya.babu@intel.com> Subject: [dpdk-dev] [PATCH v4 0/4] add unit tests for eal vfio library 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" 1/4: fix vfio unmap that fails unexpectedly 2/4: fix vfio unmap that succeeds unexpectedly 3/4: add API to check iommu type is set 4/4: add unit tests for eal vfio Patch 4/4 depends on 1/4,2/4,3/4 Signed-off-by: Chaitanya Babu Talluri --- v4: Fixed compilation issues. v3: Added API to check iommu type. v2: Updated commit messages. --- Chaitanya Babu Talluri (4): lib/eal: fix vfio unmap that fails unexpectedly lib/eal: fix vfio unmap that succeeds unexpectedly lib/eal: add API to check iommu type is set app/test: add unit tests for eal vfio app/test/Makefile | 1 + app/test/meson.build | 2 + app/test/test_eal_vfio.c | 737 +++++++++++++++++++++++ lib/librte_eal/common/include/rte_vfio.h | 11 + lib/librte_eal/linux/eal/eal_vfio.c | 75 ++- lib/librte_eal/rte_eal_version.map | 3 + 6 files changed, 822 insertions(+), 7 deletions(-) create mode 100644 app/test/test_eal_vfio.c -- 2.17.2