]> 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)
commit70d9454e28f6e199c3215fa87f71ecc287757e89
tree8959bf6f09e25b3c2d378a6dcb7d2bd7672e4318
parent4b2c606b3cf6f13a5b6c6efb2a96cec90ffe3e6b
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