IB/mlx5: Enable modify and query verbs objects via DEVX
authorYishai Hadas <yishaih@mellanox.com>
Mon, 26 Nov 2018 06:28:35 +0000 (08:28 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 4 Dec 2018 18:46:42 +0000 (13:46 -0500)
commit34613eb1d2ad051cb02cbcf5675482340cbb9bf0
treeacbe0cc0b02f0b9589e82f1606ae4e16dbd8da1d
parent04ca16cc198c2bd2fc51749123c118a284d1605e
IB/mlx5: Enable modify and query verbs objects via DEVX

Enables modify and query verbs objects via the DEVX interface.
To support this the above DEVX handlers were changed to get any
object type via the UVERBS_IDR_ANY_OBJECT mechanism.

The type checking and handling is done per object as part of the
driver code.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/devx.c