linux-stable/drivers/infiniband
Shiraz, Saleem b44e47eb06 RDMA/cxgb3: 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>
2019-02-11 15:24:55 -07:00
..
core RDMA/devices: Re-organize device.c locking 2019-02-08 16:56:45 -07:00
hw RDMA/cxgb3: Use for_each_sg_dma_page iterator on umem SGL 2019-02-11 15:24:55 -07:00
sw RDMA: Handle PD allocations by IB/core 2019-02-08 16:51:04 -07:00
ulp Linux 5.0-rc5 2019-02-04 14:53:42 -07:00
Kconfig IB/{core,uverbs}: Move ib_umem_xxx functions from ib_core to ib_uverbs 2019-01-10 17:06:44 -07:00
Makefile