[dpdk-dev] [PATCH 1/2] eal/vfio: check if we already have the group fd open

2018-09-17 Thread Darek Stojaczyk
From: Dariusz Stojaczyk Always attempt to find already opened fd for an iommu group as subsequent attempts to open it will fail. There's no public API to check if a group was already bound and has a container, so rte_vfio_container_group_bind() shouldn't fail in such case. Fixes: ea2dc1066870 (

Re: [dpdk-dev] [PATCH 1/2] eal/vfio: check if we already have the group fd open

2018-10-28 Thread Thomas Monjalon
25/09/2018 09:56, Wang, Xiao W: > Hi, > > > From: Dariusz Stojaczyk > > > > Always attempt to find already opened fd for an iommu > > group as subsequent attempts to open it will fail. > > > > There's no public API to check if a group was already > > bound and has a container, so rte_vfio_conta

Re: [dpdk-dev] [PATCH 1/2] eal/vfio: check if we already have the group fd open

2018-09-25 Thread Wang, Xiao W
Hi, > -Original Message- > From: Stojaczyk, Dariusz > Sent: Monday, September 17, 2018 9:47 PM > To: dev@dpdk.org > Cc: Alejandro Lucero ; Burakov, Anatoly > ; sta...@dpdk.org; Stojaczyk, Dariusz > ; Wang, Xiao W > Subject: [PATCH 1/2] eal/vfio: check if we already have the group fd open

Re: [dpdk-dev] [PATCH 1/2] eal/vfio: check if we already have the group fd open

2018-09-26 Thread Burakov, Anatoly
On 17-Sep-18 2:46 PM, Darek Stojaczyk wrote: From: Dariusz Stojaczyk Always attempt to find already opened fd for an iommu group as subsequent attempts to open it will fail. There's no public API to check if a group was already bound and has a container, so rte_vfio_container_group_bind() shou