Re: [PATCH rdma-next] RDMA/mana_ib: Retain create CQ flags field name

Jason Gunthorpe <[email protected]>
Newsgroups org.kernel.vger.linux-rdma,org.kernel.vger.linux-hyperv
Message-ID <[email protected]>
On Mon, Aug 03, 2026 at 01:59:07PM +0200, Jiri Pirko wrote:

> That is not doable in UAPI. Some userspace app, like rdma-core in
> this case, might use it and rename breaks the compilation. Some other
> app you don't know about may use it.

Linus actualy had some comments on this once (which I will never be
able to find I guess), but we broadly follow what he outlined. The
userspace has copies of the kernel headers embedded in it. When the
kernel headers change the user space updates it's copy and fixes any
build breaks.

So long as the build breaks are fixable, and don't change the ABI, it
is fine.

Many parts of the kernel work like this because userspace is not
supposed to directly use the kernel headers themselves, they are
supposed to be sanitized by glibc or some other helper library.

There are a few places that don't work like this of course..

Jason
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.