aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw
diff options
context:
space:
mode:
authorShiraz, Saleem <shiraz.saleem@intel.com>2019-02-11 09:25:07 -0600
committerJason Gunthorpe <jgg@mellanox.com>2019-02-11 15:24:55 -0700
commit8317d6cdc1c7b8add6f2e5b915b5b5f80fdbfa5b (patch)
treeca02e27a5adebbdc9459bd549fa70f9e9d5299bf /drivers/infiniband/hw
parentRDMA/ocrdma: Use for_each_sg_dma_page iterator on umem SGL (diff)
downloadlinux-dev-8317d6cdc1c7b8add6f2e5b915b5b5f80fdbfa5b.tar.xz
linux-dev-8317d6cdc1c7b8add6f2e5b915b5b5f80fdbfa5b.zip
RDMA/rxe: Use for_each_sg_page iterator on umem SGL
The driver walks the umem SGL assuming a 1:1 mapping between SGE and system page. Update to use the for_each_sg_page iterator to get individual pages contained in the SGEs. This is a pre-requisite before adding page combining into SGEs while building the scatter table in IB core. 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')
0 files changed, 0 insertions, 0 deletions