diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2018-01-28 12:17:24 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-01-30 06:21:40 +0300 |
commit | bf3c5a93c52368410a521af34ed3bff91a99df44 (patch) | |
tree | e8a43619c4c4682f45a93616806d8af01847ae9e /arch/x86/include/asm/desc.h | |
parent | 9d5f8c209b3f29259e6aa9595ea2dc2dfa27549a (diff) | |
download | linux-bf3c5a93c52368410a521af34ed3bff91a99df44.tar.xz |
RDMA/nldev: Provide global resource utilization
Expose through the netlink interface the global per-device utilization of
the supported object types.
Provide both dumpit and doit callbacks.
As an example of possible output from rdmatool for system with 5
mlx5 cards:
$ rdma res
1: mlx5_0: qp 4 cq 5 pd 3
2: mlx5_1: qp 4 cq 5 pd 3
3: mlx5_2: qp 4 cq 5 pd 3
4: mlx5_3: qp 2 cq 3 pd 2
5: mlx5_4: qp 4 cq 5 pd 3
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'arch/x86/include/asm/desc.h')
0 files changed, 0 insertions, 0 deletions