OSDN Git Service

IB/uverbs: Have the core code create the uverbs_root_spec
authorJason Gunthorpe <jgg@mellanox.com>
Fri, 10 Aug 2018 02:14:35 +0000 (20:14 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 10 Aug 2018 22:06:24 +0000 (16:06 -0600)
commit7d96c9b17636b6148534617ddf95dead18617776
tree0fc96be4aa1fb7c1e4cdb34a74dae44dbf244c79
parent922983c2a1a2f679cd576eb7162f413c15a4e979
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>
drivers/infiniband/core/uverbs_ioctl_merge.c
drivers/infiniband/core/uverbs_main.c
drivers/infiniband/core/uverbs_std_types.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
include/rdma/ib_verbs.h