]> git.droids-corp.org - dpdk.git/commit
vdpa/mlx5: workaround queue stop with traffic
authorMatan Azrad <matan@nvidia.com>
Mon, 22 Nov 2021 13:12:35 +0000 (15:12 +0200)
committerChenbo Xia <chenbo.xia@intel.com>
Thu, 27 Jan 2022 04:44:49 +0000 (05:44 +0100)
commitb5e51edfbe18ee30b8fed5efdb09f2ab4c8a05a0
tree5af60b5b5a06d988b1cd11b52b7071615e84397a
parenta935a4c3c72744d4a60403f4c912d104f7a77e06
vdpa/mlx5: workaround queue stop with traffic

When the event thread polls traffic and a virtq is stopping, the FW loses
synchronization in the virtq indexes.

It causes LM failure on synchronization between the HOST indexes to
the GUEST indexes.

Unset the event thread before the queue stop in the LM process.

Fixes: 31b9c29c86af ("vdpa/mlx5: support close and config operations")
Cc: stable@dpdk.org
Signed-off-by: Matan Azrad <matan@nvidia.com>
Acked-by: Xueming Li <xuemingl@nvidia.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/vdpa/mlx5/mlx5_vdpa.c