Re: [PATCH 1/1] RDMA/rw: map P2P memory correctly for signature operations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux