Eli Cohen 58d74bb1d9 mlx4_core: Workaround firmware bug in query dev cap
ConnectX firmware is supposed to report the number blue flame
registers per page as log2 of the value.  However, due to a firmware
bug, it reports actual number.  This patch works around this by
checking if the number of registers calculated fits within a page.  If
it does not, we use 8 registers per page.

Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2010-12-01 16:08:47 -08:00
..
2010-08-28 15:37:04 -07:00
2009-05-25 00:35:53 -07:00
2010-08-24 14:57:09 -07:00
2010-06-03 03:18:23 -07:00
2010-10-25 10:20:39 -07:00