From: Yevgeny Petrilin Date: Sun, 24 May 2009 03:17:11 +0000 (+0000) Subject: mlx4_en: Fix partial rings feature X-Git-Tag: v2.6.31-rc1~330^2~317 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38aab07c14adbf3c7257793d764a91923341e96a;p=pandora-kernel.git mlx4_en: Fix partial rings feature In case of allocation failure, the actual ring size is rounded down to nearest power of 2. The remaining descriptors are freed. The CQ and SRQ are allocated with the actual size and the mask is updated. Signed-off-by: Yevgeny Petrilin Signed-off-by: David S. Miller --- Reading git-diff-tree failed