diff options
author | Michael Margolin <mrgolin@amazon.com> | 2025-07-08 20:23:06 +0000 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2025-07-13 04:00:34 -0400 |
commit | 1a40c362ae265ca4004f7373b34c22af6810f6cb (patch) | |
tree | 4e605b45246d7e999c4cca9d0487c259aa827133 /kernel/locking/rtmutex_api.c | |
parent | e73242aa14d2ec7f4a1a13688366bb36dc0fe5b7 (diff) |
RDMA/uverbs: Add a common way to create CQ with umem
Add ioctl command attributes and a common handling for the option to
create CQs with memory buffers passed from userspace. When required
attributes are supplied, create umem and provide it for driver's use.
The extension enables creation of CQs on top of preallocated CPU
virtual or device memory buffers, by supplying VA or dmabuf fd, in a
common way.
Drivers can support this flow by initializing a new create_cq_umem fp
field in their ops struct, with a function that can handle the new
parameter.
Signed-off-by: Michael Margolin <mrgolin@amazon.com>
Link: https://patch.msgid.link/20250708202308.24783-2-mrgolin@amazon.com
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'kernel/locking/rtmutex_api.c')
0 files changed, 0 insertions, 0 deletions