IB: Return qp pointer as part of ib_wc
[safe/jmp/linux-2.6] / drivers / infiniband / hw / mthca / mthca_cq.c
index 1159c8a..efd79ef 100644 (file)
@@ -534,7 +534,7 @@ static inline int mthca_poll_one(struct mthca_dev *dev,
                }
        }
 
-       entry->qp_num = (*cur_qp)->qpn;
+       entry->qp = &(*cur_qp)->ibqp;
 
        if (is_send) {
                wq = &(*cur_qp)->sq;