Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
* [PATCH net-next V2 0/3] net/mlx5: allocate doorbells from dma pools
@ 2026-08-03 13:25 Tariq Toukan
  2026-08-03 13:25 ` [PATCH net-next V2 1/3] net/mlx5: initialize doorbell " Tariq Toukan
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tariq Toukan @ 2026-08-03 13:25 UTC (permalink / raw)
  To: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	netdev, Paolo Abeni
  Cc: Dragos Tatulea, Gal Pressman, Leon Romanovsky, linux-kernel,
	linux-rdma, Mark Bloch, Nimrod Oren, Saeed Mahameed, Tariq Toukan

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-08-03 13:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-03 13:25 [PATCH net-next V2 0/3] net/mlx5: allocate doorbells from dma pools Tariq Toukan
2026-08-03 13:25 ` [PATCH net-next V2 1/3] net/mlx5: initialize doorbell " Tariq Toukan
2026-08-03 13:25 ` [PATCH net-next V2 2/3] net/mlx5: allocate doorbells from " Tariq Toukan
2026-08-03 13:25 ` [PATCH net-next V2 3/3] net/mlx5: add debugfs stats for doorbell " Tariq Toukan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox