]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/rdma/uverbs_ioctl.h
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)
commit524271129401ed896dc76e49acdbafc506cb41ac
tree2b5a95e9ba3b583ba7d77c17f8c5be7d1a003b98
parent9ee79fce364216df35ec46e26d20780c3c1644cc
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