Jason Gunthorpe 6829c1c2b3 RDMA/uverbs: Add helpers to mark uapi functions as unsupported
We have many cases where parts of the uapi are not supported in a driver,
needs a certain protocol, or whatever. It is best to reflect this directly
into the struct uverbs_api when it is built so that everything is simply
blocked off, and future introspection can report a proper supported list.

This is done by adding some additional helpers to the definition list
language that disable objects based on a 'supported' call back, and a
helper that disables based on a NULL struct ib_device function pointer.

Disablement is global. For instance, if a driver disables an object then
everything connected to that object is removed, including core methods.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
2018-11-22 11:57:32 -07:00
..
2015-06-12 14:49:18 -04:00
2018-06-12 16:19:22 -07:00
2016-05-13 13:37:18 -04:00
2016-03-03 10:20:25 -05:00
2018-10-16 11:32:40 -04:00
2018-10-16 12:47:40 -04:00
2016-03-03 10:20:25 -05:00
2018-10-26 07:38:19 -07:00