[PATCH net-next 0/3] net/mlx5: allocate doorbells from dma pools

From: Tariq Toukan

Date: Thu Jul 23 2026 - 03:27:35 EST


Hi,

This series by Nimrod extends the mlx5 internal DMA pool infrastructure
to doorbell objects.

Doorbell allocations currently use a separate pgdir allocator. Moving
them to the common mlx5 DMA pool implementation keeps the same coherent
DMA allocation model while sharing the pool code used by mlx5_frag_buf.

The series first creates per-node doorbell pools, then switches doorbell
allocation to use them, and finally exposes their usage through debugfs.

Regards,
Tariq

Nimrod Oren (3):
net/mlx5: initialize doorbell dma pools
net/mlx5: allocate doorbells from dma pools
net/mlx5: add debugfs stats for doorbell dma pools

.../net/ethernet/mellanox/mlx5/core/alloc.c | 142 ++++++++----------
.../net/ethernet/mellanox/mlx5/core/main.c | 11 +-
.../ethernet/mellanox/mlx5/core/mlx5_core.h | 2 +
include/linux/mlx5/driver.h | 8 +-
4 files changed, 79 insertions(+), 84 deletions(-)


base-commit: 1df10cef2d1e7f9f2fb7eddb67fc70d3abf101f9
--
2.44.0