IB/mlx5: Add support for DEVX general command
commit8aa8c95ce4ccc10a72f6755ee889d9fb1ceb60a6
authorYishai Hadas <yishaih@mellanox.com>
Sun, 17 Jun 2018 10:00:00 +0000 (17 13:00 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 19 Jun 2018 16:53:02 +0000 (19 10:53 -0600)
tree510c600dcd885ad8cc5ab23f19d0022ddc045aa0
parenta8b92ca1b0e5ce620e425e9d2f89ce44f1a82a82
IB/mlx5: Add support for DEVX general command

Add support to run general firmware command via the DEVX interface.

A command that works on some object (e.g. CQ, WQ, etc.) will be added
in next patches while maintaining the required object lock.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/devx.c
include/uapi/rdma/mlx5_user_ioctl_cmds.h