* [PATCH rdma-next] RDMA/mlx5: Add init2init as a modify command
@ 2020-05-13 9:55 Leon Romanovsky
2020-05-20 0:03 ` Jason Gunthorpe
0 siblings, 1 reply; 2+ messages in thread
From: Leon Romanovsky @ 2020-05-13 9:55 UTC (permalink / raw)
To: Doug Ledford, Jason Gunthorpe
Cc: Aharon Landau, linux-rdma, Maor Gottlieb, Yishai Hadas
From: Aharon Landau <aharonl@mellanox.com>
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 <aharonl@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
---
drivers/infiniband/hw/mlx5/devx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/infiniband/hw/mlx5/devx.c b/drivers/infiniband/hw/mlx5/devx.c
index e11fa7cde254..3047e7d60a9b 100644
--- a/drivers/infiniband/hw/mlx5/devx.c
+++ b/drivers/infiniband/hw/mlx5/devx.c
@@ -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:
--
2.26.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH rdma-next] RDMA/mlx5: Add init2init as a modify command
2020-05-13 9:55 [PATCH rdma-next] RDMA/mlx5: Add init2init as a modify command Leon Romanovsky
@ 2020-05-20 0:03 ` Jason Gunthorpe
0 siblings, 0 replies; 2+ messages in thread
From: Jason Gunthorpe @ 2020-05-20 0:03 UTC (permalink / raw)
To: Leon Romanovsky
Cc: Doug Ledford, Aharon Landau, linux-rdma, Maor Gottlieb, Yishai Hadas
On Wed, May 13, 2020 at 12:55:50PM +0300, Leon Romanovsky wrote:
> From: Aharon Landau <aharonl@mellanox.com>
>
> 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 <aharonl@mellanox.com>
> Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
> ---
> drivers/infiniband/hw/mlx5/devx.c | 1 +
> 1 file changed, 1 insertion(+)
Applied to for-next, thanks
Jason
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-20 0:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-13 9:55 [PATCH rdma-next] RDMA/mlx5: Add init2init as a modify command Leon Romanovsky
2020-05-20 0:03 ` Jason Gunthorpe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).