RDMA/mlx5: Set ECE options during QP create
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 26 May 2020 11:54:35 +0000 (14:54 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 27 May 2020 19:07:49 +0000 (16:07 -0300)
commite383085c24255821e79d3c2aa6302d804b6a1c48
tree5038a6e132280d772076b9d0a66e47793a7a95fd
parent3e09a427ae7ac347e08dca5ffac64c902860d675
RDMA/mlx5: Set ECE options during QP create

Allow users to ask creation of QPs with specific ECE options.  Such early
set even before RDMA-CM connection is established is useful if user knows
exactly which option he needs.

Link: https://lore.kernel.org/r/20200526115440.205922-4-leon@kernel.org
Reviewed-by: Mark Zhang <markz@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/qp.c
include/uapi/rdma/mlx5-abi.h