RDMA/mlx5: Drop in-driver verbs object creations
authorLeon Romanovsky <leonro@nvidia.com>
Fri, 23 Jul 2021 11:39:51 +0000 (14:39 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 3 Aug 2021 16:44:28 +0000 (13:44 -0300)
commit20da44dfe8eff5b61685e394dec690a5d9dc36ce
tree3cd31148c41f8d0cd41feff96fffc7d1d7e4df66
parent514aee660df493cd673154a6ba6bab745ec47b8c
RDMA/mlx5: Drop in-driver verbs object creations

There is no real value in bypassing IB/core APIs for creating standard
objects with standard types. The open-coded variant didn't have any
restrack task management calls and caused to such objects to be not
present when running rdmatoool.

Link: https://lore.kernel.org/r/f745590e5fb7d56f90fdb25f64ee3983ba17e1e4.1627040189.git.leonro@nvidia.com
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/core/verbs.c
drivers/infiniband/hw/mlx5/main.c