Re: [dpdk-dev] [PATCH v7 2/5] vfio: add multi container support

2018-04-16 Thread Wang, Xiao W
Hi Anatoly, > -Original Message- > From: Burakov, Anatoly > Sent: Monday, April 16, 2018 6:03 PM > To: Wang, Xiao W ; Yigit, Ferruh > > Cc: dev@dpdk.org; maxime.coque...@redhat.com; Wang, Zhihong > ; Bie, Tiwei ; Tan, Jianfeng > ; Liang, Cunming ; Daly, > Dan ; tho...@monjalon.net; Chen,

Re: [dpdk-dev] [PATCH v7 2/5] vfio: add multi container support

2018-04-16 Thread Burakov, Anatoly
On 15-Apr-18 4:33 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_create_container" helper to create a ^^ wrong API name in co

[dpdk-dev] [PATCH v7 2/5] vfio: add multi container support

2018-04-15 Thread Xiao Wang
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_create_container" helper to create a new container from eal, use "rte_vfio_bind_group" to bind a device