]> www.infradead.org Git - users/dwmw2/linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jun 2020 15:48:25 +0000 (17:48 +0200)
commit40f5ea91d22292cf6ca8f9569df64c0563ae4c58
tree9a36f1e0d11ab7456dae4f48e748e9ae79758b0d
parentdfa8a28a69e042ed7fabd385276ee7643e6a6c5e
RDMA/mlx5: Add init2init as a modify command

[ Upstream commit 819f7427bafd494ef7ca4942ec6322db20722d7b ]

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: e662e14d801b ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/hw/mlx5/devx.c