summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ocrdma
diff options
context:
space:
mode:
authorShiraz, Saleem <shiraz.saleem@intel.com>2019-02-11 09:25:04 -0600
committerJason Gunthorpe <jgg@mellanox.com>2019-02-11 15:24:55 -0700
commit95ad233ffbed0c87925483bd902b5ec5fa8ed4cd (patch)
tree579a2f55a4b51f7fc2ba1fe8c1a51b75f90134f1 /drivers/infiniband/hw/ocrdma
parentf3e6d3117939e982462fe1539f1ae44b1ed57f09 (diff)
downloadlinux-95ad233ffbed0c87925483bd902b5ec5fa8ed4cd.tar.gz
linux-95ad233ffbed0c87925483bd902b5ec5fa8ed4cd.tar.bz2
linux-95ad233ffbed0c87925483bd902b5ec5fa8ed4cd.zip
RDMA/qedr: 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> Acked-by: Michal Kalderon <michal.kalderon@marvell.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/ocrdma')
0 files changed, 0 insertions, 0 deletions