linux/drivers/infiniband
Gal Pressman 40ddb3f020 RDMA/efa: Use API to get contiguous memory blocks aligned to device supported page size
Use the ib_umem_find_best_pgsz() and rdma_for_each_block() API when
registering an MR instead of coding it in the driver.

ib_umem_find_best_pgsz() is used to find the best suitable page size
which replaces the existing efa_cont_pages() implementation.
rdma_for_each_block() is used to iterate the umem in aligned contiguous
memory blocks.

Reviewed-by: Firas JahJah <firasj@amazon.com>
Reviewed-by: Yossi Leybovich <sleybo@amazon.com>
Reviewed-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Gal Pressman <galpress@amazon.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2019-06-21 11:52:44 -04:00
..
core RDMA/odp: Do not leak dma maps when working with huge pages 2019-06-20 21:52:47 -04:00
hw RDMA/efa: Use API to get contiguous memory blocks aligned to device supported page size 2019-06-21 11:52:44 -04:00
sw IB/{rdmavt, qib, hfi1}: Convert to new completion API 2019-06-20 22:35:09 -04:00
ulp RDMA/ipoib: Remove check for ETH_SS_TEST 2019-06-11 19:00:10 -04:00
Kconfig rdma: Remove nes 2019-06-13 09:59:49 -04:00
Makefile