Re: [PATCH rdma-next] IB/mlx5: Use fragmented SRQ's buffer for in-kernel users

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

 



On Mon, Nov 26, 2018 at 08:15:39AM +0200, Leon Romanovsky wrote:
> From: Guy Levi <guyle@xxxxxxxxxxxx>
> 
> The current implementation of create SRQ requires contiguous memory, such
> requirement is problematic once the memory is fragmented or the system
> is low in memory, it causes for failures in dma_zalloc_coherent().
> 
> This patch takes the advantage of mlx5_core new API which lets to allocate
> a fragmented buffer, and makes the SRQ creation much resilient to memory
> fragmentation. Data-path code was adapted to the fact that WQEs can
> cross buffers.
> 
> Signed-off-by: Guy Levi <guyle@xxxxxxxxxxxx>
> Reviewed-by: Majd Dibbiny <majd@xxxxxxxxxxxx>
> Reviewed-by: Yishai Hadas <yishaih@xxxxxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> ---
>  drivers/infiniband/hw/mlx5/mlx5_ib.h |  1 +
>  drivers/infiniband/hw/mlx5/srq.c     | 14 +++++++++-----
>  2 files changed, 10 insertions(+), 5 deletions(-)

Applied to for-next

Thanks,
Jason



[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