xprtrdma: Move recv_wr to struct rpcrdma_rep
authorChuck Lever <chuck.lever@oracle.com>
Thu, 15 Sep 2016 14:56:51 +0000 (10:56 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 19 Sep 2016 17:08:38 +0000 (13:08 -0400)
commit6ea8e71150ecdc235fab31f76ed9953d82313923
treea0da854803ebec648f62654c125b45aab88c6001
parent90aab6029606152d3d7ea91b41064580f77d7d19
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>
net/sunrpc/xprtrdma/verbs.c
net/sunrpc/xprtrdma/xprt_rdma.h