diff options
| author | Chuck Lever <chuck.lever@oracle.com> | 2016-01-07 14:50:10 -0500 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2016-01-19 15:30:48 -0500 |
| commit | 5d252f90a800cee5bc57c76d636ae60464f7a887 (patch) | |
| tree | ce8cc2748fb4fae72b74bddaa3e3229655395e69 /include/linux/sunrpc | |
| parent | 03fe9931536fe4782e9e34f7f499d588acd2015b (diff) | |
svcrdma: Add class for RDMA backwards direction transport
To support the server-side of an NFSv4.1 backchannel on RDMA
connections, add a transport class that enables backward
direction messages on an existing forward channel connection.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Acked-by: Bruce Fields <bfields@fieldses.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/linux/sunrpc')
| -rw-r--r-- | include/linux/sunrpc/svc_rdma.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/sunrpc/svc_rdma.h b/include/linux/sunrpc/svc_rdma.h index 9a2c418dc690..b13513a0caf4 100644 --- a/include/linux/sunrpc/svc_rdma.h +++ b/include/linux/sunrpc/svc_rdma.h | |||
| @@ -195,6 +195,11 @@ struct svcxprt_rdma { | |||
| 195 | 195 | ||
| 196 | #define RPCSVC_MAXPAYLOAD_RDMA RPCSVC_MAXPAYLOAD | 196 | #define RPCSVC_MAXPAYLOAD_RDMA RPCSVC_MAXPAYLOAD |
| 197 | 197 | ||
| 198 | /* svc_rdma_backchannel.c */ | ||
| 199 | extern int svc_rdma_handle_bc_reply(struct rpc_xprt *xprt, | ||
| 200 | struct rpcrdma_msg *rmsgp, | ||
| 201 | struct xdr_buf *rcvbuf); | ||
| 202 | |||
| 198 | /* svc_rdma_marshal.c */ | 203 | /* svc_rdma_marshal.c */ |
| 199 | extern int svc_rdma_xdr_decode_req(struct rpcrdma_msg **, struct svc_rqst *); | 204 | extern int svc_rdma_xdr_decode_req(struct rpcrdma_msg **, struct svc_rqst *); |
| 200 | extern int svc_rdma_xdr_encode_error(struct svcxprt_rdma *, | 205 | extern int svc_rdma_xdr_encode_error(struct svcxprt_rdma *, |
