Skip to content
Commit d8f7bff9 authored by Aharon Landau's avatar Aharon Landau Committed by Greg Kroah-Hartman
Browse files

RDMA/mlx5: Add a umr recovery flow

[ Upstream commit 158e71bb

 ]

When a UMR fails, the UMR QP state changes to an error state. Therefore,
all the further UMR operations will fail too.

Add a recovery flow to the UMR QP, and repost the flushed WQEs.

Link: https://lore.kernel.org/r/6cc24816cca049bd8541317f5e41d3ac659445d3.1652588303.git.leonro@nvidia.com
Signed-off-by: default avatarAharon Landau <aharonl@nvidia.com>
Reviewed-by: default avatarMichael Guralnik <michaelgur@nvidia.com>
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
Stable-dep-of: 9b7d4be9

 ("RDMA/mlx5: Fix UMR cleanup on error flow of driver init")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ada0ccc4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment