linux/drivers/infiniband/hw/efa
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
..
Kconfig RDMA/efa: Add driver to Kconfig/Makefile 2019-05-07 12:47:47 -03:00
Makefile RDMA/efa: Add driver to Kconfig/Makefile 2019-05-07 12:47:47 -03:00
efa.h RDMA: Convert CQ allocations to be under core responsibility 2019-06-11 16:39:49 -04:00
efa_admin_cmds_defs.h
efa_admin_defs.h
efa_com.c RDMA/efa: Remove unneeded admin commands abort flow 2019-05-29 13:14:14 -03:00
efa_com.h RDMA/efa: Remove unneeded admin commands abort flow 2019-05-29 13:14:14 -03:00
efa_com_cmd.c RDMA/efa: Remove unused includes 2019-05-29 13:20:48 -03:00
efa_com_cmd.h RDMA/efa: Add the com service API definitions 2019-05-06 15:18:17 -03:00
efa_common_defs.h
efa_main.c RDMA: Convert CQ allocations to be under core responsibility 2019-06-11 16:39:49 -04:00
efa_regs_defs.h
efa_verbs.c RDMA/efa: Use API to get contiguous memory blocks aligned to device supported page size 2019-06-21 11:52:44 -04:00