On Sun, May 15, 2022 at 07:19:53AM +0300, Leon Romanovsky wrote: > From: Aharon Landau <aharonl@xxxxxxxxxx> > > 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. > > Signed-off-by: Aharon Landau <aharonl@xxxxxxxxxx> > Reviewed-by: Michael Guralnik <michaelgur@xxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx> > --- > drivers/infiniband/hw/mlx5/cq.c | 4 ++ > drivers/infiniband/hw/mlx5/mlx5_ib.h | 12 ++++- > drivers/infiniband/hw/mlx5/umr.c | 78 ++++++++++++++++++++++++---- > 3 files changed, 83 insertions(+), 11 deletions(-) > Thanks, applied to rdma-next.