On Wed, 2018-11-28 at 13:16 +0200, Leon Romanovsky wrote: > From: Leon Romanovsky <leonro@xxxxxxxxxxxx> > > Hi, > > This short series provides an accumulative number of ucontexts through > rdmatool. > > [leonro@server ~]$ rdma res > 1: mlx5_0: pd 3 cq 5 qp 4 cm_id 0 mr 0 ctx 0 > [leonro@server ~]$ ibv_rc_pingpong & > [leonro@server ~]$ rdma res > 1: mlx5_0: pd 4 cq 6 qp 5 cm_id 0 mr 1 ctx 1 > > Thanks > > Leon Romanovsky (3): > RDMA/restrack: Track ucontext > RDMA/uverbs: Annotate alloc/deallloc paths with context tracking > RDMA/nldev: Export to user space number of contexts > > drivers/infiniband/core/nldev.c | 1 + > drivers/infiniband/core/rdma_core.c | 2 ++ > drivers/infiniband/core/restrack.c | 5 +++++ > drivers/infiniband/core/uverbs_cmd.c | 3 +++ > include/rdma/ib_verbs.h | 4 ++++ > include/rdma/restrack.h | 4 ++++ > 6 files changed, 19 insertions(+) > > -- > 2.19.1 > Thanks, series applied to for-next. -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: B826A3330E572FDD Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
Attachment:
signature.asc
Description: This is a digitally signed message part