Skip to content

Commit a060b56

Browse files
Christoph Hellwigdledford
authored andcommitted
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 <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
1 parent d4a85c3 commit a060b56

File tree

5 files changed

+617
-2
lines changed

5 files changed

+617
-2
lines changed

drivers/infiniband/core/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ obj-$(CONFIG_INFINIBAND_USER_MAD) += ib_umad.o
88
obj-$(CONFIG_INFINIBAND_USER_ACCESS) += ib_uverbs.o ib_ucm.o \
99
$(user_access-y)
1010

11-
ib_core-y := packer.o ud_header.o verbs.o cq.o sysfs.o \
11+
ib_core-y := packer.o ud_header.o verbs.o cq.o rw.o sysfs.o \
1212
device.o fmr_pool.o cache.o netlink.o \
1313
roce_gid_mgmt.o mr_pool.o
1414
ib_core-$(CONFIG_INFINIBAND_USER_MEM) += umem.o

0 commit comments

Comments
 (0)