aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtrdma
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/xprtrdma')
-rw-r--r--net/sunrpc/xprtrdma/rpc_rdma.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sunrpc/xprtrdma/rpc_rdma.c b/net/sunrpc/xprtrdma/rpc_rdma.c
index ee8de7af2a5b..1aa1580cda6d 100644
--- a/net/sunrpc/xprtrdma/rpc_rdma.c
+++ b/net/sunrpc/xprtrdma/rpc_rdma.c
@@ -380,7 +380,7 @@ rpcrdma_marshal_req(struct rpc_rqst *rqst)
380 headerp->rm_xid = rqst->rq_xid; 380 headerp->rm_xid = rqst->rq_xid;
381 headerp->rm_vers = xdr_one; 381 headerp->rm_vers = xdr_one;
382 headerp->rm_credit = htonl(r_xprt->rx_buf.rb_max_requests); 382 headerp->rm_credit = htonl(r_xprt->rx_buf.rb_max_requests);
383 headerp->rm_type = __constant_htonl(RDMA_MSG); 383 headerp->rm_type = htonl(RDMA_MSG);
384 384
385 /* 385 /*
386 * Chunks needed for results? 386 * Chunks needed for results?
@@ -458,11 +458,11 @@ rpcrdma_marshal_req(struct rpc_rqst *rqst)
458 RPCRDMA_INLINE_PAD_VALUE(rqst)); 458 RPCRDMA_INLINE_PAD_VALUE(rqst));
459 459
460 if (padlen) { 460 if (padlen) {
461 headerp->rm_type = __constant_htonl(RDMA_MSGP); 461 headerp->rm_type = htonl(RDMA_MSGP);
462 headerp->rm_body.rm_padded.rm_align = 462 headerp->rm_body.rm_padded.rm_align =
463 htonl(RPCRDMA_INLINE_PAD_VALUE(rqst)); 463 htonl(RPCRDMA_INLINE_PAD_VALUE(rqst));
464 headerp->rm_body.rm_padded.rm_thresh = 464 headerp->rm_body.rm_padded.rm_thresh =
465 __constant_htonl(RPCRDMA_INLINE_PAD_THRESH); 465 htonl(RPCRDMA_INLINE_PAD_THRESH);
466 headerp->rm_body.rm_padded.rm_pempty[0] = xdr_zero; 466 headerp->rm_body.rm_padded.rm_pempty[0] = xdr_zero;
467 headerp->rm_body.rm_padded.rm_pempty[1] = xdr_zero; 467 headerp->rm_body.rm_padded.rm_pempty[1] = xdr_zero;
468 headerp->rm_body.rm_padded.rm_pempty[2] = xdr_zero; 468 headerp->rm_body.rm_padded.rm_pempty[2] = xdr_zero;