]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: Add GET_MR_FOR_DEST sockopt
authorAndy Grover <andy.grover@oracle.com>
Tue, 6 Oct 2009 03:24:31 +0000 (20:24 -0700)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 23:41:18 +0000 (16:41 -0700)
commitc2b68e202cfe0bea8079b047987958120436c8f7
tree734635e3a4d8e0ac68f8a7dda1f61e0681e79eb5
parentfcc1ad820db3d9a4bc9b5815c26595fb1ee7baea
RDS: Add GET_MR_FOR_DEST sockopt

RDS currently supports a GET_MR sockopt to establish a
memory region (MR) for a chunk of memory. However, the fastreg
method ties a MR to a particular destination. The GET_MR_FOR_DEST
sockopt allows the remote machine to be specified, and thus
support for fastreg (aka FRWRs).

Note that this patch does *not* do all of this - it simply
implements the new sockopt in terms of the old one, so applications
can begin to use the new sockopt in preparation for cutover to
FRWRs.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
include/linux/rds.h
net/rds/af_rds.c
net/rds/rdma.c
net/rds/rdma.h