diff options
author | Andy Grover <andy.grover@oracle.com> | 2010-01-12 17:33:38 -0500 |
---|---|---|
committer | Andy Grover <andy.grover@oracle.com> | 2010-09-08 21:11:41 -0400 |
commit | 15133f6e67d8d646d0744336b4daa3135452cb0d (patch) | |
tree | e5675d5a3ab240edc9a66af6b891dd75fa9eabae /net/rds/stats.c | |
parent | a63273d4992603979ddb181b6a8f07082839b39f (diff) |
RDS: Implement atomic operations
Implement a CMSG-based interface to do FADD and CSWP ops.
Alter send routines to handle atomic ops.
Add atomic counters to stats.
Add xmit_atomic() to struct rds_transport
Inline rds_ib_send_unmap_rdma into unmap_rm
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Diffstat (limited to 'net/rds/stats.c')
-rw-r--r-- | net/rds/stats.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/rds/stats.c b/net/rds/stats.c index 7598eb07cfb1..c66d95d9c262 100644 --- a/net/rds/stats.c +++ b/net/rds/stats.c | |||
@@ -75,6 +75,8 @@ static const char *const rds_stat_names[] = { | |||
75 | "cong_update_received", | 75 | "cong_update_received", |
76 | "cong_send_error", | 76 | "cong_send_error", |
77 | "cong_send_blocked", | 77 | "cong_send_blocked", |
78 | "s_atomic_cswp", | ||
79 | "s_atomic_fadd", | ||
78 | }; | 80 | }; |
79 | 81 | ||
80 | void rds_stats_info_copy(struct rds_info_iterator *iter, | 82 | void rds_stats_info_copy(struct rds_info_iterator *iter, |