diff options
author | Matan Barak <matanb@mellanox.com> | 2017-08-03 16:06:59 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-31 15:35:10 +0300 |
commit | 09e3ebf8c193d3f154c4ffb7cb18995df0243bc6 (patch) | |
tree | 7e69544add3462ad7e0b4f91b8f9ed961b066c03 /drivers/infiniband/core/smi.c | |
parent | 5009010fbf54bdc27e57baca490e1f9d6a4609e0 (diff) | |
download | linux-09e3ebf8c193d3f154c4ffb7cb18995df0243bc6.tar.xz |
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>
Diffstat (limited to 'drivers/infiniband/core/smi.c')
0 files changed, 0 insertions, 0 deletions