diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2017-10-16 21:01:14 +0200 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-11-17 19:47:54 +0100 |
commit | 5381e0ec72eeb9467796ac4181ccb7bbce6d3e81 (patch) | |
tree | 8fb5bcdf34eedadf3f98f7b984b33437f8333619 /net/sunrpc/xprtrdma/xprt_rdma.h | |
parent | xprtrdma: Throw away reply when version is unrecognized (diff) | |
download | linux-5381e0ec72eeb9467796ac4181ccb7bbce6d3e81.tar.xz linux-5381e0ec72eeb9467796ac4181ccb7bbce6d3e81.zip |
xprtrdma: Move decoded header fields into rpcrdma_rep
Clean up: Make it easier to pass the decoded XID, vers, credits, and
proc fields around by moving these variables into struct rpcrdma_rep.
Note: the credits field will be handled in a subsequent patch.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/xprt_rdma.h')
-rw-r--r-- | net/sunrpc/xprtrdma/xprt_rdma.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/sunrpc/xprtrdma/xprt_rdma.h b/net/sunrpc/xprtrdma/xprt_rdma.h index 74e017477e72..858b4c52047d 100644 --- a/net/sunrpc/xprtrdma/xprt_rdma.h +++ b/net/sunrpc/xprtrdma/xprt_rdma.h @@ -218,6 +218,9 @@ enum { struct rpcrdma_rep { struct ib_cqe rr_cqe; + __be32 rr_xid; + __be32 rr_vers; + __be32 rr_proc; int rr_wc_flags; u32 rr_inv_rkey; struct rpcrdma_regbuf *rr_rdmabuf; |