net/mlx5: frag buffer improvements
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net/mlx5: use numa_mem_id() for default frag buf allocationsdrivers/ | +1 | 0 replies | Applied |
| 2/2 | net/mlx5: add debugfs stats for frag buf dma poolsdrivers/ include/ | +87 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/2] net/mlx5: frag buffer improvements
Hi,
This series adds observability for mlx5 fragment buffer DMA pools and improves the default NUMA placement policy for fragment buffer allocations.
Patch 1 adds a debugfs interface exposing per-node DMA pool usage statistics for mlx5_frag_buf allocations, helping with debugging and visibility into pool utilization.
Patch 2 improves locality of default fragment buffer allocations by using numa_mem_id() when no explicit NUMA node is requested, allowing allocations to prefer the current CPU's local memory node.
Together, these changes improve both introspection and memory locality behavior of mlx5 fragment buffer allocations.
Regards,
Tariq
Nimrod Oren (2):
net/mlx5: use numa_mem_id() for default frag buf allocations net/mlx5: add debugfs stats for frag buf dma pools
.../net/ethernet/mellanox/mlx5/core/alloc.c | 88 ++++++++++++++++++- include/linux/mlx5/driver.h | 1 + 2 files changed, 88 insertions(+), 1 deletion(-)
base-commit: 18dc8e6d15d7a30888beec46a1e01ca0f98508fa
Signature · 1 line
2.44.0