From: Jack Morgenstein Date: Wed, 30 Nov 2005 17:55:22 +0000 (-0800) Subject: IB/mthca: fix QP size limits for mem-free HCAs X-Git-Tag: v2.6.16-rc1~678^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3c8ab4fe8f006d742c24be677518bfa9862e732;p=pandora-kernel.git 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 Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier --- Reading git-diff-tree failed