Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Jul 2026 11:29:59 +0000
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 716bb8d3d402 - main - mlx5: extend mlx5_ib_create_cq struct with fields from the current Linux ABI
Message-ID:  <6a4ce337.36244.5cd1a6e0@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=716bb8d3d40250b0b2b40480dc062abfab5665ed

commit 716bb8d3d40250b0b2b40480dc062abfab5665ed
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-06-02 21:59:16 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-07-07 11:24:11 +0000

    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
---
 sys/ofed/include/uapi/rdma/mlx5-abi.h | 4 ++++
 1 file changed, 4 insertions(+)

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 {


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a4ce337.36244.5cd1a6e0>