public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH rdma-next 0/3] Delay mlx5_ib internal resources allocations
@ 2024-06-03 10:26 Leon Romanovsky
  2024-06-16 15:38 ` (subset) " Leon Romanovsky
  0 siblings, 1 reply; 2+ messages in thread
From: Leon Romanovsky @ 2024-06-03 10:26 UTC (permalink / raw)
  To: Jason Gunthorpe
  Cc: Leon Romanovsky, Eric Dumazet, Jakub Kicinski, Jianbo Liu,
	linux-kernel, linux-rdma, netdev, Paolo Abeni, Saeed Mahameed,
	Tariq Toukan

From: Leon Romanovsky <leonro@nvidia.com>

Internal mlx5_ib resources are created during mlx5_ib module load. This
behavior is not optimal because it consumes resources that are not
needed when SFs are created. This patch series delays the creation of
mlx5_ib internal resources to the stage when they actually used.

Thanks

Jianbo Liu (3):
  net/mlx5: Reimplement write combining test
  IB/mlx5: Create UMR QP just before first reg_mr occurs
  IB/mlx5: Allocate resources just before first QP/SRQ is created

 drivers/infiniband/hw/mlx5/main.c             | 171 ++++---
 drivers/infiniband/hw/mlx5/mem.c              | 198 --------
 drivers/infiniband/hw/mlx5/mlx5_ib.h          |   9 +-
 drivers/infiniband/hw/mlx5/mr.c               |   9 +
 drivers/infiniband/hw/mlx5/qp.c               |  20 +-
 drivers/infiniband/hw/mlx5/srq.c              |   4 +
 drivers/infiniband/hw/mlx5/umr.c              |  55 ++-
 drivers/infiniband/hw/mlx5/umr.h              |   3 +
 .../net/ethernet/mellanox/mlx5/core/Makefile  |   2 +-
 .../net/ethernet/mellanox/mlx5/core/main.c    |   2 +
 drivers/net/ethernet/mellanox/mlx5/core/wc.c  | 434 ++++++++++++++++++
 include/linux/mlx5/driver.h                   |  11 +
 12 files changed, 627 insertions(+), 291 deletions(-)
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/wc.c

-- 
2.45.1


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

* Re: (subset) [PATCH rdma-next 0/3] Delay mlx5_ib internal resources allocations
  2024-06-03 10:26 [PATCH rdma-next 0/3] Delay mlx5_ib internal resources allocations Leon Romanovsky
@ 2024-06-16 15:38 ` Leon Romanovsky
  0 siblings, 0 replies; 2+ messages in thread
From: Leon Romanovsky @ 2024-06-16 15:38 UTC (permalink / raw)
  To: Jason Gunthorpe, Leon Romanovsky
  Cc: Eric Dumazet, Jakub Kicinski, Jianbo Liu, linux-kernel,
	linux-rdma, netdev, Paolo Abeni, Saeed Mahameed, Tariq Toukan,
	Leon Romanovsky


On Mon, 03 Jun 2024 13:26:36 +0300, Leon Romanovsky wrote:
> Internal mlx5_ib resources are created during mlx5_ib module load. This
> behavior is not optimal because it consumes resources that are not
> needed when SFs are created. This patch series delays the creation of
> mlx5_ib internal resources to the stage when they actually used.
> 
> Thanks
> 
> [...]

Applied, thanks!

[2/3] IB/mlx5: Create UMR QP just before first reg_mr occurs
      https://git.kernel.org/rdma/rdma/c/638420115cc4ad
[3/3] IB/mlx5: Allocate resources just before first QP/SRQ is created
      https://git.kernel.org/rdma/rdma/c/5895e70f2e6e8d

Best regards,
-- 
Leon Romanovsky <leon@kernel.org>


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

end of thread, other threads:[~2024-06-16 15:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-03 10:26 [PATCH rdma-next 0/3] Delay mlx5_ib internal resources allocations Leon Romanovsky
2024-06-16 15:38 ` (subset) " Leon Romanovsky

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