mirror of https://gitee.com/openkylin/linux.git
40ddb3f020
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
efa.h | ||
efa_admin_cmds_defs.h | ||
efa_admin_defs.h | ||
efa_com.c | ||
efa_com.h | ||
efa_com_cmd.c | ||
efa_com_cmd.h | ||
efa_common_defs.h | ||
efa_main.c | ||
efa_regs_defs.h | ||
efa_verbs.c |