]> asedeno.scripts.mit.edu Git - linux.git/commit
IB/uverbs: Expose parsing tree of all common objects to providers
authorMatan Barak <matanb@mellanox.com>
Mon, 19 Mar 2018 13:02:37 +0000 (15:02 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 19 Mar 2018 20:45:17 +0000 (14:45 -0600)
commitdfb1395573c8726353f8cca1c123b46292d18822
treefc6d0ed90eb225d3599c29520c844de93fb9e4b8
parentc66db31113948ba61682f55265df8d032e793fcc
IB/uverbs: Expose parsing tree of all common objects to providers

The ioctl() based uverbs is based on merging feature trees. This teaches
the generic parser how to parse methods according to the provider's
support. In order to support merging with the common objects, exporting
the common-object-tree to the provider drivers.

Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/uverbs.h
drivers/infiniband/core/uverbs_std_types.c
include/rdma/uverbs_std_types.h