IB: split struct ib_send_wr
[linux-2.6-block.git] / net / rds / ib.h
index aae60fda77f6d26d033a8c8b1fdb808eb6effaa0..301c483851668aaf4cbefc7fbb0fb485cbfc1e9d 100644 (file)
@@ -69,7 +69,11 @@ struct rds_ib_connect_private {
 
 struct rds_ib_send_work {
        void                    *s_op;
-       struct ib_send_wr       s_wr;
+       union {
+               struct ib_send_wr       s_wr;
+               struct ib_rdma_wr       s_rdma_wr;
+               struct ib_atomic_wr     s_atomic_wr;
+       };
        struct ib_sge           s_sge[RDS_IB_MAX_SGE];
        unsigned long           s_queued;
 };