From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: [PATCH v8 2/5] vfio: add multi container support Date: Mon, 16 Apr 2018 16:58:58 +0100 Message-ID: References: <20180415153349.62105-2-xiao.w.wang@intel.com> <20180416153438.79355-1-xiao.w.wang@intel.com> <20180416153438.79355-3-xiao.w.wang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, maxime.coquelin@redhat.com, zhihong.wang@intel.com, tiwei.bie@intel.com, jianfeng.tan@intel.com, cunming.liang@intel.com, dan.daly@intel.com, thomas@monjalon.net, Junjie Chen To: Xiao Wang , ferruh.yigit@intel.com Return-path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id CC88BCFA2 for ; Mon, 16 Apr 2018 17:59:02 +0200 (CEST) In-Reply-To: <20180416153438.79355-3-xiao.w.wang@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 16-Apr-18 4:34 PM, Xiao Wang wrote: > This patch adds APIs to support container create/destroy and device > bind/unbind with a container. It also provides API for IOMMU programing > on a specified container. > > A driver could use "rte_vfio_container_create" helper to create a new > container from eal, use "rte_vfio_container_group_bind" to bind a device > to the newly created container. During rte_vfio_setup_device the container > bound with the device will be used for IOMMU setup. > > Signed-off-by: Junjie Chen > Signed-off-by: Xiao Wang > Reviewed-by: Maxime Coquelin > Reviewed-by: Ferruh Yigit > --- Acked-by: Anatoly Burakov -- Thanks, Anatoly