]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: Assign root to all drivers
authorMatan Barak <matanb@mellanox.com>
Thu, 3 Aug 2017 13:07:06 +0000 (16:07 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 31 Aug 2017 12:35:14 +0000 (08:35 -0400)
commit45a7e42d954c3c6659333ab7c1ccd3430c09f106
tree2b5a95e9ba3b583ba7d77c17f8c5be7d1a003b98
parent85e4ddbafebadf3d8122ad58a776d249033c7c02
IB/core: Assign root to all drivers

In order to use the parsing tree, we need to assign the root
to all drivers. Currently, we just assign the default parsing
tree via ib_uverbs_add_one. The driver could override this by
assigning a parsing tree prior to registering the device.

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.h
drivers/infiniband/core/uverbs_main.c
include/rdma/uverbs_ioctl.h
include/rdma/uverbs_std_types.h