[PATCH rdma-next v1 0/2] SG fix together with update to RDMA umem
From: Leon Romanovsky
Date: Tue Jun 29 2021 - 04:40:12 EST
From: Leon Romanovsky <leonro@xxxxxxxxxx>
Changelog:
v1:
* Fixed sg_page with a _dma_ API in the umem.c
v0: https://lore.kernel.org/lkml/cover.1624361199.git.leonro@xxxxxxxxxx
Maor Gottlieb (2):
lib/scatterlist: Fix wrong update of orig_nents
RDMA: Use dma_map_sgtable for map umem pages
drivers/infiniband/core/umem.c | 29 +++++++++---------------
drivers/infiniband/core/umem_dmabuf.c | 1 -
drivers/infiniband/hw/mlx4/mr.c | 4 ++--
drivers/infiniband/hw/mlx5/mr.c | 3 ++-
drivers/infiniband/sw/rdmavt/mr.c | 2 +-
drivers/infiniband/sw/rxe/rxe_mr.c | 3 ++-
include/linux/scatterlist.h | 8 +++++--
include/rdma/ib_umem.h | 5 ++---
include/rdma/ib_verbs.h | 28 +++++++++++++++++++++++
lib/scatterlist.c | 32 +++++++--------------------
10 files changed, 62 insertions(+), 53 deletions(-)
--
2.31.1