RDMA/cxgb4: CQ size must be IQ size - 2
authorSteve Wise <swise@opengridcomputing.com>
Thu, 20 May 2010 21:57:38 +0000 (16:57 -0500)
committerRoland Dreier <rolandd@cisco.com>
Tue, 25 May 2010 04:08:00 +0000 (21:08 -0700)
commit895cf5f3d6cb72825919a39ae48a41476a821e65
tree538a9670e1146474f0e3ceb32c2fec415be05e22
parent1c01c5388306a4c2245b71da0cba22d521e897ae
RDMA/cxgb4: CQ size must be IQ size - 2

We need 1 extra entry for the status page and 1 to always have 1 free
entry to detect when the queue is full.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb4/cq.c