RDMA/verbs: Store the write/write_ex uapi entry points in the uverbs_api
authorJason Gunthorpe <jgg@mellanox.com>
Mon, 12 Nov 2018 20:59:55 +0000 (22:59 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 22 Nov 2018 18:57:33 +0000 (11:57 -0700)
commit6884c6c4bd09fb35b79a3967d15821cdfcbe77a3
tree3ffcf0458bde9b98536bcb979f1c96b0d0a402d5
parent0bd01f3d090788188d3766bac044292de2789d03
RDMA/verbs: Store the write/write_ex uapi entry points in the uverbs_api

Bringing all uapi entry points into one place lets us deal with them
consistently. For instance the write, write_ex and ioctl paths can be
disabled when an API is not supported by the driver.

This will replace the uverbs_cmd_table static arrays.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/core/rdma_core.h
drivers/infiniband/core/uverbs_uapi.c
include/rdma/uverbs_ioctl.h