]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: Add DEVICE object and root tree structure
authorMatan Barak <matanb@mellanox.com>
Thu, 3 Aug 2017 13:06:59 +0000 (16:06 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 31 Aug 2017 12:35:10 +0000 (08:35 -0400)
commite8993383f8f0fdd512dbbe5ddc6a0b85062a154b
tree7e69544add3462ad7e0b4f91b8f9ed961b066c03
parent53095086148079ba888c5d112879836dccfbf320
IB/core: Add DEVICE object and root tree structure

This adds the DEVICE object. This object supports creating the context
that all objects are created from. Moreover, it supports executing
methods which are related to the device itself, such as QUERY_DEVICE.
This is a singleton object (per file instance).

All standard objects are put in the root structure. This root will later
on be used in drivers as the source for their whole parsing tree.
Later on, when new features are added, these drivers could mix this root
with other customized objects.

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