[PATCH net-next 0/2] net/mlx5: frag buffer improvements

From: Tariq Toukan

Date: Thu May 14 2026 - 06:52:56 EST


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
--
2.44.0