aboutsummaryrefslogtreecommitdiff
path: root/net/rds/rds.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/rds/rds.h')
-rw-r--r--net/rds/rds.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/net/rds/rds.h b/net/rds/rds.h
index 13ed30ac424..46d190d0854 100644
--- a/net/rds/rds.h
+++ b/net/rds/rds.h
@@ -301,7 +301,13 @@ struct rds_message {
*/
spinlock_t m_rs_lock;
struct rds_sock *m_rs;
+
+ /* cookie to send to remote, in rds header */
rds_rdma_cookie_t m_rdma_cookie;
+
+ unsigned int m_used_sgs;
+ unsigned int m_total_sgs;
+
struct {
struct rm_atomic_op {
int op_type;
@@ -343,8 +349,6 @@ struct rds_message {
struct scatterlist *op_sg;
} data;
};
- unsigned int m_used_sgs;
- unsigned int m_total_sgs;
};
/*