IB/core: Improve ib_map_mr_sg() documentation
authorBart Van Assche <bart.vanassche@sandisk.com>
Mon, 26 Sep 2016 16:09:42 +0000 (09:09 -0700)
committerDoug Ledford <dledford@redhat.com>
Fri, 7 Oct 2016 20:54:38 +0000 (16:54 -0400)
commit52746129e02998fb45942aed359e77e63def4997
tree1e1b38fc9ac976f1a7a98d59310937b204c5dcbb
parentfd10ed8e6f4246ac5e18b921ba50562959502117
IB/core: Improve ib_map_mr_sg() documentation

Document that ib_map_mr_sg() is able to map physically discontiguous
sg-lists as a single MR. Change IB_MR_TYPE_SG_GAPS_REG into
IB_MR_TYPE_SG_GAPS.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Sagi Grimberg <sagi@grimberg.me>
Cc: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@rimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/verbs.c