aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2026-06-02 21:59:16 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2026-07-07 11:24:11 +0000
commit716bb8d3d40250b0b2b40480dc062abfab5665ed (patch)
tree235467de9903131637c199124a74ff433c517c50
parent849a51ac8371f45a61e93c7b5787da93cf751c75 (diff)
mlx5: extend mlx5_ib_create_cq struct with fields from the current Linux ABI
This is backward ABI-compatible, because the only place in kernel that uses the structure, namely the mlx5_ib_cq.c:mlx5_ib_create_cq() function, copies in as much structure members as provided by userspace. Tested by: Wafa Hamzah <wafah@nvidia.com> Sponsored by: Nvidia networking MFC after: 1 month
-rw-r--r--sys/ofed/include/uapi/rdma/mlx5-abi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/ofed/include/uapi/rdma/mlx5-abi.h b/sys/ofed/include/uapi/rdma/mlx5-abi.h
index ba0b3f655231..91af500c9a61 100644
--- a/sys/ofed/include/uapi/rdma/mlx5-abi.h
+++ b/sys/ofed/include/uapi/rdma/mlx5-abi.h
@@ -163,6 +163,10 @@ struct mlx5_ib_create_cq {
__u32 cqe_size;
__u16 flags;
__u16 uar_page_index;
+ __u8 cqe_comp_en;
+ __u8 cqe_comp_res_format;
+ __u16 reserved0;
+ __u32 reserved1;
};
struct mlx5_ib_create_cq_resp {