aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/uapi/rdma
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2020-05-26 14:54:34 +0300
committerJason Gunthorpe <jgg@mellanox.com>2020-05-27 16:07:49 -0300
commit3e09a427ae7ac347e08dca5ffac64c902860d675 (patch)
tree9201cb67ac038c201aea432d70ec20539258ec52 /include/uapi/rdma
parentRDMA/cma: Provide ECE reject reason (diff)
downloadwireguard-linux-3e09a427ae7ac347e08dca5ffac64c902860d675.tar.xz
wireguard-linux-3e09a427ae7ac347e08dca5ffac64c902860d675.zip
RDMA/mlx5: Get ECE options from FW during create QP
Supported ECE options are returned from FW in the create_qp phase and zero means that field is not valid. Such default value allows us to reuse reserved field without worries about comp_mask. Update create QP API to return ECE options. Link: https://lore.kernel.org/r/20200526115440.205922-3-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/rdma/mlx5-abi.h b/include/uapi/rdma/mlx5-abi.h
index df1cc3641bda..106fbb3bec6a 100644
--- a/include/uapi/rdma/mlx5-abi.h
+++ b/include/uapi/rdma/mlx5-abi.h
@@ -371,7 +371,7 @@ enum mlx5_ib_create_qp_resp_mask {
struct mlx5_ib_create_qp_resp {
__u32 bfreg_index;
- __u32 reserved;
+ __u32 ece_options;
__u32 comp_mask;
__u32 tirn;
__u32 tisn;