diff options
Diffstat (limited to 'net/sunrpc/xprtrdma/verbs.c')
-rw-r--r-- | net/sunrpc/xprtrdma/verbs.c | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/net/sunrpc/xprtrdma/verbs.c b/net/sunrpc/xprtrdma/verbs.c new file mode 100644 index 000000000000..0baf53381987 --- /dev/null +++ b/net/sunrpc/xprtrdma/verbs.c | |||
@@ -0,0 +1,37 @@ | |||
1 | /* | ||
2 | * Placeholders for subsequent patches | ||
3 | */ | ||
4 | |||
5 | #include "xprt_rdma.h" | ||
6 | |||
7 | int rpcrdma_ia_open(struct rpcrdma_xprt *a, struct sockaddr *b, int c) | ||
8 | { return EINVAL; } | ||
9 | void rpcrdma_ia_close(struct rpcrdma_ia *a) { } | ||
10 | int rpcrdma_ep_create(struct rpcrdma_ep *a, struct rpcrdma_ia *b, | ||
11 | struct rpcrdma_create_data_internal *c) { return EINVAL; } | ||
12 | int rpcrdma_ep_destroy(struct rpcrdma_ep *a, struct rpcrdma_ia *b) | ||
13 | { return EINVAL; } | ||
14 | int rpcrdma_ep_connect(struct rpcrdma_ep *a, struct rpcrdma_ia *b) | ||
15 | { return EINVAL; } | ||
16 | int rpcrdma_ep_disconnect(struct rpcrdma_ep *a, struct rpcrdma_ia *b) | ||
17 | { return EINVAL; } | ||
18 | int rpcrdma_ep_post(struct rpcrdma_ia *a, struct rpcrdma_ep *b, | ||
19 | struct rpcrdma_req *c) { return EINVAL; } | ||
20 | int rpcrdma_ep_post_recv(struct rpcrdma_ia *a, struct rpcrdma_ep *b, | ||
21 | struct rpcrdma_rep *c) { return EINVAL; } | ||
22 | int rpcrdma_buffer_create(struct rpcrdma_buffer *a, struct rpcrdma_ep *b, | ||
23 | struct rpcrdma_ia *c, struct rpcrdma_create_data_internal *d) { return EINVAL; } | ||
24 | void rpcrdma_buffer_destroy(struct rpcrdma_buffer *a) { } | ||
25 | struct rpcrdma_req *rpcrdma_buffer_get(struct rpcrdma_buffer *a) | ||
26 | { return NULL; } | ||
27 | void rpcrdma_buffer_put(struct rpcrdma_req *a) { } | ||
28 | void rpcrdma_recv_buffer_get(struct rpcrdma_req *a) { } | ||
29 | void rpcrdma_recv_buffer_put(struct rpcrdma_rep *a) { } | ||
30 | int rpcrdma_register_internal(struct rpcrdma_ia *a, void *b, int c, | ||
31 | struct ib_mr **d, struct ib_sge *e) { return EINVAL; } | ||
32 | int rpcrdma_deregister_internal(struct rpcrdma_ia *a, struct ib_mr *b, | ||
33 | struct ib_sge *c) { return EINVAL; } | ||
34 | int rpcrdma_register_external(struct rpcrdma_mr_seg *a, int b, int c, | ||
35 | struct rpcrdma_xprt *d) { return EINVAL; } | ||
36 | int rpcrdma_deregister_external(struct rpcrdma_mr_seg *a, | ||
37 | struct rpcrdma_xprt *b, void *c) { return EINVAL; } | ||