]> git.proxmox.com Git - mirror_iproute2.git/commit
rdma: Add CQ resource tracking information
authorSteve Wise <swise@opengridcomputing.com>
Thu, 29 Mar 2018 16:10:39 +0000 (09:10 -0700)
committerDavid Ahern <dsahern@gmail.com>
Sun, 1 Apr 2018 15:18:51 +0000 (08:18 -0700)
commitb0b8e32cbf6ee8310ce2138b89d288ef0e3caca2
tree7ecebd3f4f58b237fc3a11f47fc3e380c671a510
parent9a362cc71a45598b7a841f41e8770026e421e46b
rdma: Add CQ resource tracking information

Sample output:

# rdma resource show cq
dev cxgb4_0 cqe 46 users 2 pid 30503 comm rping
dev cxgb4_0 cqe 46 users 2 pid 30498 comm rping
dev mlx4_0 cqe 63 users 2 pid 30494 comm rping
dev mlx4_0 cqe 63 users 2 pid 30489 comm rping
dev mlx4_0 cqe 1023 users 2 poll_ctx WORKQUEUE pid 0 comm [ib_core]

# rdma resource show cq pid 30489
dev mlx4_0 cqe 63 users 2 pid 30489 comm rping

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
rdma/res.c
rdma/utils.c