]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7c08d6586f78bb827446b9d2b110deb1ee7c8b80
tree2fbcf2c088cde299781ef0104c165f595aebd415
parentea177c3a3047010566df7c646eaad8b952fe699d
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