diff options
| author | Jason Gunthorpe <jgg@mellanox.com> | 2018-11-12 23:59:52 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-11-22 21:57:32 +0300 |
| commit | 6829c1c2b371674a05562a39d608b5cf48351bea (patch) | |
| tree | 637fbc743a57f244ff178cc11dc790175dd3f40a /tools/perf/scripts/python/syscall-counts.py | |
| parent | c27f6aa8c9df7f3270d5f5f2957a2a024262eb99 (diff) | |
| download | linux-6829c1c2b371674a05562a39d608b5cf48351bea.tar.xz | |
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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
