From: Jack Morgenstein Date: Mon, 10 Dec 2007 03:25:23 +0000 (+0200) Subject: mlx4_core: Fix max_eqs masking in QUERY_DEV_CAP X-Git-Tag: v2.6.25-rc1~1234^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5920869f1ec263fee4255ec71d333c118406a419;p=pandora-kernel.git mlx4_core: Fix max_eqs masking in QUERY_DEV_CAP log_max_eqs is a 4-bit field, not a 3-bit field in the response to the QUERY_DEV_CAP FW command, so we should mask with 0xf instead of 0x7 when reading it. Found by Yossi Leybovitch of Mellanox. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier --- Reading git-diff-tree failed