mirror of
https://github.com/torvalds/linux.git
synced 2026-04-25 01:52:32 -04:00
RDMA/mthca: Combine special QP struct with mthca QP
As preparation for the removal of QP allocation logic, we need to ensure that ib_core allocates the right amount of memory before a call to the driver create_qp(). It requires from driver to have the same structs for all types of QPs. Link: https://lore.kernel.org/r/20200926102450.2966017-10-leon@kernel.org Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
This commit is contained in:
committed by
Jason Gunthorpe
parent
b925c555a1
commit
21c2fe94ab
@@ -548,7 +548,7 @@ int mthca_alloc_sqp(struct mthca_dev *dev,
|
||||
struct ib_qp_cap *cap,
|
||||
int qpn,
|
||||
int port,
|
||||
struct mthca_sqp *sqp,
|
||||
struct mthca_qp *qp,
|
||||
struct ib_udata *udata);
|
||||
void mthca_free_qp(struct mthca_dev *dev, struct mthca_qp *qp);
|
||||
int mthca_create_ah(struct mthca_dev *dev,
|
||||
|
||||
Reference in New Issue
Block a user