RDMA/mlx4: Prepare QP allocation to remove from the driver
authorLeon Romanovsky <leonro@nvidia.com>
Sat, 26 Sep 2020 10:24:46 +0000 (13:24 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 29 Sep 2020 16:11:06 +0000 (13:11 -0300)
commit8fd3cd2ae5a09ca1caed4b3990e084cb95bf55af
treef9c46f96cdb3a3b7a4a833d1015e347903063f85
parent915ec7ed911493cea996f132d2629f44b7a1770d
RDMA/mlx4: Prepare QP allocation to remove from the driver

Since all mlx4 QP have same storage type, move the QP allocation to be in
one place. This change is preparation to removal of such allocation from
the driver.

Link: https://lore.kernel.org/r/20200926102450.2966017-7-leon@kernel.org
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx4/qp.c