RDMA/mlx5: Reuse existing fields in parent QP storage object
authorLeon Romanovsky <leonro@nvidia.com>
Sat, 26 Sep 2020 10:24:42 +0000 (13:24 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 29 Sep 2020 16:09:48 +0000 (13:09 -0300)
commitf8225e3488dceffedbecdb658c1429c79645da4a
tree3bdadbda8e208eca836a9bbcbfc58beae5024fb4
parent0d9aef8603778ec0cf46736d07e466f29ea377a2
RDMA/mlx5: Reuse existing fields in parent QP storage object

Remove duplication of mlx5_ib_qp and mlx5_ib_gsi_qp fields.  This change
returns the memory footprint of mlx5_ib QP to be as it was before
embedding GSI QP.

Link: https://lore.kernel.org/r/20200926102450.2966017-3-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/mlx5/gsi.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h