]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: generic RDMA READ/WRITE API
authorChristoph Hellwig <hch@lst.de>
Tue, 3 May 2016 16:01:09 +0000 (18:01 +0200)
committerDoug Ledford <dledford@redhat.com>
Fri, 13 May 2016 17:37:19 +0000 (13:37 -0400)
commitc0786003723125652f147667ed55ba39d7268ecd
tree403dd22e8affcb2c92415065ceeac894374d7af3
parentbc874e726478b1692a58e125fc2b1898589ba49a
IB/core: generic RDMA READ/WRITE API

This supports both manual mapping of lots of SGEs, as well as using MRs
from the QP's MR pool, for iWarp or other cases where it's more optimal.
For now, MRs are only used for iWARP transports.  The user of the RDMA-RW
API must allocate the QP MR pool as well as size the SQ accordingly.

Thanks to Steve Wise for testing, fixing and rewriting the iWarp support,
and to Sagi Grimberg for ideas, reviews and fixes.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/Makefile
drivers/infiniband/core/rw.c [new file with mode: 0644]
drivers/infiniband/core/verbs.c
include/rdma/ib_verbs.h
include/rdma/rw.h [new file with mode: 0644]