Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ upstream commit 2838aa7 ] The vDPA PCI device unplug process should release all the private device resources and also to unregister the device. The device unregistration was missed what remained the device data invalid in the rte_vhost library. Unregister the device in unplug process via the remove operation. Fixes: 95276ab ("vdpa/mlx5: introduce Mellanox vDPA driver") Reported-by: Eli Britstein <elibr@nvidia.com> Signed-off-by: Matan Azrad <matan@nvidia.com> Tested-by: Eli Britstein <elibr@nvidia.com> Acked-by: Xueming Li <xuemingl@nvidia.com> Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
- Loading branch information