diff options
author | 2019-02-11 09:25:07 -0600 | |
---|---|---|
committer | 2019-02-11 15:24:55 -0700 | |
commit | 8317d6cdc1c7b8add6f2e5b915b5b5f80fdbfa5b (patch) | |
tree | ca02e27a5adebbdc9459bd549fa70f9e9d5299bf /tools | |
parent | RDMA/ocrdma: Use for_each_sg_dma_page iterator on umem SGL (diff) | |
download | linux-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 'tools')
0 files changed, 0 insertions, 0 deletions