xprtrdma: Set up an xdr_stream in rpcrdma_marshal_req()
authorChuck Lever <chuck.lever@oracle.com>
Thu, 10 Aug 2017 16:47:28 +0000 (12:47 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 11 Aug 2017 17:20:08 +0000 (13:20 -0400)
commit7a80f3f0ddf1d7814ac44728f56b6fbba5837703
tree8959bf6f09e25b3c2d378a6dcb7d2bd7672e4318
parentf4a2805e7d14c530237d5c8d51c711157c276188
xprtrdma: Set up an xdr_stream in rpcrdma_marshal_req()

Initialize an xdr_stream at the top of rpcrdma_marshal_req(), and
use it to encode the fixed transport header fields. This xdr_stream
will be used to encode the chunk lists in a subsequent patch.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/rpc_rdma.c
net/sunrpc/xprtrdma/transport.c
net/sunrpc/xprtrdma/xprt_rdma.h