Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f58851e6 authored by \"Talpey, Thomas\'s avatar \"Talpey, Thomas\ Committed by Trond Myklebust
Browse files

RPCRDMA: rpc rdma transport switch



This implements the configuration and building of the core transport
switch implementation of the rpcrdma transport. Stubs are provided for
the rpcrdma protocol handling, and the infiniband/iwarp verbs interface.
These are provided in following patches.

Signed-off-by: default avatarTom Talpey <talpey@netapp.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 2cf7ff7a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -88,6 +88,11 @@ enum {
	CTL_SLOTTABLE_TCP,
	CTL_MIN_RESVPORT,
	CTL_MAX_RESVPORT,
	CTL_SLOTTABLE_RDMA,
	CTL_RDMA_MAXINLINEREAD,
	CTL_RDMA_MAXINLINEWRITE,
	CTL_RDMA_WRITEPADDING,
	CTL_RDMA_MEMREG,
};

#endif /* _LINUX_SUNRPC_DEBUG_H_ */
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@

obj-$(CONFIG_SUNRPC) += sunrpc.o
obj-$(CONFIG_SUNRPC_GSS) += auth_gss/
obj-$(CONFIG_SUNRPC_XPRT_RDMA) += xprtrdma/

sunrpc-y := clnt.o xprt.o socklib.o xprtsock.o sched.o \
	    auth.o auth_null.o auth_unix.o \
+3 −0
Original line number Diff line number Diff line
obj-$(CONFIG_SUNRPC_XPRT_RDMA) += xprtrdma.o

xprtrdma-y := transport.o rpc_rdma.o verbs.o
+9 −0
Original line number Diff line number Diff line
/*
 * Placeholders for subsequent patches
 */

#include "xprt_rdma.h"

void rpcrdma_conn_func(struct rpcrdma_ep *a) { }
void rpcrdma_reply_handler(struct rpcrdma_rep *a) { }
int rpcrdma_marshal_req(struct rpc_rqst *a) { return EINVAL; }
+800 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading