RDMA/restrack: Track ucontext
Add ability to track allocated ib_ucontext, which are limited resource and worth to be visible by users. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:

committed by
Doug Ledford

parent
61d6952868
commit
606152107b
@@ -38,6 +38,10 @@ enum rdma_restrack_type {
|
||||
* @RDMA_RESTRACK_MR: Memory Region (MR)
|
||||
*/
|
||||
RDMA_RESTRACK_MR,
|
||||
/**
|
||||
* @RDMA_RESTRACK_CTX: Verbs contexts (CTX)
|
||||
*/
|
||||
RDMA_RESTRACK_CTX,
|
||||
/**
|
||||
* @RDMA_RESTRACK_MAX: Last entry, used for array dclarations
|
||||
*/
|
||||
|
Reference in New Issue
Block a user