[PATCH] vdpa/mlx5: fix queue enable drain CQ

Maxime Coquelin maxime.coquelin at redhat.com
Tue Feb 6 15:58:23 CET 2024



On 1/25/24 04:17, Yajun Wu wrote:
> For the case: `ethtool -L eth0 combined xxx` in VM, VQ will disable
> and enable without calling device close. In such case, need add
> drain CQ before reuse/reset event QP.
> 
> Fixes: 24969c7b62 ("vdpa/mlx5: reuse event queues")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Yajun Wu <yajunw at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>
> ---
>   drivers/vdpa/mlx5/mlx5_vdpa_event.c | 29 +++++++++++++++++++----------
>   1 file changed, 19 insertions(+), 10 deletions(-)
> 

Applied to next-virtio tree.

Thanks,
Maxime



More information about the stable mailing list