diff options
author | Jack Morgenstein <jackm@mellanox.co.il> | 2005-11-30 09:55:22 -0800 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2005-11-30 09:55:22 -0800 |
commit | a3c8ab4fe8f006d742c24be677518bfa9862e732 (patch) | |
tree | 641f58f25ced1cd0beea34ace95c8aa01aa82825 /kernel/kfifo.c | |
parent | f4e401562c11c7ca65592ebd749353cf0b19af7b (diff) |
IB/mthca: fix QP size limits for mem-free HCAs
Unlike tavor, the max work queue size is an exact power of 2 for arbel
mode, despite what the documentation (of the QUERY_DEV_LIM firmware
command) says. Without this patch, on Arbel, we can start with a QP
of a valid size and get above the reported limit after rounding to the
next power of two.
Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'kernel/kfifo.c')
0 files changed, 0 insertions, 0 deletions