]> git.karo-electronics.de Git - karo-tx-linux.git/commit
RDMA/cxgb3: Don't exceed the max HW CQ depth
authorSteve Wise <swise@opengridcomputing.com>
Sat, 28 Aug 2010 13:35:05 +0000 (13:35 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 20:36:43 +0000 (13:36 -0700)
commitf155ee1b5def75927fd86a839d7ab10b8fa07e79
treec5e1366e5777d060f5a1dfbe481ffd903a19d8e0
parent53d9dee0d76a860134cb8360f296bb01efea2558
RDMA/cxgb3: Don't exceed the max HW CQ depth

commit dc4e96ce2dceb649224ee84f83592aac8c54c9b7 upstream.

The max depth supported by T3 is 64K entries.  This fixes a bug
introduced in commit 9918b28d ("RDMA/cxgb3: Increase the max CQ
depth") that causes stalls and possibly crashes in large MPI clusters.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/infiniband/hw/cxgb3/cxio_hal.h