From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: [PATCH v2] vfio: Support for no-IOMMU mode Date: Thu, 14 Jan 2016 09:50:15 +0000 Message-ID: References: <1450728967-9686-1-git-send-email-anatoly.burakov@intel.com> <1452688569-14695-1-git-send-email-anatoly.burakov@intel.com> <20160113084531.6bd4e3c6@xeon-e3> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" To: Stephen Hemminger Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id AEE49952 for ; Thu, 14 Jan 2016 10:50:18 +0100 (CET) In-Reply-To: <20160113084531.6bd4e3c6@xeon-e3> Content-Language: en-US List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Stephen, > > +/* IOMMU types we support */ > > +static const struct vfio_iommu_type iommu_types[] =3D { > > + /* 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}, > > +}; > > + >=20 > Nit.. Why full-tab indent here? Readability mainly... at least it's more readable to me that way. I can cha= nge that if necessary. Thanks, Anatoly