iproute2/rdma
Steve Wise 8958a15c04 rdma: Add MR resource tracking information
Sample output:

Without CAP_NET_ADMIN:

$ rdma resource show mr mrlen 65536
dev mlx4_0 mrlen 65536 pid 0 comm [nvme_rdma]
dev cxgb4_0 mrlen 65536 pid 0 comm [nvme_rdma]

With CAP_NET_ADMIN:

# rdma resource show mr mrlen 65536
dev mlx4_0 rkey 0x12702 lkey 0x12702 iova 0x85724a000 mrlen 65536 pid 0 comm [nvme_rdma]
dev cxgb4_0 rkey 0x68fe4e9 lkey 0x68fe4e9 iova 0x835b91000 mrlen 65536 pid 0 comm [nvme_rdma]

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:18:56 -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
Makefile rdma: Move RDMA UAPI header file to be under RDMA responsibility 2018-03-26 07:02:19 -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
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 MR resource tracking information 2018-04-01 08:18:56 -07:00
utils.c rdma: Add MR resource tracking information 2018-04-01 08:18:56 -07:00