diff options
| author | Guy Levi <guyle@mellanox.com> | 2018-11-26 09:15:39 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-11-30 03:12:13 +0300 |
| commit | 20e5a59b2e64a01f8e0957727887564a4d004970 (patch) | |
| tree | 5257a694c12f2e2c2963f81795f1348fdf843bcd /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | b024dd0eba6e6d568f69d63c5e3153aba94c23e3 (diff) | |
| download | linux-20e5a59b2e64a01f8e0957727887564a4d004970.tar.xz | |
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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
