]> git.baikalelectronics.ru Git - kernel.git/commit
IB/uverbs: Enable ioctl() uAPI by default for new verbs
authorMatan Barak <matanb@mellanox.com>
Mon, 19 Mar 2018 13:02:40 +0000 (15:02 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 19 Mar 2018 20:45:17 +0000 (14:45 -0600)
commit185899ee8d00460a305e07ed2df178dbf7455227
treed9c7ff57d533604000bf8389b46857639b5b0b2b
parent3d64addd435997a445d201fcbbde2fa753709971
IB/uverbs: Enable ioctl() uAPI by default for new verbs

Enable the ioctl() uAPI for IB by default if the standard write()
uAPI (INFINIBAND_USER_ACCESS) is enabled. Verbs that are
also available under the old write() uAPI are put inside a new
INFINIBAND_EXP_LEGACY_VERBS_NEW_UAPI Kconfig.

Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/Kconfig
drivers/infiniband/core/uverbs_main.c
drivers/infiniband/core/uverbs_std_types_cq.c