svcrdma: Clean up backchannel send header encoding
authorChuck Lever <chuck.lever@oracle.com>
Tue, 7 Feb 2017 16:58:40 +0000 (11:58 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 8 Feb 2017 19:41:58 +0000 (14:41 -0500)
commitc2ccf64a6c4bf3bcbf4e6e6b94a51500991022a1
tree810d9839608bad02bb37ca7176263885bff0df97
parent647e18e3bd0308b38d5341fc08cd70ed1ce28a71
svcrdma: Clean up backchannel send header encoding

Replace C structure-based XDR decoding with pointer arithmetic.
Pointer arithmetic is considered more portable.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xprtrdma/svc_rdma_backchannel.c