]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - include/rdma/ib_verbs.h
RDMA/core: Introduce ib_map_mr_sg_pi to map data/protection sgl's
authorMax Gurtovoy <maxg@mellanox.com>
Tue, 11 Jun 2019 15:52:40 +0000 (18:52 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 24 Jun 2019 14:49:26 +0000 (11:49 -0300)
commit2cdfcdd8677b277b32d32ef8976802dc5d5f883f
tree9a664e268f819348bb831d1bcb5f7d1386906736
parent26bc7eaee94fd904d1817fee4d864f8526807465
RDMA/core: Introduce ib_map_mr_sg_pi to map data/protection sgl's

This function will map the previously dma mapped SG lists for PI
(protection information) and data to an appropriate memory region for
future registration.
The given MR must be allocated as IB_MR_TYPE_INTEGRITY.

Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Israel Rukshin <israelr@mellanox.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/device.c
drivers/infiniband/core/verbs.c
include/rdma/ib_verbs.h