[PATCH net-next V2 0/3] net/mlx5: allocate doorbells from dma pools
Tariq Toukan <[email protected]> Mon, 3 Aug 2026 16:25:17 +0300
| Newsgroups | org.kernel.vger.linux-rdma,org.kernel.vger.linux-kernel,org.kernel.vger.netdev |
|---|---|
| Message-ID | <[email protected]> |
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 V2: - Dropped defensive check in patch 3 (Leon). 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 | 139 ++++++++---------- .../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, 76 insertions(+), 84 deletions(-) base-commit: 69963a0678a347d57c4ac8b16939dba216eb95ce -- 2.44.0