On 2/19/2020 6:47 PM, Jason Gunthorpe wrote:
On Wed, Feb 19, 2020 at 05:41:42PM +0200, Max Gurtovoy wrote:
Since RDMA rw API support operations with P2P memory sg list, make sure
to map/unmap the scatter list for signature operation correctly. while
we're here, fix an error flow that doesn't unmap the sg list according
to the memory type.
Signed-off-by: Max Gurtovoy <maxg@xxxxxxxxxxxx>
Signed-off-by: Israel Rukshin <israelr@xxxxxxxxxxxx>
drivers/infiniband/core/rw.c | 44 +++++++++++++++++++++++++++-----------------
1 file changed, 27 insertions(+), 17 deletions(-)
Can you split the bug fix out please?
sure,
just sent a v2.
Jason