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

Thomas Monjalon thomas at monjalon.net
Mon Oct 29 01:26:38 CET 2018


25/09/2018 09:56, Wang, Xiao W:
> Hi,
> 
> > From: Dariusz Stojaczyk <dariuszx.stojaczyk at intel.com>
> > 
> > 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 ("vfio: add multi container support")
> > Cc: xiao.w.wang at intel.com
> > 
> > Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk at intel.com>
> 
> Acked-by: Xiao Wang <xiao.w.wang at intel.com>

+Cc: stable at dpdk.org

Series applied, thanks




More information about the dev mailing list