aboutsummaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorShiraz, Saleem <shiraz.saleem@intel.com>2019-02-11 09:25:01 -0600
committerJason Gunthorpe <jgg@mellanox.com>2019-02-11 15:24:55 -0700
commit48b586ac36fc4922331a50043058464cc1306aed (patch)
tree5f613e0611eddf35fe5b8b3aa7d6368822b783cb /usr
parentRDMA/hns: Use for_each_sg_dma_page iterator on umem SGL (diff)
downloadlinux-dev-48b586ac36fc4922331a50043058464cc1306aed.tar.xz
linux-dev-48b586ac36fc4922331a50043058464cc1306aed.zip
RDMA/cxgb4: 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: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions