RDMA/siw: Use ib_umem_get() to pin user pages

Abandon siw private code to pin user pages during user
memory registration, but use ib_umem_get() instead.
This will help maintaining the driver in case of changes
to the memory subsystem.

Signed-off-by: Bernard Metzler <bmt@zurich.ibm.com>
Link: https://lore.kernel.org/r/20231104075643.195186-1-bmt@zurich.ibm.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
This commit is contained in:
Bernard Metzler 2023-11-04 08:56:43 +01:00 • committed by Leon Romanovsky
commit 476b7c7e00
4 changed files with 47 additions and 89 deletions