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>
This commit is contained in:

committed by
Jason Gunthorpe

parent
9e2a187a93
commit
5cc34116cc
@@ -2585,6 +2585,7 @@ struct ib_device_ops {
|
||||
struct rdma_restrack_entry *entry);
|
||||
int (*fill_res_mr_entry)(struct sk_buff *msg, struct ib_mr *ibmr);
|
||||
int (*fill_res_cq_entry)(struct sk_buff *msg, struct ib_cq *ibcq);
|
||||
int (*fill_res_qp_entry)(struct sk_buff *msg, struct ib_qp *ibqp);
|
||||
|
||||
/* Device lifecycle callbacks */
|
||||
/*
|
||||
|
Reference in New Issue
Block a user