aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/ib_rdma.c
diff options
context:
space:
mode:
authorAndy Grover <andy.grover@oracle.com>2010-01-12 17:33:38 -0500
committerAndy Grover <andy.grover@oracle.com>2010-09-08 21:11:41 -0400
commit15133f6e67d8d646d0744336b4daa3135452cb0d (patch)
treee5675d5a3ab240edc9a66af6b891dd75fa9eabae /net/rds/ib_rdma.c
parenta63273d4992603979ddb181b6a8f07082839b39f (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/ib_rdma.c')
-rw-r--r--net/rds/ib_rdma.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/rds/ib_rdma.c b/net/rds/ib_rdma.c
index 0f3b5a2f3fe0..242231f09464 100644
--- a/net/rds/ib_rdma.c
+++ b/net/rds/ib_rdma.c
@@ -298,7 +298,9 @@ static struct rds_ib_mr *rds_ib_alloc_fmr(struct rds_ib_device *rds_ibdev)
298 ibmr->fmr = ib_alloc_fmr(rds_ibdev->pd, 298 ibmr->fmr = ib_alloc_fmr(rds_ibdev->pd,
299 (IB_ACCESS_LOCAL_WRITE | 299 (IB_ACCESS_LOCAL_WRITE |
300 IB_ACCESS_REMOTE_READ | 300 IB_ACCESS_REMOTE_READ |
301 IB_ACCESS_REMOTE_WRITE), 301 IB_ACCESS_REMOTE_WRITE|
302 IB_ACCESS_REMOTE_ATOMIC),
303
302 &pool->fmr_attr); 304 &pool->fmr_attr);
303 if (IS_ERR(ibmr->fmr)) { 305 if (IS_ERR(ibmr->fmr)) {
304 err = PTR_ERR(ibmr->fmr); 306 err = PTR_ERR(ibmr->fmr);