diff options
| author | Guy Levi <[email protected]> | 2018-11-26 08:15:39 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-11-29 17:12:13 -0700 |
| commit | 20e5a59b2e64a01f8e0957727887564a4d004970 (patch) | |
| tree | 5257a694c12f2e2c2963f81795f1348fdf843bcd /tools/perf/scripts/python | |
| parent | b024dd0eba6e6d568f69d63c5e3153aba94c23e3 (diff) | |
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 <[email protected]>
Reviewed-by: Majd Dibbiny <[email protected]>
Reviewed-by: Yishai Hadas <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions