RDMA/mlx5: Prepare QP allocation for future removal
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 27 Apr 2020 15:46:04 +0000 (18:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 28 Apr 2020 23:42:21 +0000 (20:42 -0300)
commit9c2ba4ede4c0166d4e3bdc15e3b32c9680309ca1
tree322ddb16243a5781bf5201a829189ac9072bf53f
parent2242cc25ce82058986ff7721e3d2464d775032df
RDMA/mlx5: Prepare QP allocation for future removal

Unify the QP memory allocation across different paths,
so it will be in one place.

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