[dpdk-dev] [PATCH] vdpa/mlx5: fix steering update in virtq unset
Maxime Coquelin
maxime.coquelin at redhat.com
Tue Jul 28 17:48:04 CEST 2020
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: stable at dpdk.org
>
> Signed-off-by: Xueming Li <xuemingl at mellanox.com>
> Signed-off-by: Matan Azrad <matan at mellanox.com>
> ---
> drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 21 +++++++++++++--------
> 1 file changed, 13 insertions(+), 8 deletions(-)
Applied to dpdk-next-virtio/master
Thanks,
Maxime
More information about the dev
mailing list