aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma/restrack.h
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2018-11-28 13:16:43 +0200
committerDoug Ledford <dledford@redhat.com>2018-12-03 14:58:25 -0500
commit606152107bbdbc0e21f25e0d15ef2787a4ab90fd (patch)
tree00a99cd545378fb77d8697229af2b2513372d96f /include/rdma/restrack.h
parentMerge branch 'write-handler-consistent-flow' into for-next (diff)
downloadlinux-dev-606152107bbdbc0e21f25e0d15ef2787a4ab90fd.tar.xz
linux-dev-606152107bbdbc0e21f25e0d15ef2787a4ab90fd.zip
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>
Diffstat (limited to 'include/rdma/restrack.h')
-rw-r--r--include/rdma/restrack.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rdma/restrack.h b/include/rdma/restrack.h
index 2638fa7cd702..f34aa96e4518 100644
--- a/include/rdma/restrack.h
+++ b/include/rdma/restrack.h
@@ -39,6 +39,10 @@ enum rdma_restrack_type {
*/
RDMA_RESTRACK_MR,
/**
+ * @RDMA_RESTRACK_CTX: Verbs contexts (CTX)
+ */
+ RDMA_RESTRACK_CTX,
+ /**
* @RDMA_RESTRACK_MAX: Last entry, used for array dclarations
*/
RDMA_RESTRACK_MAX