]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Use the uapi disablement APIs instead of code
authorJason Gunthorpe <jgg@mellanox.com>
Mon, 12 Nov 2018 20:59:53 +0000 (22:59 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 22 Nov 2018 18:57:32 +0000 (11:57 -0700)
commitcb51ea23ed5426d89b409023bf9e01f0ee10d493
tree46233905a4ce85bf2eb0a5411c261fd957fcaf10
parent086f31bbf905ad94a66508b648a4c19ffb3ff0e6
RDMA/mlx5: Use the uapi disablement APIs instead of code

Rely on UAPI_DEF_IS_OBJ_SUPPORTED instead of manipulating the contents of
the driver's definition list.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/hw/mlx5/devx.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h