[openib-general] [PATCH v5 1/3] ofed_1_2 Changes to kernel_patches/ for Chelsio T3 Support.

Steve Wise swise at opengridcomputing.com
Tue Jan 16 11:51:56 PST 2007


Changes to kernel_patches/ for Chelsio T3 Support.

- qp_num -> qp ptr patch for cxgb3.

Signed-off-by: Steve Wise <swise at opengridcomputing.com>
---

 kernel_patches/fixes/cxgb3_wc_qpn_to_qp.patch |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/kernel_patches/fixes/cxgb3_wc_qpn_to_qp.patch b/kernel_patches/fixes/cxgb3_wc_qpn_to_qp.patch
new file mode 100644
index 0000000..0763f70
--- /dev/null
+++ b/kernel_patches/fixes/cxgb3_wc_qpn_to_qp.patch
@@ -0,0 +1,23 @@
+Update T3 driver: qp_num no longer in ib_wc.
+
+From: Steve Wise <swise at opengridcomputing.com>
+
+Signed-off-by: Steve Wise <swise at opengridcomputing.com>
+---
+
+ drivers/infiniband/hw/cxgb3/iwch_cq.c |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/drivers/infiniband/hw/cxgb3/iwch_cq.c b/drivers/infiniband/hw/cxgb3/iwch_cq.c
+index ff09509..122f7b4 100644
+--- a/drivers/infiniband/hw/cxgb3/iwch_cq.c
++++ b/drivers/infiniband/hw/cxgb3/iwch_cq.c
+@@ -80,7 +80,7 @@ int iwch_poll_cq_one(struct iwch_dev *rh
+ 	ret = 1;
+ 
+ 	wc->wr_id = cookie;
+-	wc->qp_num = qhp->wq.qpid;
++	wc->qp = &qhp->ibqp;
+ 	wc->vendor_err = CQE_STATUS(cqe);
+ 
+ 	PDBG("%s qpid 0x%x type %d opcode %d status 0x%x wrid hi 0x%x "




More information about the general mailing list