Skip to content

net/mlx5: frag buffer improvements

Tariq Toukan linux-rdma lkml netdev 1 version Applied

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

  1. v1 Latest2 patches 0 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net/mlx5: use numa_mem_id() for default frag buf allocationsdrivers/net/ethernet/mellanox/mlx5/core/alloc.c+1 -10 repliesApplied
2/2net/mlx5: add debugfs stats for frag buf dma poolsdrivers/net/ethernet/mellanox/mlx5/core/alloc.c include/linux/mlx5/driver.h+87 -00 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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