]> git.ipfire.org Git - thirdparty/linux.git/commit
RDMA/efa: Rename alloc_ucontext comp_mask to supported_caps
authorMichael Margolin <mrgolin@amazon.com>
Mon, 16 Mar 2026 18:08:46 +0000 (18:08 +0000)
committerLeon Romanovsky <leon@kernel.org>
Tue, 17 Mar 2026 11:04:03 +0000 (07:04 -0400)
commit5aeb6e039972312ecfdf7e54573e2729a5974df2
tree746b38cc019226893f5cb2d32b4b794c9750d6f1
parent6be4ca0ab3a2363a850787079f2342d41d377487
RDMA/efa: Rename alloc_ucontext comp_mask to supported_caps

Following discussion [1], rename the comp_mask field in
efa_ibv_alloc_ucontext_cmd to supported_caps to reflect its actual
usage as a capabilities handshake mechanism rather than a standard
comp_mask. Rename related constants and align function and macro names.

[1] https://lore.kernel.org/linux-rdma/20260312120858.GH1448102@nvidia.com/

Signed-off-by: Michael Margolin <mrgolin@amazon.com>
Link: https://patch.msgid.link/20260316180846.30273-1-mrgolin@amazon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/efa/efa_verbs.c
include/uapi/rdma/efa-abi.h