commit | e502a864c3526aa93b983d4b14e9615b3da430e6 | [log] [tgz] |
---|---|---|
author | Yishai Hadas <yishaih@mellanox.com> | Sun Jun 17 12:59:58 2018 +0300 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Tue Jun 19 10:53:02 2018 -0600 |
tree | 3b5fa3a8cf0bfecc984b144374bd0ab22fe06b27 | |
parent | 19b9def25852caf710b978cd27955090650f115b [diff] |
IB/core: Introduce DECLARE_UVERBS_GLOBAL_METHODS Introduce a new macro to be used for global methods on a singleton object. This macros sets internally the type_attrs to be NULL as such an object can't be created. Downstream patches from this series will use this macro. Signed-off-by: Yishai Hadas <yishaih@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>