|
@@ -490,6 +490,7 @@ int rpcrdma_ep_create(struct rpcrdma_ep *, struct rpcrdma_ia *,
|
|
struct rpcrdma_create_data_internal *);
|
|
struct rpcrdma_create_data_internal *);
|
|
void rpcrdma_ep_destroy(struct rpcrdma_ep *, struct rpcrdma_ia *);
|
|
void rpcrdma_ep_destroy(struct rpcrdma_ep *, struct rpcrdma_ia *);
|
|
int rpcrdma_ep_connect(struct rpcrdma_ep *, struct rpcrdma_ia *);
|
|
int rpcrdma_ep_connect(struct rpcrdma_ep *, struct rpcrdma_ia *);
|
|
|
|
+void rpcrdma_conn_func(struct rpcrdma_ep *ep);
|
|
void rpcrdma_ep_disconnect(struct rpcrdma_ep *, struct rpcrdma_ia *);
|
|
void rpcrdma_ep_disconnect(struct rpcrdma_ep *, struct rpcrdma_ia *);
|
|
|
|
|
|
int rpcrdma_ep_post(struct rpcrdma_ia *, struct rpcrdma_ep *,
|
|
int rpcrdma_ep_post(struct rpcrdma_ia *, struct rpcrdma_ep *,
|
|
@@ -548,13 +549,6 @@ rpcrdma_data_dir(bool writing)
|
|
return writing ? DMA_FROM_DEVICE : DMA_TO_DEVICE;
|
|
return writing ? DMA_FROM_DEVICE : DMA_TO_DEVICE;
|
|
}
|
|
}
|
|
|
|
|
|
-/*
|
|
|
|
- * RPC/RDMA connection management calls - xprtrdma/rpc_rdma.c
|
|
|
|
- */
|
|
|
|
-void rpcrdma_connect_worker(struct work_struct *);
|
|
|
|
-void rpcrdma_conn_func(struct rpcrdma_ep *);
|
|
|
|
-void rpcrdma_reply_handler(struct work_struct *);
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* RPC/RDMA protocol calls - xprtrdma/rpc_rdma.c
|
|
* RPC/RDMA protocol calls - xprtrdma/rpc_rdma.c
|
|
*/
|
|
*/
|
|
@@ -572,12 +566,14 @@ bool rpcrdma_prepare_send_sges(struct rpcrdma_ia *, struct rpcrdma_req *,
|
|
void rpcrdma_unmap_sges(struct rpcrdma_ia *, struct rpcrdma_req *);
|
|
void rpcrdma_unmap_sges(struct rpcrdma_ia *, struct rpcrdma_req *);
|
|
int rpcrdma_marshal_req(struct rpc_rqst *);
|
|
int rpcrdma_marshal_req(struct rpc_rqst *);
|
|
void rpcrdma_set_max_header_sizes(struct rpcrdma_xprt *);
|
|
void rpcrdma_set_max_header_sizes(struct rpcrdma_xprt *);
|
|
|
|
+void rpcrdma_reply_handler(struct work_struct *work);
|
|
|
|
|
|
/* RPC/RDMA module init - xprtrdma/transport.c
|
|
/* RPC/RDMA module init - xprtrdma/transport.c
|
|
*/
|
|
*/
|
|
extern unsigned int xprt_rdma_max_inline_read;
|
|
extern unsigned int xprt_rdma_max_inline_read;
|
|
void xprt_rdma_format_addresses(struct rpc_xprt *xprt, struct sockaddr *sap);
|
|
void xprt_rdma_format_addresses(struct rpc_xprt *xprt, struct sockaddr *sap);
|
|
void xprt_rdma_free_addresses(struct rpc_xprt *xprt);
|
|
void xprt_rdma_free_addresses(struct rpc_xprt *xprt);
|
|
|
|
+void rpcrdma_connect_worker(struct work_struct *work);
|
|
void xprt_rdma_print_stats(struct rpc_xprt *xprt, struct seq_file *seq);
|
|
void xprt_rdma_print_stats(struct rpc_xprt *xprt, struct seq_file *seq);
|
|
int xprt_rdma_init(void);
|
|
int xprt_rdma_init(void);
|
|
void xprt_rdma_cleanup(void);
|
|
void xprt_rdma_cleanup(void);
|