aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorLeon Romanovsky <[email protected]>2018-01-28 09:17:24 +0000
committerJason Gunthorpe <[email protected]>2018-01-30 03:21:40 +0000
commitbf3c5a93c52368410a521af34ed3bff91a99df44 (patch)
treee8a43619c4c4682f45a93616806d8af01847ae9e /drivers/fpga/fpga-mgr.c
parentRDMA/core: Add resource tracking for create and destroy PDs (diff)
downloadkernel-bf3c5a93c52368410a521af34ed3bff91a99df44.tar.gz
kernel-bf3c5a93c52368410a521af34ed3bff91a99df44.zip
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 <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Reviewed-by: Steve Wise <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions