IB/uverbs: Have the core code create the uverbs_root_spec
There is no reason for drivers to do this, the core code should take of everything. The drivers will provide their information from rodata to describe their modifications to the core's base uapi specification. The core uses this to build up the runtime uapi for each device. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
This commit is contained in:
@@ -2580,7 +2580,7 @@ struct ib_device {
|
||||
const struct cpumask *(*get_vector_affinity)(struct ib_device *ibdev,
|
||||
int comp_vector);
|
||||
|
||||
struct uverbs_root_spec *driver_specs_root;
|
||||
const struct uverbs_object_tree_def *const *driver_specs;
|
||||
enum rdma_driver_id driver_id;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user