mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
RDMA/uverbs: Add support for UCAPs in context creation
Add support for file descriptor array attribute for GET_CONTEXT commands. Check that the file descriptor (fd) array represents fds for valid UCAPs. Store the enabled UCAPs from the fd array as a bitmask in ib_ucontext. Signed-off-by: Chiara Meiohas <cmeiohas@nvidia.com> Link: https://patch.msgid.link/ebfb30bc947e2259b193c96a319c80e82599045b.1741261611.git.leon@kernel.org Reviewed-by: Yishai Hadas <yishaih@nvidia.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
This commit is contained in:
committed by
Leon Romanovsky
parent
cf7174e898
commit
fe9d7822ba
@@ -1530,6 +1530,7 @@ struct ib_ucontext {
|
||||
struct ib_uverbs_file *ufile;
|
||||
|
||||
struct ib_rdmacg_object cg_obj;
|
||||
u64 enabled_caps;
|
||||
/*
|
||||
* Implementation details of the RDMA core, don't use in drivers:
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user