xprtrdma: Clean up XDR decoding in rpcrdma_update_granted_credits()
authorChuck Lever <chuck.lever@oracle.com>
Thu, 3 Aug 2017 18:30:52 +0000 (14:30 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 8 Aug 2017 14:52:01 +0000 (10:52 -0400)
commitc1bcb68e39e4d58dbb73ac4a390c32b16185a91b
tree3bfe4f909555b2379a50753292a204c5b11677c8
parente2a671904149c1c0aa438e3cbe7d0e8ad2cf8721
xprtrdma: Clean up XDR decoding in rpcrdma_update_granted_credits()

Clean up: Replace C-structure based XDR decoding for consistency
with other areas.

struct rpcrdma_rep is rearranged slightly so that the relevant fields
are in cache when the Receive completion handler is invoked.

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