linux/drivers/infiniband
Jason Gunthorpe a140692a52 RDMA/uverbs: Check for NULL driver methods for every write call
Add annotations to the uverbs_api structure indicating which driver
methods are called by the implementation. If the required method
is NULL the write API will be not be callable.

This effectively duplicates the cmd_mask system, however it does it by
expressing invariants required by the core code, not by delegating
decision making to the driver. This is another step toward eliminating
cmd_mask.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
2018-11-22 11:57:33 -07:00
..
core RDMA/uverbs: Check for NULL driver methods for every write call 2018-11-22 11:57:33 -07:00
hw RDMA/mlx5: Use the uapi disablement APIs instead of code 2018-11-22 11:57:32 -07:00
sw IB/rxe: make rxe_unregister_device void 2018-11-08 14:22:54 -07:00
ulp IB/core: Make function ib_fmr_pool_unmap return void 2018-11-21 16:13:02 -07:00
Kconfig RDMA: Fix building with CONFIG_MMU=n 2018-10-03 16:01:03 -06:00
Makefile