RDMA/cxgb4: Limit MAXBURST EQ context field to 256B
authorSteve Wise <swise@opengridcomputing.com>
Fri, 21 Jan 2011 17:00:29 +0000 (17:00 +0000)
committerRoland Dreier <roland@purestorage.com>
Fri, 28 Jan 2011 23:34:24 +0000 (15:34 -0800)
commit6a09a9d6946dd516d243d072bee83fae3c683471
tree776e0b9bf5ed1e5fd541b0661d9bf124298269cf
parenta25cecce88194b2edf38b8c3b1665e9318eb2d22
RDMA/cxgb4: Limit MAXBURST EQ context field to 256B

MAXBURST cannot exceed 256B for on-chip queues.  With a 512B MAXBURST,
we can lock up the chip.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Cc: <stable@kernel.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/qp.c