IB/core: Introduce UVERBS_IDR_ANY_OBJECT
Introduce the UVERBS_IDR_ANY_OBJECT type to match any IDR object. Once used, the infrastructure skips checking for the IDR type, it becomes the driver handler responsibility. This enables drivers to get in a given method an object from various of types. Signed-off-by:Yishai Hadas <yishaih@mellanox.com> Signed-off-by:
Leon Romanovsky <leonro@mellanox.com> Signed-off-by:
Doug Ledford <dledford@redhat.com>
Showing
- drivers/infiniband/core/rdma_core.c 17 additions, 10 deletionsdrivers/infiniband/core/rdma_core.c
- drivers/infiniband/core/rdma_core.h 15 additions, 1 deletiondrivers/infiniband/core/rdma_core.h
- drivers/infiniband/core/uverbs_uapi.c 7 additions, 2 deletionsdrivers/infiniband/core/uverbs_uapi.c
- include/rdma/uverbs_ioctl.h 6 additions, 0 deletionsinclude/rdma/uverbs_ioctl.h
Please register or sign in to comment