History

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.

Leon Romanovsky committed 6 years ago

Commit 3e09a421 parent 8094ba04 files · +18 −12Browse files

Showing the changes to include/uapi (1 of 4 files). Show all

Unified · Split

include/uapi/rdma/mlx5-abi.h+1−1
@@ -371,7 +371,7 @@ enum mlx5_ib_create_qp_resp_mask { · 370 unmodified lines
371 371
372struct mlx5_ib_create_qp_resp {372struct mlx5_ib_create_qp_resp {
373 __u32 bfreg_index;373 __u32 bfreg_index;
374 __u32 reserved;374 __u32 ece_options;
375 __u32 comp_mask;375 __u32 comp_mask;
376 __u32 tirn;376 __u32 tirn;
377 __u32 tisn;377 __u32 tisn;