mirror_iproute2/rdma
Steve Wise 4060e4c0d2 rdma: Add PD resource tracking information
Sample output:

Without CAP_NET_ADMIN capability:

dev mlx4_0 users 0 pid 0 comm [ib_srpt]
dev mlx4_0 users 0 pid 0 comm [ib_srp]
dev mlx4_0 users 1 pid 0 comm [ib_core]
dev cxgb4_0 users 0 pid 0 comm [ib_srp]

With CAP_NET_ADMIN capability:
dev mlx4_0 local_dma_lkey 0x8000 users 0 pid 0 comm [ib_srpt]
dev mlx4_0 local_dma_lkey 0x8000 users 0 pid 0 comm [ib_srp]
dev mlx4_0 local_dma_lkey 0x8000 users 1 pid 0 comm [ib_core]
dev cxgb4_0 local_dma_lkey 0x0 users 0 pid 0 comm [ib_srp]

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
2018-04-01 08:19:01 -07:00
..
include/uapi/rdma rdma: add UAPI rdma_user_cm.h 2018-04-01 08:18:38 -07:00
.gitignore rdma: Add basic infrastructure for RDMA tool 2017-08-21 17:07:44 -07:00
dev.c rdma: Update device capabilities flags 2018-03-08 09:15:28 -08:00
link.c rdma: Add option to provide "-" sign for the port number 2018-02-05 17:23:52 -08:00
Makefile rdma: Move RDMA UAPI header file to be under RDMA responsibility 2018-03-26 07:02:19 -07:00
rdma.c rdma: initialize the rd struct 2018-04-01 08:18:43 -07:00
rdma.h rdma: Add CM_ID resource tracking information 2018-04-01 08:18:47 -07:00
res.c rdma: Add PD resource tracking information 2018-04-01 08:19:01 -07:00
utils.c rdma: Add MR resource tracking information 2018-04-01 08:18:56 -07:00