History

net/mlx5: add debugfs stats for doorbell dma pools

Add a debugfs file exposing per-node DMA pool usage for doorbell allocations. # cat /sys/kernel/debug/mlx5/<dev>/db_dma_pools node block_size used_blocks allocated_blocks 0 64 0 0 1 64 0 0

Nimrod Oren committed 3 months ago

Commit b7cfcc91 parent c2923562 files · +28 −0Browse files

Showing the changes to include (1 of 2 files). Show all

Unified · Split

include/linux/mlx5/driver.h+1−0
@@ -548,6 +548,7 @@ struct mlx5_debugfs_entries { · 547 unmodified lines
548 struct dentry *cq_debugfs;548 struct dentry *cq_debugfs;
549 struct dentry *cmdif_debugfs;549 struct dentry *cmdif_debugfs;
550 struct dentry *frag_buf_dma_pools_debugfs;550 struct dentry *frag_buf_dma_pools_debugfs;
551 struct dentry *db_dma_pools_debugfs;
551 struct dentry *pages_debugfs;552 struct dentry *pages_debugfs;
552 struct dentry *lag_debugfs;553 struct dentry *lag_debugfs;
553};554};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t