aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/rxe
diff options
context:
space:
mode:
authorShiraz, Saleem <shiraz.saleem@intel.com>2019-02-11 09:25:03 -0600
committerJason Gunthorpe <jgg@mellanox.com>2019-02-11 15:24:55 -0700
commitf3e6d3117939e982462fe1539f1ae44b1ed57f09 (patch)
treeb77c2fc3cc267b8132b73b9d483226e9bbb91f0a /drivers/infiniband/sw/rxe
parentRDMA/cxgb3: Use for_each_sg_dma_page iterator on umem SGL (diff)
downloadlinux-dev-f3e6d3117939e982462fe1539f1ae44b1ed57f09.tar.xz
linux-dev-f3e6d3117939e982462fe1539f1ae44b1ed57f09.zip
RDMA/vmw_pvrdma: 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 'drivers/infiniband/sw/rxe')
0 files changed, 0 insertions, 0 deletions