diff options
author | Shiraz, Saleem <shiraz.saleem@intel.com> | 2019-02-11 16:24:59 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-11 23:02:33 +0100 |
commit | 43fae91276a543e430649bc88284bd7be475dfba (patch) | |
tree | dca02060d7fec116c9e0e7c421d7a21823012920 /net/ipv6/mip6.c | |
parent | RDMA/mthca: Use for_each_sg_dma_page iterator on umem SGL (diff) | |
download | linux-43fae91276a543e430649bc88284bd7be475dfba.tar.xz linux-43fae91276a543e430649bc88284bd7be475dfba.zip |
RDMA/i40iw: 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 'net/ipv6/mip6.c')
0 files changed, 0 insertions, 0 deletions