diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2020-05-26 14:54:35 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-05-27 16:07:49 -0300 |
commit | e383085c24255821e79d3c2aa6302d804b6a1c48 (patch) | |
tree | 5038a6e132280d772076b9d0a66e47793a7a95fd /include/uapi/rdma | |
parent | 3e09a427ae7ac347e08dca5ffac64c902860d675 (diff) | |
download | linux-e383085c24255821e79d3c2aa6302d804b6a1c48.tar.gz linux-e383085c24255821e79d3c2aa6302d804b6a1c48.tar.bz2 linux-e383085c24255821e79d3c2aa6302d804b6a1c48.zip |
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>
Diffstat (limited to 'include/uapi/rdma')
-rw-r--r-- | include/uapi/rdma/mlx5-abi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/rdma/mlx5-abi.h b/include/uapi/rdma/mlx5-abi.h index 106fbb3bec6a..bc9d9e3cb369 100644 --- a/include/uapi/rdma/mlx5-abi.h +++ b/include/uapi/rdma/mlx5-abi.h @@ -322,6 +322,8 @@ struct mlx5_ib_create_qp { __aligned_u64 sq_buf_addr; __aligned_u64 access_key; }; + __u32 ece_options; + __u32 reserved; }; /* RX Hash function flags */ |