IB/uverbs: Add device memory capabilities reporting
authorAriel Levkovich <lariel@mellanox.com>
Thu, 5 Apr 2018 15:53:23 +0000 (18:53 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 5 Apr 2018 17:16:39 +0000 (11:16 -0600)
commit1d8eeb9f6a6e0d8ac43a54fd95126044bf8d6695
tree4b26e7293fb75f6c1b1e19a7fd54198e4d687816
parentd41c1208955394198398f8a2ab8e0e25ad592e2b
IB/uverbs: Add device memory capabilities reporting

This change allows vendors to report device memory capability
max_dm_size - to user via uverbs command.

Signed-off-by: Ariel Levkovich <lariel@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/uverbs_cmd.c
include/rdma/ib_verbs.h