svcrdma: Keep rpcrdma_msg fields in network byte-order
authorChuck Lever <chuck.lever@oracle.com>
Thu, 4 Jun 2015 15:21:10 +0000 (11:21 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 4 Jun 2015 20:55:59 +0000 (16:55 -0400)
commit30b7e246a6222f1fbad39b1451273375306fe1e2
treef53c5110827f9b16c3e8e0c56eae5f653fc03eaf
parent70747c25a701b563a54c20c4a77efe8292aad151
svcrdma: Keep rpcrdma_msg fields in network byte-order

Fields in struct rpcrdma_msg are __be32. Don't byte-swap these
fields when decoding RPC calls and then swap them back for the
reply. For the most part, they can be left alone.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/svc_rdma.h
net/sunrpc/xprtrdma/svc_rdma_marshal.c
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c
net/sunrpc/xprtrdma/svc_rdma_transport.c