]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
RDMA/cxgb3: Fix iwch_create_cq() off-by-one error
authorJon Mason <jon@opengridcomputing.com>
Sun, 9 Mar 2008 20:54:12 +0000 (13:54 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sun, 9 Mar 2008 20:54:12 +0000 (13:54 -0700)
commit4fa45725df0f00c2bf86a0fc2670e88bfe0ceee7
tree37a7cf4f16bcc9ca36ebee018fea015b7110a334
parent1bab74e691d3c7845df2342d202c0f1c2344c834
RDMA/cxgb3: Fix iwch_create_cq() off-by-one error

The cxbg3 driver is unnecessarily decreasing the number of CQ entries by
one when creating a CQ.  This will cause the CQ not to have as many
entries as requested by the user if the user requests a power of 2 size.

Signed-off-by: Jon Mason <jon@opengridcomputing.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb3/iwch_provider.c