RDMA/mlx5: Add missed RST2INIT and INIT2INIT steps during ECE handshake
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 16 Jun 2020 10:45:36 +0000 (13:45 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 18 Jun 2020 12:52:29 +0000 (09:52 -0300)
commitab183d460daac6292cb0cfd989d88b37b2437844
tree39ee2bdd6afac5e4c4fda027f5011807de2a47fe
parent730c8912484186d4623d0c76509066d285c3a755
RDMA/mlx5: Add missed RST2INIT and INIT2INIT steps during ECE handshake

Missed steps during ECE handshake left userspace application with less
options for the ECE handshake. Pass ECE options in the additional
transitions.

Fixes: 50aec2c3135e ("RDMA/mlx5: Return ECE data after modify QP")
Link: https://lore.kernel.org/r/20200616104536.2426384-1-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/qpc.c
include/linux/mlx5/mlx5_ifc.h