From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <stephen@networkplumber.org>
Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com
 [209.85.220.43]) by dpdk.org (Postfix) with ESMTP id 094F1A6A
 for <dev@dpdk.org>; Wed, 13 Jan 2016 17:45:24 +0100 (CET)
Received: by mail-pa0-f43.google.com with SMTP id yy13so268330418pab.3
 for <dev@dpdk.org>; Wed, 13 Jan 2016 08:45:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=networkplumber-org.20150623.gappssmtp.com; s=20150623;
 h=date:from:to:cc:subject:message-id:in-reply-to:references
 :mime-version:content-type:content-transfer-encoding;
 bh=FfAkm5tqbgObKbG3WsAJ6FX08ITTliQu9AKB+QymcK8=;
 b=sC1CjNDJpAf1PzmICVOK3UrsklNnC53wdgKJ1OnwYjTVneEnf0Nlcrn7m2vD92Oc+E
 OdEfhQkjQKhlJwlSHN+eGBCyTGlBvryMfncuKpP2Ia1a1tj8P1FdAr/Q3ABz092+bpTT
 Ck4SCpFrBk7e6AeroB/roob7yQ1uA5hV8rADYv7a/rAXvT8JIl46qzLJGyM7/ELjdTSz
 Rr0prle9f99sdqfUw2ZZ6lOsMl5jAELnrWZq9z2Gx52dYuy4ghZNJ3DbD0mXhcIvel/R
 kaazhDxKJG4mtFRLvD44oGzLaITLJ0ej3i7wBYfyYWv5zaIyv1PvicizqhFagwX/ZblT
 ptQQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to
 :references:mime-version:content-type:content-transfer-encoding;
 bh=FfAkm5tqbgObKbG3WsAJ6FX08ITTliQu9AKB+QymcK8=;
 b=J1QQ7pRAnxwjFFwj2n9LFTvlB9HfqG9KayLXEfIj4UI7EyCYi5E5UbGuKi/MaHold8
 lrbR9JreRaVPRCZlqw/8wTwEZnNlOfOJXAZ8Sq6Q4XUziu1RYv81Mfl/9inmWPDTe8iZ
 FppyFD1015enyymQDjMh8qwkPvMF9Sam+eSWQ59yGxQEkfLesxuB3wxKbvoTqng6DRfX
 C0TK7YiTuUgv2Lh2ApKh7p73q7SV3Eq0mzUSVzR2OKtVV5tYubcklHzdBZf0HbfGrRG0
 xk8MFyPi0D1Nj+MA81Bg1hNZkTcPb8avGt6qK+AnupXLgwp8LeGjZXBY3vNd9snin/8l
 +VLw==
X-Gm-Message-State: ALoCoQkH8yQ+ZBZWsRJ1J6j7VqWD361pvSAwKwfUww6gl1ks7yWC2147W17BLzrvlaNakFB8/HKX3rlWtVS50Y9L4TCR/3wF8Q==
X-Received: by 10.66.156.106 with SMTP id wd10mr198776029pab.150.1452703523310; 
 Wed, 13 Jan 2016 08:45:23 -0800 (PST)
Received: from xeon-e3 (static-50-53-82-155.bvtn.or.frontiernet.net.
 [50.53.82.155])
 by smtp.gmail.com with ESMTPSA id xr8sm3754118pab.26.2016.01.13.08.45.22
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 13 Jan 2016 08:45:22 -0800 (PST)
Date: Wed, 13 Jan 2016 08:45:31 -0800
From: Stephen Hemminger <stephen@networkplumber.org>
To: Anatoly Burakov <anatoly.burakov@intel.com>
Message-ID: <20160113084531.6bd4e3c6@xeon-e3>
In-Reply-To: <1452688569-14695-1-git-send-email-anatoly.burakov@intel.com>
References: <1450728967-9686-1-git-send-email-anatoly.burakov@intel.com>
 <1452688569-14695-1-git-send-email-anatoly.burakov@intel.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v2] vfio: Support for no-IOMMU mode
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Jan 2016 16:45:24 -0000

On Wed, 13 Jan 2016 12:36:09 +0000
Anatoly Burakov <anatoly.burakov@intel.com> wrote:

> +/* IOMMU types we support */
> +static const struct vfio_iommu_type iommu_types[] = {
> +		/* x86 IOMMU, otherwise known as type 1 */
> +		{ VFIO_TYPE1_IOMMU, "Type 1", &vfio_iommu_type1_dma_map},
> +		/* IOMMU-less mode */
> +		{ VFIO_NOIOMMU_IOMMU, "No-IOMMU", &vfio_iommu_noiommu_dma_map},
> +};
> +

Nit.. Why full-tab indent here?