Skip to content
Commit 4fa45725 authored by Jon Mason's avatar Jon Mason Committed by Roland Dreier
Browse files

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: default avatarJon Mason <jon@opengridcomputing.com>
Acked-by: default avatarSteve Wise <swise@opengridcomputing.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 1bab74e6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment