From: Jack Morgenstein Date: Fri, 16 Dec 2005 03:59:01 +0000 (-0800) Subject: IB/mthca: Fix corner cases in max_rd_atomic value handling in modify QP X-Git-Tag: v2.6.16-rc1~678^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4342d8a4d95e18b957b898dbf5bfce28fca2780;p=pandora-kernel.git IB/mthca: Fix corner cases in max_rd_atomic value handling in modify QP sae and sre bits should only be set when setting sra_max. Further, in the old code, if the caller specifies max_rd_atomic = 0, the sre and sae bits are still set, with the result that the QP ends up with max_rd_atomic = 1 in effect. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier --- Reading git-diff-tree failed