1
0
Fork 0
alistair23-linux/drivers/infiniband/hw/hns
Shiraz, Saleem 3856ec5527 RDMA/hns: 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>
2019-02-11 15:02:33 -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 infiniband: prefix header search paths with $(srctree)/ 2019-01-25 15:28:50 -07:00
hns_roce_ah.c RDMA: Mark if destroy address handle is in a sleepable context 2018-12-19 16:28:03 -07:00
hns_roce_alloc.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
hns_roce_cmd.c RDMA/hns: Fix the chip hanging caused by sending mailbox&CMQ during reset 2019-02-04 16:13:50 -07:00
hns_roce_cmd.h RDMA/hns: Add timer allocation support for hip08 2019-01-24 09:22:30 -07:00
hns_roce_common.h RDMA/hns: Update posting & querying mailbox 2018-12-11 12:04:06 -07:00
hns_roce_cq.c IB/{core,hw}: Have ib_umem_get extract the ib_ucontext from ib_udata 2019-01-10 17:07:45 -07:00
hns_roce_db.c IB/{core,hw}: Have ib_umem_get extract the ib_ucontext from ib_udata 2019-01-10 17:07:45 -07:00
hns_roce_device.h RDMA: Handle PD allocations by IB/core 2019-02-08 16:51:04 -07:00
hns_roce_hem.c RDMA/hns: Add timer allocation support for hip08 2019-01-24 09:22:30 -07:00
hns_roce_hem.h RDMA/hns: Add timer allocation support for hip08 2019-01-24 09:22:30 -07:00
hns_roce_hw_v1.c RDMA/hns: Use for_each_sg_dma_page iterator on umem SGL 2019-02-11 15:02:33 -07:00
hns_roce_hw_v1.h RDMA/hns: Fix endian conversions and annotations 2018-07-11 14:09:25 -06:00
hns_roce_hw_v2.c RDMA/hns: Use for_each_sg_dma_page iterator on umem SGL 2019-02-11 15:02:33 -07:00
hns_roce_hw_v2.h RDMA/hns: Fix the chip hanging caused by sending doorbell during reset 2019-02-04 16:13:50 -07:00
hns_roce_main.c RDMA: Handle PD allocations by IB/core 2019-02-08 16:51:04 -07:00
hns_roce_mr.c RDMA/hns: Use for_each_sg_dma_page iterator on umem SGL 2019-02-11 15:02:33 -07:00
hns_roce_pd.c RDMA: Handle PD allocations by IB/core 2019-02-08 16:51:04 -07:00
hns_roce_qp.c RDMA/hns: Use for_each_sg_dma_page iterator on umem SGL 2019-02-11 15:02:33 -07:00
hns_roce_srq.c RDMA/hns: Make some function static 2019-02-04 15:33:58 -07:00