]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/core: Add the core support field to METHOD_GET_CONTEXT
authorMichael Guralnik <michaelgur@mellanox.com>
Wed, 8 Jan 2020 18:05:39 +0000 (20:05 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 16 Jan 2020 19:55:46 +0000 (15:55 -0400)
commit811646998e3e64af19524c8e99b790a4043c5f9b
treef0a5fe851a5f7120514da74201dd6e343d5d734b
parent2233c6609c11146ed1a26eec2e4335131077a608
RDMA/core: Add the core support field to METHOD_GET_CONTEXT

Add the core support field to METHOD_GET_CONTEXT, this field should
represent capabilities that are not device-specific.

Return support for optional access flags for memory regions. User-space
will use this capability to mask the optional access flags for
unsupporting kernels.

Link: https://lore.kernel.org/r/1578506740-22188-10-git-send-email-yishaih@mellanox.com
Signed-off-by: Michael Guralnik <michaelgur@mellanox.com>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/uverbs_std_types_device.c
include/uapi/rdma/ib_user_ioctl_cmds.h
include/uapi/rdma/ib_user_ioctl_verbs.h