RDMA/rw: map P2P memory correctly for signature operations
authorMax Gurtovoy <maxg@mellanox.com>
Thu, 20 Feb 2020 10:08:19 +0000 (12:08 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 10 Mar 2020 15:56:17 +0000 (12:56 -0300)
commit679824148364773c8390abbf122bd7d9825e81eb
treebc8862c93baaf716696e26f7df7d68ca93301480
parent6f00a54c2cdc82543d5804b0074821b5a40e577f
RDMA/rw: map P2P memory correctly for signature operations

Since RDMA rw API support operations with P2P memory sg list, make sure to
map/unmap the scatter list for signature operation correctly.

Link: https://lore.kernel.org/r/20200220100819.41860-2-maxg@mellanox.com
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/rw.c