IB/uverbs: Expose device memory capabilities to user
authorAriel Levkovich <lariel@mellanox.com>
Thu, 5 Apr 2018 15:53:22 +0000 (18:53 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 5 Apr 2018 17:16:39 +0000 (11:16 -0600)
commitd41c1208955394198398f8a2ab8e0e25ad592e2b
tree3daafb2abc989e8bb4dfceb1a3197dd33c9ed501
parent09c4854fde84421726a90249b4c20df2492f425f
IB/uverbs: Expose device memory capabilities to user

Adding a new capability field under ib_uverbs_ex_query_device_resp -
max_dm_size - which reflects the maximum amount of device memory
that is available for allocation on a device in bytes.

Signed-off-by: Ariel Levkovich <lariel@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
include/uapi/rdma/ib_user_verbs.h