RDMA: Add dedicated QP resource tracker function
authorMaor Gottlieb <maorg@mellanox.com>
Tue, 23 Jun 2020 11:30:38 +0000 (14:30 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 23 Jun 2020 14:46:27 +0000 (11:46 -0300)
commit5cc34116ccec60032dbaa92768f41e95ce2d8ec7
treeaf5d2ad675b7c149988355f0c59eb009bedca590
parent9e2a187a93c395f573ed38b888ba4bd731e70622
RDMA: Add dedicated QP resource tracker function

In order to avoid double multiplexing of the resource when it is a QP, add
a dedicated callback function.

Link: https://lore.kernel.org/r/20200623113043.1228482-7-leon@kernel.org
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/core/device.c
drivers/infiniband/core/nldev.c
drivers/infiniband/hw/cxgb4/iw_cxgb4.h
drivers/infiniband/hw/cxgb4/restrack.c
include/rdma/ib_verbs.h