From: Jack Morgenstein Date: Mon, 20 Mar 2006 10:35:34 +0000 (+0200) Subject: IB/mthca: Check that SRQ WQE size does not exceed device's max value X-Git-Tag: v2.6.17-rc1~730^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ded9ad721d220d47989177076a181ae1f1b93af5;p=pandora-kernel.git IB/mthca: Check that SRQ WQE size does not exceed device's max value Guarantee the calculated work queue entry size does not exceed the max allowable WQE size when creating an SRQ. This is a problem with Arbel in Tavor-compatibility mode because the current WQE size computation method rounds up to next power of 2. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier --- Reading git-diff-tree failed