linux/drivers/infiniband/hw
Guy Levi 20e5a59b2e IB/mlx5: Use fragmented SRQ's buffer for in-kernel users
The current implementation of create SRQ requires contiguous memory, such
a requirement is problematic once the memory is fragmented or the system
is low in memory, it causes failures in dma_zalloc_coherent().

This patch takes the advantage of the new mlx5_core API which allocates a
fragmented buffer, and makes the SRQ creation much more resilient to
memory fragmentation. Data-path code was adapted to the fact that WQEs can
cross buffers.

Signed-off-by: Guy Levi <guyle@mellanox.com>
Reviewed-by: Majd Dibbiny <majd@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-11-29 17:12:13 -07:00
..
bnxt_re RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
cxgb3 infiniband/hw/cxgb3/cxio_hal.c: Use dma_zalloc_coherent 2018-11-21 15:52:35 -07:00
cxgb4 iw_cxgb4: only reconnect with MPAv1 if the peer aborts 2018-11-21 16:15:19 -07:00
hfi1 Revert "mm, mmu_notifier: annotate mmu notifiers with blockable invalidate callbacks" 2018-10-26 16:25:19 -07:00
hns RDMA/hns: prefer dma_zalloc_coherent to dma_alloc_coherent/memse 2018-11-06 15:58:02 -05:00
i40iw i40iw: remove support for ib_get_vector_affinity 2018-11-08 14:22:53 -07:00
mlx4 mlx4: trigger IB events needed by SMC 2018-11-22 11:57:31 -07:00
mlx5 IB/mlx5: Use fragmented SRQ's buffer for in-kernel users 2018-11-29 17:12:13 -07:00
mthca RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
nes First merge window pull request 2018-10-26 07:38:19 -07:00
ocrdma RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
qedr RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
qib RDMA/qib: Remove all occurrences of BUG_ON() 2018-11-29 15:59:40 -07:00
usnic IB/usnic: fix spelling mistake "miniumum" -> "minimum" 2018-11-29 15:59:40 -07:00
vmw_pvrdma RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00