]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Fix DEVX support for MLX5_CMD_OP_INIT2INIT_QP command
authorMark Zhang <markz@mellanox.com>
Wed, 27 May 2020 13:57:03 +0000 (16:57 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 27 May 2020 18:53:21 +0000 (15:53 -0300)
commite5aa6f03c6327350dbff21a02d3008f04dedfdb2
tree59eec82e19ee305efdf6a448f9f2b065b1554d51
parentf1a8cec64aa63be9735c0b50f5398b87dffde8de
IB/mlx5: Fix DEVX support for MLX5_CMD_OP_INIT2INIT_QP command

The commit citied in the Fixes line wasn't complete and solved
only part of the problems. Update the mlx5_ib to properly support
MLX5_CMD_OP_INIT2INIT_QP command in the DEVX, that is required when
modify the QP tx_port_affinity.

Fixes: f2f802387bc3 ("RDMA/mlx5: Add init2init as a modify command")
Link: https://lore.kernel.org/r/20200527135703.482501-1-leon@kernel.org
Signed-off-by: Mark Zhang <markz@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