On Thu, Mar 11, 2021 at 04:20:24PM +0200, Leon Romanovsky wrote: > From: Mark Zhang <markzhang@xxxxxxxxxx> > > Set mkey_index to correct place when prepare destroy_mkey inbox, > this will fix the following syndrome/ > > mlx5_core 0000:08:00.0: mlx5_cmd_check:782:(pid 980716): DEALLOC_PD(0x801) > op_mod(0x0) failed, status bad resource state(0x9), syndrome (0x31b635) > > Cc: stable@xxxxxxxxxxxxxxx > Fixes: 1368ead04c36 ("RDMA/mlx5: Use strict get/set operations for obj_id") > Reviewed-by: Ido Kalir <idok@xxxxxxxxxxxx> > Reviewed-by: Yishai Hadas <yishaih@xxxxxxxxxx> > Signed-off-by: Mark Zhang <markzhang@xxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx> > --- > drivers/infiniband/hw/mlx5/devx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to for-rc thanks Jason