summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtrdma/xprt_rdma.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2016-09-15 16:56:51 +0200
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2016-09-19 19:08:38 +0200
commit6ea8e71150ecdc235fab31f76ed9953d82313923 (patch)
treea0da854803ebec648f62654c125b45aab88c6001 /net/sunrpc/xprtrdma/xprt_rdma.h
parentxprtrdma: Move send_wr to struct rpcrdma_req (diff)
downloadlinux-6ea8e71150ecdc235fab31f76ed9953d82313923.tar.xz
linux-6ea8e71150ecdc235fab31f76ed9953d82313923.zip
xprtrdma: Move recv_wr to struct rpcrdma_rep
Clean up: The fields in the recv_wr do not vary. There is no need to initialize them before each ib_post_recv(). This removes a large-ish data structure from the stack. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/xprt_rdma.h')
-rw-r--r--net/sunrpc/xprtrdma/xprt_rdma.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/xprtrdma/xprt_rdma.h b/net/sunrpc/xprtrdma/xprt_rdma.h
index 3c5a89a4ff4f..9aabca68c49d 100644
--- a/net/sunrpc/xprtrdma/xprt_rdma.h
+++ b/net/sunrpc/xprtrdma/xprt_rdma.h
@@ -189,6 +189,7 @@ struct rpcrdma_rep {
struct rpcrdma_xprt *rr_rxprt;
struct work_struct rr_work;
struct list_head rr_list;
+ struct ib_recv_wr rr_recv_wr;
struct rpcrdma_regbuf *rr_rdmabuf;
};