diff options
author | Andy Grover <andy.grover@oracle.com> | 2010-01-12 22:33:38 (GMT) |
---|---|---|
committer | Andy Grover <andy.grover@oracle.com> | 2010-09-09 01:11:41 (GMT) |
commit | 15133f6e67d8d646d0744336b4daa3135452cb0d (patch) | |
tree | e5675d5a3ab240edc9a66af6b891dd75fa9eabae /net/rds/stats.c | |
parent | a63273d4992603979ddb181b6a8f07082839b39f (diff) | |
download | linux-15133f6e67d8d646d0744336b4daa3135452cb0d.tar.xz |
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 7598eb0..c66d95d 100644 --- a/net/rds/stats.c +++ b/net/rds/stats.c @@ -75,6 +75,8 @@ static const char *const rds_stat_names[] = { "cong_update_received", "cong_send_error", "cong_send_blocked", + "s_atomic_cswp", + "s_atomic_fadd", }; void rds_stats_info_copy(struct rds_info_iterator *iter, |