]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit16b52f65aeebb3c296f43765476299a7851332fc
tree8959bf6f09e25b3c2d378a6dcb7d2bd7672e4318
parentd4e16911acb52ba47968fa61747baca8a1bd29a5
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