diff options
author | Jack Morgenstein <jackm@mellanox.co.il> | 2005-11-30 18:55:22 +0100 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2005-11-30 18:55:22 +0100 |
commit | a3c8ab4fe8f006d742c24be677518bfa9862e732 (patch) | |
tree | 641f58f25ced1cd0beea34ace95c8aa01aa82825 /ipc/util.c | |
parent | IB/uverbs: track multicast group membership for userspace QPs (diff) | |
download | linux-a3c8ab4fe8f006d742c24be677518bfa9862e732.tar.xz linux-a3c8ab4fe8f006d742c24be677518bfa9862e732.zip |
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 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions