[PATCH rdma-core 0/6] verbs: Custom parent-domain allocators

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series extends the parent domain object with custom allocation callbacks
that can be used by user-applications to override the provider allocation.

This can be used for example to add NUMA aware allocation.

The API was introduced in the mailing list by the below RFC [1] and was
implemented by mlx5 provider.

A detailed man page exists as part of the series to describe the usage and the
behavior.

A PR was sent as well [2].

[1] https://www.spinics.net/lists/linux-rdma/msg84590.html
[2] https://github.com/linux-rdma/rdma-core/pull/596

Haggai Eran (1):
  verbs: custom parent-domain allocators

Yishai Hadas (5):
  Update kernel headers
  mlx5: Extend mlx5_alloc_parent_domain() to support custom allocator
  mlx5: Add custom allocation support for QP and RWQ buffers
  mlx5: Add custom allocation support for DBR
  mlx5: Add custom allocation support for SRQ buffer

 kernel-headers/rdma/ib_user_ioctl_verbs.h  |  22 ++++++
 kernel-headers/rdma/rdma_user_ioctl_cmds.h |  22 ------
 libibverbs/man/ibv_alloc_parent_domain.3   |  54 +++++++++++++++
 libibverbs/verbs.h                         |  12 ++++
 providers/mlx5/buf.c                       |  59 +++++++++++++++++
 providers/mlx5/cq.c                        |   2 +-
 providers/mlx5/dbrec.c                     |  34 +++++++++-
 providers/mlx5/mlx5.h                      |  23 ++++++-
 providers/mlx5/mlx5dv.h                    |   6 ++
 providers/mlx5/srq.c                       |  25 +++++--
 providers/mlx5/verbs.c                     | 103 ++++++++++++++++++++---------
 11 files changed, 297 insertions(+), 65 deletions(-)

-- 
1.8.3.1




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux