linux/drivers/infiniband/hw/ocrdma
Jason Gunthorpe 89603f7e7e RDMA/umem: Replace for_each_sg_dma_page with rdma_umem_for_each_dma_block
Generally drivers should be using this core helper to split up the umem
into DMA pages.

These drivers are all probably wrong in some way to pass PAGE_SIZE in as
the HW page size. Either the driver doesn't support other page sizes and
it should use 4096, or the driver does support other page sizes and should
use ib_umem_find_best_pgsz() to select the best HW pages size of the HW
supported set.

The only case it could be correct is if the HW has a global setting for
PAGE_SIZE set at driver initialization time.

Link: https://lore.kernel.org/r/5-v2-270386b7e60b+28f4-umem_1_jgg@nvidia.com
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-09-09 15:33:17 -03:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
ocrdma_ah.c RDMA: Restore ability to fail on AH destroy 2020-09-09 13:57:22 -03:00
ocrdma_ah.h RDMA: Restore ability to fail on AH destroy 2020-09-09 13:57:22 -03:00
ocrdma_hw.c RDMA: Remove 'max_fmr' 2020-06-02 20:32:54 -03:00
ocrdma_hw.h RDMA: Clean destroy CQ in drivers do not return errors 2019-06-11 16:17:10 -04:00
ocrdma_main.c RDMA/ocrdma: Remove unsupported modify_port callback 2019-11-06 13:29:15 -04:00
ocrdma_sli.h RDMA/ocrdma: Fix spelling mistake in variable name 2019-11-14 11:51:42 -04:00
ocrdma_stats.c RDMA/ocrdma: Fix spelling mistake in variable name 2019-11-14 11:51:42 -04:00
ocrdma_stats.h RDMA/ocrdma: Make ocrdma_pma_counters() return void 2019-11-06 15:38:57 -04:00
ocrdma_verbs.c RDMA/umem: Replace for_each_sg_dma_page with rdma_umem_for_each_dma_block 2020-09-09 15:33:17 -03:00
ocrdma_verbs.h RDMA: Allow fail of destroy CQ 2020-09-09 14:14:29 -03:00
ocrdma.h RDMA: Remove 'max_fmr' 2020-06-02 20:32:54 -03:00