Re: [dpdk-dev] [PATCH v2 1/3] eal/vfio: add support for multiple container

2018-03-21 Thread Wang, Xiao W
Zhihong ; Bie, Tiwei > ; Xu, Rosen ; Daly, Dan > ; Liang, Cunming ; Burakov, > Anatoly > Subject: Re: [dpdk-dev] [PATCH v2 1/3] eal/vfio: add support for multiple > container > > On Wed, Mar 21, 2018 at 09:32:18PM +0100, Thomas Monjalon wrote: > > Hi, > > > >

Re: [dpdk-dev] [PATCH v2 1/3] eal/vfio: add support for multiple container

2018-03-21 Thread Gaƫtan Rivet
On Wed, Mar 21, 2018 at 09:32:18PM +0100, Thomas Monjalon wrote: > Hi, > > 21/03/2018 14:21, Xiao Wang: > > +#endif /* VFIO_PRESENT */ > > #endif /* _RTE_VFIO_H_ */ > > Please keep the empty line which was present between endif. > > > + rte_vfio_create_container; > > + rte_vfio_destroy_cont

Re: [dpdk-dev] [PATCH v2 1/3] eal/vfio: add support for multiple container

2018-03-21 Thread Thomas Monjalon
Hi, 21/03/2018 14:21, Xiao Wang: > +#endif /* VFIO_PRESENT */ > #endif /* _RTE_VFIO_H_ */ Please keep the empty line which was present between endif. > + rte_vfio_create_container; > + rte_vfio_destroy_container; > + rte_vfio_bind_group_no; > + rte_vfio_unbind_group_no; > +

[dpdk-dev] [PATCH v2 1/3] eal/vfio: add support for multiple container

2018-03-20 Thread Xiao Wang
From: Junjie Chen Currently eal vfio framework binds vfio group fd to the default container fd, while in some cases, e.g. vDPA (vhost data path acceleration), we want to set vfio group to a new container and program DMA mapping via this new container, so this patch adds APIs to support multiple c