diff options
author | Matan Barak <matanb@mellanox.com> | 2017-04-04 13:31:43 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-04-05 20:28:04 +0300 |
commit | 6be60aed126ccd4dfb4a60d1dc2ecec0bca21b2e (patch) | |
tree | 31764e2f00ed54dc264a7e71d1dd16830152b987 /lib/test_sort.c | |
parent | 3832125624b75b54567be906e9aa67e1343be569 (diff) | |
download | linux-6be60aed126ccd4dfb4a60d1dc2ecec0bca21b2e.tar.xz |
IB/core: Add idr based standard types
This patch adds the standard idr based types. These types are
used in downstream patches in order to initialize, destroy and
lookup IB standard objects which are based on idr objects.
An idr object requires filling out several parameters. Its op pointer
should point to uverbs_idr_ops and its size should be at least the
size of ib_uobject. We add a macro to make the type declaration easier.
Signed-off-by: Matan Barak <matanb@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Reviewed-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'lib/test_sort.c')
0 files changed, 0 insertions, 0 deletions