RDMA/mlx5: Add init2init as a modify command
Subsystems (2)
PATCH 1/1 RDMA/mlx5: Add init2init as a modify command
From: Aharon Landau <[email protected]>
Missing INIT2INIT entry in the list of modify commands caused that DEVX applications can't modify QP for this transition state. Add the MLX5_CMD_OP_INIT2INIT_QP opcode to the list of allowed DEVX opcodes.
Fixes e662e14d801b ("IB/mlx5: Add DEVX support for modify and query commands")
Signed-off-by Aharon Landau <[email protected]>
Reviewed-by Maor Gottlieb <[email protected]>
Signed-off-by Leon Romanovsky <[email protected]>
--- drivers/infiniband/hw/mlx5/devx.c | 1 + 1 file changed, 1 insertion(+)
drivers/infiniband/hw/mlx5/devx.c +1 -0
@@ -820,6 +820,7 @@ static bool devx_is_obj_modify_cmd(const void *in)case MLX5_CMD_OP_SET_L2_TABLE_ENTRY :case MLX5_CMD_OP_RST2INIT_QP :case MLX5_CMD_OP_INIT2RTR_QP : +case MLX5_CMD_OP_INIT2INIT_QP :case MLX5_CMD_OP_RTR2RTS_QP :case MLX5_CMD_OP_RTS2RTS_QP :case MLX5_CMD_OP_SQERR2RTS_QP :
Signature · 1 line
2.26.2
Jason Gunthorpe
AppliedQuoted 7 lines · Leon Romanovsky
From: Aharon Landau <[email protected]>
Missing INIT2INIT entry in the list of modify commands caused that DEVX applications can't modify QP for this transition state. Add the
MLX5_CMD_OP_INIT2INIT_QPopcode to the list of allowed DEVX opcodes.
Quoted 7 lines
Fixes e662e14d801b ("IB/mlx5: Add DEVX support for modify and query commands")Signed-off-by Aharon Landau <[email protected]>Reviewed-by Maor Gottlieb <[email protected]>Signed-off-by Leon Romanovsky <[email protected]>--- drivers/infiniband/hw/mlx5/devx.c | 1 + 1 file changed, 1 insertion(+)
Applied to for-next, thanks
Jason