diff options
author | Eli Cohen <eli@dev.mellanox.co.il> | 2014-12-11 17:04:15 +0200 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-12-15 18:13:35 -0800 |
commit | 5a77abf9a97a7ecc8fb0f6bf4ad411fb12b02f31 (patch) | |
tree | 2fbcf2c088cde299781ef0104c165f595aebd415 /drivers/infiniband/core/uverbs.h | |
parent | IB/mlx5: Add function to read WQE from user-space (diff) | |
download | linux-dev-5a77abf9a97a7ecc8fb0f6bf4ad411fb12b02f31.tar.xz linux-dev-5a77abf9a97a7ecc8fb0f6bf4ad411fb12b02f31.zip |
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>
Diffstat (limited to 'drivers/infiniband/core/uverbs.h')
-rw-r--r-- | drivers/infiniband/core/uverbs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/core/uverbs.h b/drivers/infiniband/core/uverbs.h index 643c08a025a5..b716b0815644 100644 --- a/drivers/infiniband/core/uverbs.h +++ b/drivers/infiniband/core/uverbs.h @@ -258,5 +258,6 @@ IB_UVERBS_DECLARE_CMD(close_xrcd); IB_UVERBS_DECLARE_EX_CMD(create_flow); IB_UVERBS_DECLARE_EX_CMD(destroy_flow); +IB_UVERBS_DECLARE_EX_CMD(query_device); #endif /* UVERBS_H */ |