diff options
| author | Shiraz, Saleem <shiraz.saleem@intel.com> | 2019-02-11 09:24:57 -0600 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-11 15:02:33 -0700 |
| commit | 161ebe2498d4108c5e80dc3b47736ecda32cd816 (patch) | |
| tree | e553ef6c506c5085947883cc4f09fd2c1857178e /tools/perf/scripts/python | |
| parent | lib/scatterlist: Provide a DMA page iterator (diff) | |
| download | linux-161ebe2498d4108c5e80dc3b47736ecda32cd816.tar.gz linux-161ebe2498d4108c5e80dc3b47736ecda32cd816.zip | |
RDMA/bnxt_re: Use for_each_sg_dma_page iterator on umem SGL
Use the for_each_sg_dma_page iterator variant to walk the umem DMA-mapped
SGL and get the page DMA address. This avoids the extra loop to iterate
pages in the SGE when for_each_sg iterator is used.
Additionally, purge umem->page_shift usage in the driver as its only
relevant for ODP MRs. Use system page size and shift instead.
Signed-off-by: Shiraz, Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
