IB/core: Add support for extended query device caps
authorEli Cohen <eli@dev.mellanox.co.il>
Thu, 11 Dec 2014 15:04:15 +0000 (17:04 +0200)
committerRoland Dreier <roland@purestorage.com>
Tue, 16 Dec 2014 02:13:35 +0000 (18:13 -0800)
commit5a77abf9a97a7ecc8fb0f6bf4ad411fb12b02f31
tree2fbcf2c088cde299781ef0104c165f595aebd415
parentc1395a2a8c01e8a919e47d64eb3d23d00e824b8b
IB/core: Add support for extended query device caps

Add extensible query device capabilities verb to allow adding new features.
ib_uverbs_ex_query_device is added and copy_query_dev_fields is used to
copy capability fields to be used by both ib_uverbs_query_device and
ib_uverbs_ex_query_device.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/uverbs.h
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/core/uverbs_main.c
include/rdma/ib_verbs.h
include/uapi/rdma/ib_user_verbs.h