summaryrefslogtreecommitdiffstats
path: root/net/rds/stats.c
diff options
context:
space:
mode:
authorAndy Grover <andy.grover@oracle.com>2010-01-12 14:33:38 -0800
committerAndy Grover <andy.grover@oracle.com>2010-09-08 18:11:41 -0700
commit15133f6e67d8d646d0744336b4daa3135452cb0d (patch)
treee5675d5a3ab240edc9a66af6b891dd75fa9eabae /net/rds/stats.c
parenta63273d4992603979ddb181b6a8f07082839b39f (diff)
downloadblackbird-op-linux-15133f6e67d8d646d0744336b4daa3135452cb0d.tar.gz
blackbird-op-linux-15133f6e67d8d646d0744336b4daa3135452cb0d.zip
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.c2
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[] = {
"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,
OpenPOWER on IntegriCloud