[dpdk-dev] [dpdk-stable] [PATCH v2] vdpa/mlx5: fix device unplug

Xia, Chenbo chenbo.xia at intel.com
Tue May 18 10:27:28 CEST 2021


> -----Original Message-----
> From: stable <stable-bounces at dpdk.org> On Behalf Of Matan Azrad
> Sent: Friday, May 14, 2021 2:40 AM
> To: dev at dpdk.org
> Cc: maxime.coquelin at redhat.com; stable at dpdk.org; Eli Britstein
> <elibr at nvidia.com>; Xueming Li <xuemingl at nvidia.com>
> Subject: [dpdk-stable] [PATCH v2] vdpa/mlx5: fix device unplug
> 
> 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: 95276abaaf0a ("vdpa/mlx5: introduce Mellanox vDPA driver")
> Cc: stable at dpdk.org
> 
> Reported-by: Eli Britstein <elibr at nvidia.com>
> Signed-off-by: Matan Azrad <matan at nvidia.com>
> Tested-by: Eli Britstein <elibr at nvidia.com>
> Acked-by: Xueming Li <xuemingl at nvidia.com>
> ---
> 2.25.1

Applied to next-virtio/main. Thanks.



More information about the dev mailing list