From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 4385458CF for ; Mon, 21 Dec 2015 16:26:27 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP; 21 Dec 2015 07:26:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,460,1444719600"; d="scan'208";a="712093711" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga003.jf.intel.com with ESMTP; 21 Dec 2015 07:26:24 -0800 Received: from sivlogin002.ir.intel.com (sivlogin002.ir.intel.com [10.237.217.37]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id tBLFQOSw005067; Mon, 21 Dec 2015 15:26:24 GMT Received: from sivlogin002.ir.intel.com (localhost [127.0.0.1]) by sivlogin002.ir.intel.com with ESMTP id tBLFQOIw021195; Mon, 21 Dec 2015 15:26:24 GMT Received: (from fyigit@localhost) by sivlogin002.ir.intel.com with œ id tBLFQNKk021191; Mon, 21 Dec 2015 15:26:23 GMT X-Authentication-Warning: sivlogin002.ir.intel.com: fyigit set sender to ferruh.yigit@intel.com using -f Date: Mon, 21 Dec 2015 15:26:23 +0000 From: "Yigit, Ferruh" To: "Burakov, Anatoly" Message-ID: <20151221152623.GA20343@sivlogin002.ir.intel.com> Mail-Followup-To: "Burakov, Anatoly" , "dev@dpdk.org" , "Thomas Monjalon (thomas.monjalon@6wind.com)" References: <20151221114643.GA30129@sivlogin002.ir.intel.com> <1450700305-26453-1-git-send-email-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH] vfio: add no-iommu support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2015 15:26:27 -0000 On Mon, Dec 21, 2015 at 03:15:46PM +0000, Burakov, Anatoly wrote: > > This is based on patch from Alex Williamson: > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=03 > > 3291eccbdb > > plus > > http://dpdk.org/dev/patchwork/patch/9598/ > > > > This patch is intended to test above patches on DPDK rather than official > > patch to DPDK. > > > > Test result is DPDK successfully run on no-iommu environment. > > > > This is one approach :) I was thinking of another, building some kind of more generic support for multiple VFIO drivers. It's a bit more code and probably overkill as a solution to this particular problem, but hopefully it'll make it easier to add new VFIO drivers down the line (with each driver having their own DMA mapping function), should we choose to do so. I'm still working on the patch, but if everyone is OK with this approach instead of a more general one, that's fine with me. > Hi Anatoly, This patch sent just to show what changes done to test VFIO no-iommu I mentioned, and to have a justification for the kernel patch, not sent as a final solution in DPDK, sorry for interrupting your work. Thanks, ferruh