On Fri, Sep 11, 2020 at 1:08 PM wangyunjian <wangyunj...@huawei.com> wrote: > > From: Yunjian Wang <wangyunj...@huawei.com> > > Currently, only the 'vfio_dev_fd' is closed in failure path, so > some resources are not released(such as 'vfio_group_fd'). The > rte_vfio_release_device() should be used to avoid this problem. > > Fixes: 33604c31354a ("vfio: refactor PCI BAR mapping") > Cc: sta...@dpdk.org > > Signed-off-by: Yunjian Wang <wangyunj...@huawei.com> Reviewed-by: Anatoly Burakov <anatoly.bura...@intel.com>
Applied, thanks. -- David Marchand