diff options
author | Shiraz, Saleem <shiraz.saleem@intel.com> | 2019-02-12 11:01:14 -0600 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-13 09:00:43 -0700 |
commit | 52a572e9f7d3a0e496b6b93870fbd71dd530306a (patch) | |
tree | 87cdd9faa215e3bf1c14b2e352b20d13beb76a02 /drivers/infiniband/hw/hns | |
parent | RDMA/rdmavt: Adapt to handle non-uniform sizes on umem SGEs (diff) | |
download | linux-dev-52a572e9f7d3a0e496b6b93870fbd71dd530306a.tar.xz linux-dev-52a572e9f7d3a0e496b6b93870fbd71dd530306a.zip |
RDMA/nes: Use for_each_sg_dma_page iterator for 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 'drivers/infiniband/hw/hns')
0 files changed, 0 insertions, 0 deletions