aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/ib.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/rds/ib.h')
-rw-r--r--net/rds/ib.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/rds/ib.h b/net/rds/ib.h
index f17d09567890..b3fdebb57460 100644
--- a/net/rds/ib.h
+++ b/net/rds/ib.h
@@ -75,7 +75,11 @@ struct rds_ib_connect_private {
75 75
76struct rds_ib_send_work { 76struct rds_ib_send_work {
77 void *s_op; 77 void *s_op;
78 struct ib_send_wr s_wr; 78 union {
79 struct ib_send_wr s_wr;
80 struct ib_rdma_wr s_rdma_wr;
81 struct ib_atomic_wr s_atomic_wr;
82 };
79 struct ib_sge s_sge[RDS_IB_MAX_SGE]; 83 struct ib_sge s_sge[RDS_IB_MAX_SGE];
80 unsigned long s_queued; 84 unsigned long s_queued;
81}; 85};