diff options
| author | Gal Pressman <[email protected]> | 2019-06-13 12:10:12 +0300 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2019-06-21 11:52:44 -0400 |
| commit | 40ddb3f020834f9afb7aab31385994811f4db259 (patch) | |
| tree | 68ebf6cef37739f74bb056a6e8724e20924f98cb /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 4a9ceb7dbadf9e1435644b1f49720ee87431ce26 (diff) | |
RDMA/efa: Use API to get contiguous memory blocks aligned to device supported page size
Use the ib_umem_find_best_pgsz() and rdma_for_each_block() API when
registering an MR instead of coding it in the driver.
ib_umem_find_best_pgsz() is used to find the best suitable page size
which replaces the existing efa_cont_pages() implementation.
rdma_for_each_block() is used to iterate the umem in aligned contiguous
memory blocks.
Reviewed-by: Firas JahJah <[email protected]>
Reviewed-by: Yossi Leybovich <[email protected]>
Reviewed-by: Shiraz Saleem <[email protected]>
Signed-off-by: Gal Pressman <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions