]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Add init2init as a modify command
authorAharon Landau <aharonl@mellanox.com>
Wed, 13 May 2020 09:55:50 +0000 (12:55 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 20 May 2020 00:02:12 +0000 (21:02 -0300)
commit8f311a85975518d4dbdf5159112efb7526054bf2
treeb8263d263f13891ca686b1627a3372fbff5890e9
parent8c4b3f373b1d67fe91a9192003c89fc152491a81
RDMA/mlx5: Add init2init as a modify command

Missing INIT2INIT entry in the list of modify commands caused DEVX
applications to be unable to modify_qp for this transition state. Add the
MLX5_CMD_OP_INIT2INIT_QP opcode to the list of allowed DEVX opcodes.

Fixes: 5a5516e39635 ("IB/mlx5: Add DEVX support for modify and query commands")
Link: https://lore.kernel.org/r/20200513095550.211345-1-leon@kernel.org
Signed-off-by: Aharon Landau <aharonl@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/devx.c