mbox series

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

Message ID 1572254099-30864-1-git-send-email-yishaih@mellanox.com (mailing list archive)
Headers show
Series verbs: Custom parent-domain allocators | expand

Message

Yishai Hadas Oct. 28, 2019, 9:14 a.m. UTC
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(-)

Comments

Yishai Hadas Nov. 11, 2019, 7:46 a.m. UTC | #1
On 10/28/2019 11:14 AM, Yishai Hadas wrote:
> 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(-)
> 

The PR was merged, thanks.

Yishai