]> git.itanic.dy.fi Git - linux-stable/commit
RDMA/mlx5: Add a umr recovery flow
authorAharon Landau <aharonl@nvidia.com>
Sun, 15 May 2022 04:19:53 +0000 (07:19 +0300)
committerLeon Romanovsky <leonro@nvidia.com>
Tue, 7 Jun 2022 09:57:41 +0000 (12:57 +0300)
commit158e71bb69e368b8b33e8b7c4ac8c111da0c1ae2
tree25467e144ee8975363db933b9cc9b7db84ee225f
parent650126a890902a47304e9326a85b603c96f0c980
RDMA/mlx5: Add a umr recovery flow

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: Aharon Landau <aharonl@nvidia.com>
Reviewed-by: Michael Guralnik <michaelgur@nvidia.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mlx5/cq.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/umr.c