aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/rds.h
diff options
context:
space:
mode:
authorAndy Grover <andy.grover@oracle.com>2010-01-20 00:25:26 -0500
committerAndy Grover <andy.grover@oracle.com>2010-09-08 21:11:55 -0400
commit241eef3e2f51fe4ad50abacd7f79c4e2d468197e (patch)
tree020170cb9c3bea79d767b19cd7362a51b8446667 /net/rds/rds.h
parentd37c9359056f4f07b37e59810f0ece1031e280b2 (diff)
RDS: Implement silent atomics
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Diffstat (limited to 'net/rds/rds.h')
-rw-r--r--net/rds/rds.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/rds/rds.h b/net/rds/rds.h
index 0c610a102c20..bf2349da4db7 100644
--- a/net/rds/rds.h
+++ b/net/rds/rds.h
@@ -341,6 +341,7 @@ struct rds_message {
341 struct rds_mr *m_rdma_mr; 341 struct rds_mr *m_rdma_mr;
342 } rdma; 342 } rdma;
343 struct rm_data_op { 343 struct rm_data_op {
344 unsigned int op_active:1;
344 unsigned int m_nents; 345 unsigned int m_nents;
345 unsigned int m_count; 346 unsigned int m_count;
346 struct scatterlist *m_sg; 347 struct scatterlist *m_sg;
@@ -418,7 +419,7 @@ struct rds_transport {
418 int (*xmit_cong_map)(struct rds_connection *conn, 419 int (*xmit_cong_map)(struct rds_connection *conn,
419 struct rds_cong_map *map, unsigned long offset); 420 struct rds_cong_map *map, unsigned long offset);
420 int (*xmit_rdma)(struct rds_connection *conn, struct rds_rdma_op *op); 421 int (*xmit_rdma)(struct rds_connection *conn, struct rds_rdma_op *op);
421 int (*xmit_atomic)(struct rds_connection *conn, struct rm_atomic_op *op); 422 int (*xmit_atomic)(struct rds_connection *conn, struct rds_message *rm);
422 int (*recv)(struct rds_connection *conn); 423 int (*recv)(struct rds_connection *conn);
423 int (*inc_copy_to_user)(struct rds_incoming *inc, struct iovec *iov, 424 int (*inc_copy_to_user)(struct rds_incoming *inc, struct iovec *iov,
424 size_t size); 425 size_t size);