IB/core: Declare an object instead of declaring only type attributes
authorMatan Barak <matanb@mellanox.com>
Thu, 3 Aug 2017 13:06:58 +0000 (16:06 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 31 Aug 2017 12:35:09 +0000 (08:35 -0400)
commit5009010fbf54bdc27e57baca490e1f9d6a4609e0
tree8dce2d8798bf1df34367554efbbd4b448ad991b8
parentfac9658cabb98afb68ef1630c558864e6f559c07
IB/core: Declare an object instead of declaring only type attributes

Switch all uverbs_type_attrs_xxxx with DECLARE_UVERBS_OBJECT
macros. This will be later used in order to embed the object
specific methods in the objects as well.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/uverbs_std_types.c
include/rdma/uverbs_ioctl.h
include/rdma/uverbs_std_types.h
include/rdma/uverbs_types.h