Thread (5 messages) flat view 5 messages, 2 authors, 16h ago
HOTtoday

Revision v2 of 2 in this series.

Revisions (2)
  1. v1 [diff vs current]
  2. v2 current

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

From: Tariq Toukan <tariqt@nvidia.com>
Date: 2026-08-03 13:26:14
Also in: linux-rdma, lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help