On 7/27/20 10:07 AM, Matan Azrad wrote:
> When a virtq is destroyed by the driver, it must be removed from the
> steering RQT which holds its reference.
>
> The driver didn't remove the virtq from RQT before destroying it what
> caused HW syndrome in virtq unset.
>
> Remove the virtq from RQT before destroying it.
>
> Fixes: 9f09b1ca15c5 ("vdpa/mlx5: recreate a virtq becoming enabled")
> Cc: sta...@dpdk.org
>
> Signed-off-by: Xueming Li <xuemi...@mellanox.com>
> Signed-off-by: Matan Azrad <ma...@mellanox.com>
> ---
> drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 21 +++++++++++++--------
> 1 file changed, 13 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/vdpa/mlx5/mlx5_vdpa_virtq.c
> b/drivers/vdpa/mlx5/mlx5_vdpa_virtq.c
Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com>
Thanks,
Maxime