Skip to content

net/mlx5: allocate doorbells from dma pools

Tariq Toukan linux-rdma lkml netdev 2 versions – 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 · linked by author and title

  1. v2 Latest3 patches 0 repliesApplied 3/3
  2. v13 patches 1 replySuperseded

Changes in v2 from the cover letter

- Dropped defensive check in patch 3 (Leon).

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net/mlx5: initialize doorbell dma poolsdrivers/net/ethernet/mellanox/mlx5/core/alloc.c drivers/net/ethernet/mellanox/mlx5/core/main.c drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h +1 more+48 -00 repliesApplied
2/3net/mlx5: allocate doorbells from dma poolsdrivers/net/ethernet/mellanox/mlx5/core/alloc.c drivers/net/ethernet/mellanox/mlx5/core/main.c include/linux/mlx5/driver.h+18 -1020 repliesApplied
3/3net/mlx5: add debugfs stats for doorbell dma poolsdrivers/net/ethernet/mellanox/mlx5/core/alloc.c include/linux/mlx5/driver.h+28 -00 repliesApplied

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchDragos Tatulea
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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

Signature · 1 line
2.44.0