OSDN Git Service

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)
commita060b5629ab066dd1d321430eeb96f70939a1790
tree403dd22e8affcb2c92415065ceeac894374d7af3
parentd4a85c309b33f93cb211f2fa9d26fa77d0bb7b5e
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]