diff options
| author | Shiraz Saleem <[email protected]> | 2019-04-02 14:52:52 -0500 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2019-04-08 13:05:24 -0300 |
| commit | d10bcf947a3ea240351a8182d71e4aa9c8ddba56 (patch) | |
| tree | e2aff327b72cf6a8591935aaad4c77f70294c0a6 /tools/perf/scripts/python/sched-migration.py | |
| parent | c7252a6532995fe6971295b7878e5a74b4f85d0c (diff) | |
RDMA/umem: Combine contiguous PAGE_SIZE regions in SGEs
Combine contiguous regions of PAGE_SIZE pages into single scatter list
entry while building the scatter table for a umem. This minimizes the
number of the entries in the scatter list and reduces the DMA mapping
overhead, particularly with the IOMMU.
Set default max_seg_size in core for IB devices to 2G and do not combine
if we exceed this limit.
Also, purge npages in struct ib_umem as we now DMA map the umem SGL with
sg_nents and npage computation is not needed. Drivers should now be using
ib_umem_num_pages(), so fix the last stragglers.
Move npages tracking to ib_umem_odp as ODP drivers still need it.
Suggested-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Michael J. Ruhl <[email protected]>
Reviewed-by: Ira Weiny <[email protected]>
Acked-by: Adit Ranadive <[email protected]>
Signed-off-by: Shiraz Saleem <[email protected]>
Tested-by: Gal Pressman <[email protected]>
Tested-by: Selvin Xavier <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions