Skip to content

Commit

Permalink
RPCRDMA: rpc rdma transport switch
Browse files Browse the repository at this point in the history
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: Tom Talpey <talpey@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
  • Loading branch information
\"Talpey, Thomas\ authored and Trond Myklebust committed Oct 9, 2007
1 parent 2cf7ff7 commit f58851e
Show file tree
Hide file tree
Showing 7 changed files with 1,185 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/linux/sunrpc/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 change: 1 addition & 0 deletions net/sunrpc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
3 changes: 3 additions & 0 deletions net/sunrpc/xprtrdma/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
obj-$(CONFIG_SUNRPC_XPRT_RDMA) += xprtrdma.o

xprtrdma-y := transport.o rpc_rdma.o verbs.o
9 changes: 9 additions & 0 deletions net/sunrpc/xprtrdma/rpc_rdma.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*
* 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; }
Loading

0 comments on commit f58851e

Please sign in to comment.