summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/restrack.c
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2020-09-22 12:11:03 +0300
committerJason Gunthorpe <jgg@nvidia.com>2020-09-22 19:47:35 -0300
commitd7ecab1e5f7d12209549813e61435d01489a1887 (patch)
treee114cd486e6a44d06d0939b6315b63b9c53e4633 /drivers/infiniband/core/restrack.c
parent60aaeffa367c2ac72cac96edfd10452c613882f5 (diff)
downloadlinux-d7ecab1e5f7d12209549813e61435d01489a1887.tar.bz2
RDMA/mlx5: Don't call to restrack recursively
The restrack is going to manage memory of all IB objects and must be called before object is created. GSI QP in the mlx5_ib separated between creating dummy interface and HW object beneath. This was achieved by double call to ib_create_qp(). In order to skip such reentry call to internal driver create_qp code. Link: https://lore.kernel.org/r/20200922091106.2152715-3-leon@kernel.org Reviewed-by: Mark Zhang <markz@nvidia.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/core/restrack.c')
0 files changed, 0 insertions, 0 deletions