Skip to contentSkip to conversation

RDMA/cxgb3: Don't exceed the max HW CQ depth.

PATCH In review Steve Wise 3 participants 5 messages Aug 28, 2010 – Sep 2, 2010 3 messages not in the archive InfiniBand

lore
Share & tools
lore

Steve Wise

author
#0 lore raw

PATCH 1/1 RDMA/cxgb3: Don't exceed the max HW CQ depth.

The max depth supported by T3 is 64K entries.

This bug will cause stalls and possibly crashes in large MPI clusters.

---

 drivers/infiniband/hw/cxgb3/cxio_hal.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/infiniband/hw/cxgb3/cxio_hal.h +1 -1
index 8f0caf7..78fbe9f 100644
@@ -53,7 +53,7 @@
 #define T3_MAX_PBL_SIZE 256
 #define T3_MAX_RQ_SIZE 1024
 #define T3_MAX_QP_DEPTH (T3_MAX_RQ_SIZE-1)
-#define T3_MAX_CQ_DEPTH 262144
+#define T3_MAX_CQ_DEPTH 65536
 #define T3_MAX_NUM_STAG (1<<15)
 #define T3_MAX_MR_SIZE 0x100000000ULL
 #define T3_PAGESIZE_MASK 0xffff000  /* 4KB-128MB */

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#2 lore raw
In reply to a message not in the archive
Quoted 6 lines · Steve Wise

The max depth supported by T3 is 64K entries.

This bug will cause stalls and possibly crashes in large MPI clusters.

---

I would also like to get this into 2.6.35 stable. What's the process for that?

Steve.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
In reply to a message not in the archive
Quoted 11 lines · Steve Wise
Quoted 7 lines · Steve Wise

The max depth supported by T3 is 64K entries.

This bug will cause stalls and possibly crashes in large MPI clusters.

---

I would also like to get this into 2.6.35 stable.  What's the process for that?

The easiest way is to add "CC: <[email protected]>" when submitting a patch. An alternative is after the patch has been accepted in Linus'
tree to submit it to [email protected] with a reference to the commit ID in Linus' tree. More information can be found in Documentation/stable_kernel_rules.txt.

Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#6 lore raw
In reply to a message not in the archive
Quoted 5 lines

The easiest way is to add "CC: <[email protected]>" when submitting a patch. An alternative is after the patch has been accepted in Linus'
tree to submit it to [email protected] with a reference to the commit ID in Linus' tree. More information can be found in Documentation/stable_kernel_rules.txt.

Yep, this is exactly right. In this case I'll add the cc to the commit message so you don't need to do anything more.

- R.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html